Skip to content

Commit

Permalink
v121.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kierandrewett authored Dec 26, 2023
2 parents e55b5e8 + c53c869 commit 29768b4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 17 deletions.
3 changes: 2 additions & 1 deletion python/mozboot/mozboot/android-avds/arm.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
"hw.lcd.density": "320",
"disk.dataPartition.size": "4000MB",
"sdcard.size": "600M"
}
},
"emulator_prewarm": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,25 @@ add_task(async function test_ui_schema_valid_v1() {
await checkUISchemaValid(searchConfigSchemaV1, uiSchema);
});

add_task(async function test_search_config_validates_to_schema() {
delete SearchUtils.newSearchConfigEnabled;
SearchUtils.newSearchConfigEnabled = true;

let selector = new SearchEngineSelector(() => {});
let searchConfig = await selector.getEngineConfiguration();

await checkSearchConfigValidates(searchConfigSchema, searchConfig);
});

add_task(async function test_ui_schema_valid() {
let uiSchema = await IOUtils.readJSON(
PathUtils.join(do_get_cwd().path, "search-engine-config-v2-ui-schema.json")
);
if (SearchUtils.newSearchConfigEnabled) {
add_task(async function test_search_config_validates_to_schema() {
delete SearchUtils.newSearchConfigEnabled;
SearchUtils.newSearchConfigEnabled = true;

let selector = new SearchEngineSelector(() => {});
let searchConfig = await selector.getEngineConfiguration();

await checkSearchConfigValidates(searchConfigSchema, searchConfig);
});

add_task(async function test_ui_schema_valid() {
let uiSchema = await IOUtils.readJSON(
PathUtils.join(
do_get_cwd().path,
"search-engine-config-v2-ui-schema.json"
)
);

await checkUISchemaValid(searchConfigSchema, uiSchema);
});
await checkUISchemaValid(searchConfigSchema, uiSchema);
});
}

0 comments on commit 29768b4

Please sign in to comment.