Home
last modified time | relevance | path

Searched refs:errorBuilder (Results 1 – 13 of 13) sorted by relevance

/cts/hostsidetests/statsd/src/android/cts/statsd/atom/
DBaseTestCase.java151 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
155 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
156 errorBuilder.append(":\n"); in runDeviceTests()
157 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
160 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/classloaders/useslibrary/src/android/classloaders/cts/
DUtils.java95 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
99 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
100 errorBuilder.append(":\n"); in runDeviceTests()
101 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
104 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/net/src/com/android/cts/net/
DHostsideNetworkTestCase.java153 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
157 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
158 errorBuilder.append(":\n"); in runDeviceTests()
159 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
162 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java244 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
248 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
249 errorBuilder.append(":\n"); in runDeviceTests()
250 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
253 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
DUtils.java113 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
117 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
118 errorBuilder.append(":\n"); in runDeviceTests()
119 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
122 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
DKeySetHostTest.java119 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in assertDeviceTestsPass() local
123 errorBuilder.append(resultEntry.getKey().toString()); in assertDeviceTestsPass()
124 errorBuilder.append(":\n"); in assertDeviceTestsPass()
125 errorBuilder.append(resultEntry.getValue().getStackTrace()); in assertDeviceTestsPass()
128 fail(errorBuilder.toString()); in assertDeviceTestsPass()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DBaseDumpsysTest.java190 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
194 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
195 errorBuilder.append(":\n"); in runDeviceTests()
196 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
199 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTestBase.java166 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
171 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
172 errorBuilder.append(":\n"); in runDeviceTests()
173 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
176 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/incident/src/com/android/server/cts/
DProtoDumpTestCase.java157 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
161 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
162 errorBuilder.append(":\n"); in runDeviceTests()
163 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
166 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java283 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTestsAsUser() local
287 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTestsAsUser()
288 errorBuilder.append(":\n"); in runDeviceTestsAsUser()
289 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTestsAsUser()
292 throw new AssertionError(errorBuilder.toString()); in runDeviceTestsAsUser()
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java156 StringBuilder errorBuilder = new StringBuilder("On-device test failed:\n"); in runDeviceCompatTest() local
160 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceCompatTest()
161 errorBuilder.append(":\n"); in runDeviceCompatTest()
162 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceCompatTest()
165 throw new AssertionError(errorBuilder.toString()); in runDeviceCompatTest()
/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java653 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
657 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
658 errorBuilder.append(":\n"); in runDeviceTests()
659 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
662 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java529 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTestsAsUser() local
533 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTestsAsUser()
534 errorBuilder.append(":\n"); in runDeviceTestsAsUser()
535 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTestsAsUser()
538 throw new AssertionError(errorBuilder.toString()); in runDeviceTestsAsUser()