Home
last modified time | relevance | path

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

/external/smali/util/src/test/java/org/jf/util/
DIndentingWriterTest.java43 StringWriter stringWriter = new StringWriter(); in testPrintSignedLongAsDec() local
44 IndentingWriter writer = new IndentingWriter(stringWriter); in testPrintSignedLongAsDec()
49 Assert.assertEquals("4294967295", stringWriter.toString()); in testPrintSignedLongAsDec()
/external/junit/src/junit/framework/
DTestFailure.java46 StringWriter stringWriter= new StringWriter(); in trace() local
47 PrintWriter writer= new PrintWriter(stringWriter); in trace()
49 StringBuffer buffer= stringWriter.getBuffer(); in trace()
DTestSuite.java106 StringWriter stringWriter= new StringWriter();
107 PrintWriter writer= new PrintWriter(stringWriter);
109 return stringWriter.toString();
/external/junit/src/org/junit/runner/notification/
DFailure.java65 StringWriter stringWriter= new StringWriter(); in getTrace() local
66 PrintWriter writer= new PrintWriter(stringWriter); in getTrace()
68 StringBuffer buffer= stringWriter.getBuffer(); in getTrace()
/external/icu/android_icu4j/runner/src/main/java/android/icu/junit/
DIcuFrameworkTest.java74 StringWriter stringWriter = new StringWriter(); in test_for_TestFmwk_Run() local
75 PrintWriter log = new PrintWriter(stringWriter); in test_for_TestFmwk_Run()
105 String information = stringWriter.toString(); in test_for_TestFmwk_Run()
/external/guava/guava/src/com/google/common/base/
DThrowables.java216 StringWriter stringWriter = new StringWriter(); in getStackTraceAsString() local
217 throwable.printStackTrace(new PrintWriter(stringWriter)); in getStackTraceAsString()
218 return stringWriter.toString(); in getStackTraceAsString()
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DAnalysisTest.java98 StringWriter stringWriter = new StringWriter(); in runTest() local
99 IndentingWriter writer = new IndentingWriter(stringWriter); in runTest()
110 TextUtils.normalizeWhitespace((stringWriter.toString()))); in runTest()
DBaksmaliTestUtils.java87 StringWriter stringWriter = new StringWriter(); in getNormalizedSmali() local
88 IndentingWriter writer = new IndentingWriter(stringWriter); in getNormalizedSmali()
92 return normalizeSmali(stringWriter.toString(), stripComments); in getNormalizedSmali()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/bytecode/
DShadowWranglerTest.java138 StringWriter stringWriter = new StringWriter(); in shouldRemoveNoiseFromStackTraces() local
139 e.printStackTrace(new PrintWriter(stringWriter)); in shouldRemoveNoiseFromStackTraces()
140 String stackTrace = stringWriter.getBuffer().toString(); in shouldRemoveNoiseFromStackTraces()
/external/junit/src/junit/runner/
DBaseTestRunner.java272 StringWriter stringWriter= new StringWriter(); in getFilteredTrace() local
273 PrintWriter writer= new PrintWriter(stringWriter); in getFilteredTrace()
275 StringBuffer buffer= stringWriter.getBuffer(); in getFilteredTrace()
/external/boringssl/src/crypto/err/
Derr_data_generate.go134 type stringWriter interface { interface
139 func (st *stringList) WriteTo(out stringWriter, name string) {
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DFlatManifestWriterImpl.java177 StringWriter stringWriter = new StringWriter(); in getManifest() local
178 Result result = new StreamResult(stringWriter); in getManifest()
190 return stringWriter.getBuffer().toString(); in getManifest()
/external/nist-sip/java/gov/nist/javax/sip/stack/
DSIPDialog.java557 StringWriter stringWriter = new StringWriter(); in recordStackTrace() local
558 PrintWriter writer = new PrintWriter(stringWriter); in recordStackTrace()
560 this.stackTrace = stringWriter.getBuffer().toString(); in recordStackTrace()