/platform_testing/libraries/flicker/src/android/tools/flicker/junit/ |
D | AbstractFlickerRunnerDecorator.kt | 30 val errors = mutableListOf<Throwable>() in doValidateConstructor() constant 31 inner?.doValidateConstructor()?.let { errors.addAll(it) } in doValidateConstructor() 32 return errors in doValidateConstructor() 36 val errors = mutableListOf<Throwable>() in doValidateInstanceMethods() constant 37 inner?.doValidateInstanceMethods()?.let { errors.addAll(it) } in doValidateInstanceMethods() 38 return errors in doValidateInstanceMethods()
|
D | LegacyFlickerDecorator.kt | 58 val errors = super.doValidateConstructor().toMutableList() in doValidateConstructor() constant 61 errors.add( in doValidateConstructor() 68 return errors in doValidateConstructor() 72 val errors = super.doValidateInstanceMethods().toMutableList() in doValidateInstanceMethods() constant 78 errors.add( in doValidateInstanceMethods() 87 errors.add(IllegalArgumentException("Method ${method.name}() should not be static")) in doValidateInstanceMethods() 90 errors.add(IllegalArgumentException("Method ${method.name}() should be public")) in doValidateInstanceMethods() 93 errors.add( in doValidateInstanceMethods() 101 errors.add( in doValidateInstanceMethods() 107 return errors in doValidateInstanceMethods()
|
D | LegacyFlickerJUnit4ClassRunner.kt | 128 val errors = mutableListOf<Throwable>() in <lambda>() constant 129 flickerDecorator.doValidateInstanceMethods().let { errors.addAll(it) } in <lambda>() 130 flickerDecorator.doValidateConstructor().let { errors.addAll(it) } in <lambda>() 132 if (errors.isNotEmpty()) { in <lambda>() 133 throw InvalidTestClassError(testClass.javaClass, errors) in <lambda>() 245 val errors = emptyList<Throwable>() in <lambda>() constant 246 super.validateInstanceMethods(errors) in <lambda>() 247 return errors in <lambda>() 253 val errors = emptyList<Throwable>() in <lambda>() constant 254 super.validateInstanceMethods(errors) in <lambda>() [all …]
|
D | FlickerServiceJUnit4ClassRunner.kt | 72 val errors = mutableListOf<Throwable>() in <lambda>() constant 73 flickerDecorator.doValidateInstanceMethods().let { errors.addAll(it) } in <lambda>() 74 flickerDecorator.doValidateConstructor().let { errors.addAll(it) } in <lambda>() 76 if (errors.isNotEmpty()) { in <lambda>() 77 throw InvalidTestClassError(testClass, errors) in <lambda>() 186 val errors = mutableListOf<Throwable>() in <lambda>() constant 187 super.validateInstanceMethods(errors) in <lambda>() 188 return errors in <lambda>()
|
D | FlickerServiceDecorator.kt | 179 val errors = super.doValidateInstanceMethods().toMutableList() in <lambda>() constant 183 errors.add(IllegalArgumentException("Only one @Test annotated method is supported")) in <lambda>() 192 errors.add( in <lambda>() 200 errors.add( in <lambda>() 210 errors.add( in <lambda>() 229 errors.add( in <lambda>() 243 return errors in <lambda>()
|
/platform_testing/libraries/runner/src/main/java/platform/test/runner/parameterized/ |
D | AndroidParameterizedRunner.java | 48 protected void validateConstructor(List<Throwable> errors) { in validateConstructor() argument 49 validateOnlyOneConstructor(errors); in validateConstructor() 51 validateZeroArgConstructor(errors); in validateConstructor() 61 protected void validateFields(List<Throwable> errors) { in validateFields() argument 62 super.validateFields(errors); in validateFields() 63 ParameterizedRunnerDelegate.validateFields(errors, getTestClass()); in validateFields()
|
D | RobolectricParameterizedRunner.java | 57 protected void validateConstructor(List<Throwable> errors) { in validateConstructor() argument 58 validateOnlyOneConstructor(errors); in validateConstructor() 60 validateZeroArgConstructor(errors); in validateConstructor() 70 protected void validateFields(List<Throwable> errors) { in validateFields() argument 71 super.validateFields(errors); in validateFields() 72 ParameterizedRunnerDelegate.validateFields(errors, getTestClass()); in validateFields() 81 protected void validateConstructor(List<Throwable> errors) { in getHelperTestRunner() 82 RobolectricParameterizedRunner.this.validateOnlyOneConstructor(errors); in getHelperTestRunner()
|
D | ParameterizedRunnerDelegate.java | 138 static void validateFields(List<Throwable> errors, TestClass testClass) { in validateFields() argument 147 errors.add( in validateFields() 164 errors.add( in validateFields() 169 errors.add( in validateFields()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | SystemHealthRule.java | 108 StringBuilder errors = new StringBuilder(); 122 if (crash != null) errors.append(crash); 125 return errors.length() != 0 126 ? "Current time: " + new Date(System.currentTimeMillis()) + "\n" + errors
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | LongevityClassRunner.java | 280 List<Throwable> errors = new ArrayList<>(); in evaluate() local 288 errors.add(e); in evaluate() 291 errors.addAll(invokeAndCollectErrors(mAfterClassMethods, mTarget)); in evaluate() 294 MultipleFailureException.assertEmpty(errors); in evaluate() 302 List<Throwable> errors = new ArrayList<>(); in invokeAndCollectErrors() local 307 errors.add(e); in invokeAndCollectErrors() 310 return errors; in invokeAndCollectErrors()
|
/platform_testing/tests/bettertogether/betocq/function_tests/ |
D | nearbyconnections_function_test.py | 19 from mobly.snippet import errors 42 with asserts.assert_raises(errors.ApiError): 44 with asserts.assert_raises(errors.ApiError):
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/ |
D | TraceMonitorRule.kt | 89 val errors = in doStopMonitors() constant 100 errors.firstOrNull { it.isFailure }?.exceptionOrNull()?.let { throw it } in doStopMonitors()
|
/platform_testing/libraries/rdroidtest/ |
D | Android.bp | 49 // Without this flag we get linker errors saying to add it. See
|
/platform_testing/tests/bettertogether/quickstart/performance_test/ |
D | nc_base_test.py | 27 from mobly.controllers.android_device_lib import errors 71 except errors.Error:
|
/platform_testing/libraries/health/runners/longevity/platform/samples/ |
D | Android.bp | 45 "echo \"\x1b[0;31mFailed to parse profile $$file. See above for errors.\x1b[0m\" " +
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceResultsCollector.kt | 368 val errors = mutableListOf<String>() in <lambda>() constant in android.tools.flicker.Companion.AggregatedFlickerResult 378 result.assertionErrors.forEach { errors.add(it.message) } in <lambda>()
|
/platform_testing/libraries/health/runners/longevity/platform/tests/ |
D | Android.bp | 45 "echo \"\x1b[0;31mFailed to parse profile $$file. See above for errors.\x1b[0m\" " +
|
/platform_testing/tests/bettertogether/betocq/ |
D | nc_base_test.py | 30 from mobly.controllers.android_device_lib import errors 82 except errors.Error:
|
/platform_testing/tests/health/scenarios/tests/ |
D | Android.bp | 45 "echo \"\x1b[0;31mFailed to parse profile $$file. See above for errors.\x1b[0m\" " +
|
/platform_testing/libraries/health/runners/longevity/ |
D | README.md | 69 * `quitter <bool>` - quit the suite if any test errors are encountered.
|