Searched refs:streamContains (Results 1 – 2 of 2) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/ |
D | AdtPluginTest.java | 26 assertFalse(AdtPlugin.streamContains(new StringReader(input), "hello")); in testReaderContains() 27 assertTrue(AdtPlugin.streamContains(new StringReader(input), "this")); in testReaderContains() 28 assertFalse(AdtPlugin.streamContains(new StringReader(input), "thiss")); in testReaderContains() 29 assertTrue(AdtPlugin.streamContains(new StringReader(input), "is a")); in testReaderContains() 30 assertTrue(AdtPlugin.streamContains(new StringReader("ABC ABCDAB ABCDABCDABDE"), in testReaderContains() 32 assertFalse(AdtPlugin.streamContains(new StringReader("ABC ABCDAB ABCDABCDABDE"), in testReaderContains()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
D | AdtPlugin.java | 544 return streamContains(new InputStreamReader(contents, charset), string); in fileContains() 561 return streamContains(new FileReader(file), string); in fileContains() 576 public static boolean streamContains(Reader r, String string) { in streamContains() method in AdtPlugin
|