UNPKG

@salesforce/salesforcedx-vscode-test-tools

Version:
26 lines (25 loc) 1.17 kB
/** * Creates an Apex class with the specified name and content * @param name - The name of the Apex class to create * @param classText - The content of the Apex class * @param breakpoint - Optional line number where a breakpoint should be set */ export declare function createApexClass(name: string, folder: string, classText?: string, breakpoint?: number): Promise<void>; /** * Creates an Apex class and its corresponding test class * @param name - The name of the Apex class (test class will be named [name]Test) */ export declare function createApexClassWithTest(name: string, folder: string): Promise<void>; /** * Creates an Account service Apex class with a bug and its corresponding test class * The bug is that the TickerSymbol is set to accountNumber instead of tickerSymbol */ export declare function createApexClassWithBugs(folder: string): Promise<void>; /** * Creates an anonymous Apex file with a simple debug statement */ export declare function createAnonymousApexFile(folder: string): Promise<void>; /** * Creates an Apex controller class for Visualforce pages */ export declare function createApexController(folder: string): Promise<void>;