Home
last modified time | relevance | path

Searched refs:testObj (Results 1 – 6 of 6) sorted by relevance

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/data/measurement/
DAbstractDbIntegrationTest.java247 JSONObject testObj = testArray.getJSONObject(i); in getTestCasesFrom() local
248 addTestCase(testObj, testCases, prepareAdditionalData); in getTestCasesFrom()
263 JSONObject testObj = new JSONObject(json); in getTestCasesFromMultipleStreams() local
264 addTestCase(testObj, testCases, prepareAdditionalData); in getTestCasesFromMultipleStreams()
269 private static void addTestCase(JSONObject testObj, List<Object[]> testCases, in addTestCase() argument
271 String name = testObj.getString("name"); in addTestCase()
272 JSONObject input = testObj.getJSONObject("input"); in addTestCase()
273 JSONObject output = testObj.getJSONObject("output"); in addTestCase()
276 Map<String, String> flagsMap = getFlagsMap(testObj); in addTestCase()
283 prepareAdditionalData.apply(testObj), in addTestCase()
[all …]
DAppDeletionIntegrationTest.java50 return AbstractDbIntegrationTest.getTestCasesFrom(inputStream, (testObj) -> in data()
51 Uri.parse(testObj.getString("uri"))); in data()
DDeleteApiIntegrationTest.java80 inputStreams, (testObj) -> testObj.getJSONObject("param")); in data()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/reporting/
DEventReportingJobHandlerIntegrationTest.java55 inputStream, (testObj) -> ((JSONObject) testObj).getJSONObject("param")); in data()
DAggregateReportingJobHandlerIntegrationTest.java64 inputStream, (testObj) -> ((JSONObject) testObj).getJSONObject("param")); in data()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/
DE2ETest.java1140 JSONObject testObj = new JSONObject(preprocessor.apply(json)); in getTestCasesFrom() local
1141 JSONObject input = testObj.getJSONObject(TestFormatJsonMapping.TEST_INPUT_KEY); in getTestCasesFrom()
1142 JSONObject output = testObj.getJSONObject(TestFormatJsonMapping.TEST_OUTPUT_KEY); in getTestCasesFrom()
1156 JSONObject apiConfigObj = testObj.isNull(TestFormatJsonMapping.API_CONFIG_KEY) in getTestCasesFrom()
1158 : testObj.getJSONObject(TestFormatJsonMapping.API_CONFIG_KEY); in getTestCasesFrom()
1168 extractPhFlags(testObj, apiConfigObj, apiConfigPhFlags) in getTestCasesFrom()
1175 private static Map<String, String> extractPhFlags(JSONObject testObj, JSONObject apiConfigObj, in extractPhFlags() argument
1197 if (testObj.isNull(TestFormatJsonMapping.PH_FLAGS_OVERRIDE_KEY)) { in extractPhFlags()
1202 testObj.optJSONObject(TestFormatJsonMapping.PH_FLAGS_OVERRIDE_KEY); in extractPhFlags()