Home
last modified time | relevance | path

Searched refs:errorBuilder (Results 1 – 12 of 12) 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.java152 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
156 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
157 errorBuilder.append(":\n"); in runDeviceTests()
158 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
161 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/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/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/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.java282 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTestsAsUser() local
286 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTestsAsUser()
287 errorBuilder.append(":\n"); in runDeviceTestsAsUser()
288 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTestsAsUser()
291 throw new AssertionError(errorBuilder.toString()); in runDeviceTestsAsUser()
/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.java462 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTestsAsUser() local
466 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTestsAsUser()
467 errorBuilder.append(":\n"); in runDeviceTestsAsUser()
468 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTestsAsUser()
471 throw new AssertionError(errorBuilder.toString()); in runDeviceTestsAsUser()