Dacpac extensions tests - for investigation (#11192)

* Adding some tests for dacpac extension to understand how coverage gets affected

* Added config page tests

* Fixing PR issues
This commit is contained in:
Udeesha Gautam
2020-07-11 13:45:50 -07:00
committed by GitHub
parent d2bdd2bace
commit ab9fceec70
6 changed files with 431 additions and 6 deletions

View File

@@ -306,7 +306,7 @@ export class DataTierApplicationWizard {
await service.generateDeployScript(this.model.filePath, this.model.database, ownerUri, azdata.TaskExecutionMode.script);
}
private getPage(idx: number): Page {
public getPage(idx: number): Page {
let page: Page;
if (idx === 1) {

View File

@@ -104,13 +104,13 @@ export class DeployConfigPage extends DacFxConfigPage {
private async createRadiobuttons(): Promise<azdata.FormComponent> {
let upgradeRadioButton = this.view.modelBuilder.radioButton()
.withProperties({
name: 'updateExisting',
name: 'updateExistingOrCreateNew',
label: loc.upgradeExistingDatabase,
}).component();
let newRadioButton = this.view.modelBuilder.radioButton()
.withProperties({
name: 'updateExisting',
name: 'updateExistingOrCreateNew',
label: loc.newDatabase,
}).component();