Home
last modified time | relevance | path

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

/cts/hostsidetests/media/src/android/media/cts/
DBaseMediaHostSideTest.java150 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in assertTestsPassed() local
157 errorBuilder.append(resultEntry.getKey().toString()); in assertTestsPassed()
158 errorBuilder.append(":\n"); in assertTestsPassed()
159 errorBuilder.append(resultEntry.getValue().getStackTrace()); in assertTestsPassed()
162 throw new AssertionError(errorBuilder.toString()); in assertTestsPassed()
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DBaseTestCase.java158 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
162 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
163 errorBuilder.append(":\n"); in runDeviceTests()
164 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
167 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/content/src/android/content/cts/
DBaseContextCrossProfileTest.java177 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
182 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
183 errorBuilder.append(":\n"); in runDeviceTests()
184 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
187 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DUtils.java89 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
94 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
95 errorBuilder.append(":\n"); in runDeviceTests()
96 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
99 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/accounts/src/android/host/accounts/
DAccountManagerXUserTest.java242 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
246 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
247 errorBuilder.append(":\n"); in runDeviceTests()
248 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
251 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/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/appsecurity/src/android/appsecurity/cts/
DStorageHostTest.java249 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
253 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
254 errorBuilder.append(":\n"); in runDeviceTests()
255 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
258 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.java121 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in assertDeviceTestsPass() local
125 errorBuilder.append(resultEntry.getKey().toString()); in assertDeviceTestsPass()
126 errorBuilder.append(":\n"); in assertDeviceTestsPass()
127 errorBuilder.append(resultEntry.getValue().getStackTrace()); in assertDeviceTestsPass()
130 fail(errorBuilder.toString()); in assertDeviceTestsPass()
/cts/hostsidetests/settings/src/com/google/android/cts/settings/
DPrivacyDeviceOwnerTest.java213 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
217 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
218 errorBuilder.append(":\n"); in runDeviceTests()
219 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
222 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/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java104 StringBuilder errorBuilder = new StringBuilder("On-device tests failed:\n"); in runDeviceTests() local
108 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
109 errorBuilder.append(":\n"); in runDeviceTests()
110 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
113 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java173 StringBuilder errorBuilder = new StringBuilder("On-device test failed:\n"); in runDeviceCompatTestReported() local
177 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceCompatTestReported()
178 errorBuilder.append(":\n"); in runDeviceCompatTestReported()
179 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceCompatTestReported()
182 throw new AssertionError(errorBuilder.toString()); in runDeviceCompatTestReported()
/cts/hostsidetests/os/src/android/os/cts/
DStaticSharedLibsHostTests.java710 StringBuilder errorBuilder = new StringBuilder("on-device tests failed:\n"); in runDeviceTests() local
714 errorBuilder.append(resultEntry.getKey().toString()); in runDeviceTests()
715 errorBuilder.append(":\n"); in runDeviceTests()
716 errorBuilder.append(resultEntry.getValue().getStackTrace()); in runDeviceTests()
719 throw new AssertionError(errorBuilder.toString()); in runDeviceTests()