/external/jacoco/jacoco-maven-plugin.test/it/it-report-nomatch/ |
verify.bsh | 16 if ( buildLog.indexOf( "Classes in bundle " ) < 0 || buildLog.indexOf(" do no match with execution data." ) < 0 ) { 19 if ( buildLog.indexOf( "For report generation the same class files must be used as at runtime." ) < 0 ) { 22 if ( buildLog.indexOf( "Execution data for class Example does not match." ) < 0 ) {
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
WordIteratorTest.java | 66 wordIterator.setCharSequence(text, text.indexOf('n'), text.length()); 67 final int expectedWindowStart = text.indexOf('n') - 50; 94 assertEquals(BreakIterator.DONE, wordIterator.preceding(text.indexOf('a'))); 95 assertEquals(text.indexOf('a'), wordIterator.preceding(text.indexOf('c'))); 96 assertEquals(text.indexOf('a'), wordIterator.preceding(text.indexOf('d'))); 97 assertEquals(text.indexOf('d'), wordIterator.preceding(text.indexOf('e'))); 98 assertEquals(text.indexOf('d'), wordIterator.preceding(text.indexOf('g'))) [all...] |
/external/jacoco/jacoco-maven-plugin.test/it/it-check-fails-halt/ |
verify.bsh | 17 if ( buildLog.indexOf( "Coverage checks have not been met." ) < 0 ) { 21 if ( buildLog.indexOf( "methods missed count is 1, but expected maximum is 0" ) < 0 ) {
|
/external/jacoco/jacoco-maven-plugin.test/it/it-check-fails-no-halt/ |
verify.bsh | 17 if ( buildLog.indexOf( "Coverage checks have not been met." ) < 0 ) { 21 if ( buildLog.indexOf( "methods missed count is 1, but expected maximum is 0" ) < 0 ) {
|
/external/jacoco/jacoco-maven-plugin.test/it/it-merge-passes/ |
verify.bsh | 16 if ( buildLog.indexOf( "Loading execution data file" ) < 0 ) { 19 if ( buildLog.indexOf( "Writing merged execution data to" ) < 0 ) {
|
/external/apache-harmony/logging/src/test/java/org/apache/harmony/logging/tests/java/util/logging/ |
XMLFormatterTest.java | 60 assertTrue(result.indexOf("<message>" + rb.getString("pattern") 62 assertTrue(result.indexOf("<key>pattern</key>") > 0); 66 assertTrue(result.indexOf("<message>" + rb.getString("msg") 68 assertTrue(result.indexOf("<key>msg</key>") > 0); 72 assertTrue(result.indexOf("<message>pattern {0, number}</message>") > 0); 73 assertTrue(result.indexOf("<key>") < 0); 78 assertTrue(result.indexOf("<message>bad key</message>") > 0); 79 assertTrue(result.indexOf("<key>") < 0); 96 assertTrue(output.indexOf("<record>") >= 0); 97 assertTrue(output.indexOf("<date>") >= 0) [all...] |
/external/jacoco/jacoco-maven-plugin.test/it/it-check-passes/ |
verify.bsh | 17 if ( buildLog.indexOf( "All coverage checks have been met." ) < 0 ) {
|
/external/jacoco/jacoco-maven-plugin.test/it/it-dump/ |
verify.bsh | 17 if ( buildLog.indexOf( "All coverage checks have been met." ) < 0 ) {
|
/external/jacoco/jacoco-maven-plugin.test/it/it-report-unreadable-dump/ |
verify.bsh | 16 if ( buildLog.indexOf( "Unable to read execution data file" ) < 0 ) {
|
/external/jacoco/jacoco-maven-plugin.test/it/it-report-without-debug/ |
verify.bsh | 16 if ( buildLog.indexOf( "with debug information" ) < 0 ) {
|
/external/jacoco/jacoco-maven-plugin.test/it/it-report-without-dump/ |
verify.bsh | 16 if ( buildLog.indexOf( "Skipping JaCoCo execution due to missing execution data file" ) < 0 ) {
|
/art/benchmark/string-indexof/src/ |
StringIndexOfBenchmark.java | 24 $noinline$indexOf(s, c); 32 $noinline$indexOf(s, c); 40 $noinline$indexOf(s, c); 48 $noinline$indexOf(s, c); 56 $noinline$indexOf(s, c); 64 $noinline$indexOf(s, c); 72 $noinline$indexOf(s, c); 80 $noinline$indexOf(s, c); 88 $noinline$indexOf(s, c); 96 $noinline$indexOf(s, c) [all...] |
/external/doclava/src/com/google/doclava/ |
DocFile.java | 62 int langStart = filename.indexOf("/" + t + "/"); 64 int langEnd = filename.indexOf("/", langStart + 1); 194 if (filename.indexOf("design") == 0) { 198 } else if (filename.indexOf("develop") == 0) { 202 } else if (filename.indexOf("guide") == 0) { 205 if (filename.indexOf("guide/topics/manif") == 0) { 210 } else if (filename.indexOf("training") == 0) { 214 } else if (filename.indexOf("more") == 0) { 216 } else if (filename.indexOf("google") == 0) { 220 } else if (filename.indexOf("samples") == 0) [all...] |
/art/test/020-string/src/ |
Main.java | 78 baseStr.indexOf('T') + ":" + 79 subStr.indexOf('T') + ":" + 80 subStr.indexOf('u') + ":" + 81 baseStr.indexOf('!') + ":" + 82 subStr.indexOf('y') + ":" + 83 subStr.indexOf('d') + ":" + 84 baseStr.indexOf('x') + ":" + 85 subStr.indexOf('x', 0) + ":" + 86 subStr.indexOf('x', -1) + ":" + 87 subStr.indexOf('x', 200) + ":" [all...] |
/external/proguard/src/proguard/classfile/util/ |
ExternalTypeEnumeration.java | 64 index = descriptor.indexOf(JavaConstants.METHOD_ARGUMENTS_OPEN) + 1; 84 index = descriptor.indexOf(JavaConstants.METHOD_ARGUMENTS_SEPARATOR, 90 index = descriptor.indexOf(JavaConstants.METHOD_ARGUMENTS_CLOSE, 104 return descriptor.substring(0, descriptor.indexOf(JavaConstants.METHOD_ARGUMENTS_OPEN)).trim();
|
/libcore/ojluni/src/main/java/java/util/logging/ |
Formatter.java | 136 if (format.indexOf("{0") >= 0 || format.indexOf("{1") >=0 || 137 format.indexOf("{2") >=0|| format.indexOf("{3") >=0) {
|
/art/test/624-checker-stringops/src/ |
Main.java | 42 k += ABC.indexOf(c); 45 k += ABC.indexOf(c, 4); 48 k += ABC.indexOf(XYZ); 51 k += ABC.indexOf(XYZ, 2); 73 int d = ABC.indexOf(c); 76 int d = ABC.indexOf(c, 4); 79 int d = ABC.indexOf(XYZ); 82 int d = ABC.indexOf(XYZ, 2); 96 k += s.indexOf(t); 237 int d = b.toString().indexOf(x, 1) [all...] |
/external/ant-glob/src/org/apache/tools/ant/taskdefs/condition/ |
Os.java | 261 boolean isWindows = OS_NAME.indexOf(FAMILY_WINDOWS) > -1; 266 is9x = (OS_NAME.indexOf("95") >= 0 267 || OS_NAME.indexOf("98") >= 0 268 || OS_NAME.indexOf("me") >= 0 271 || OS_NAME.indexOf("ce") >= 0); 281 isFamily = OS_NAME.indexOf(FAMILY_OS2) > -1; 283 isFamily = OS_NAME.indexOf(FAMILY_NETWARE) > -1; 287 isFamily = OS_NAME.indexOf(FAMILY_MAC) > -1 288 || OS_NAME.indexOf(DARWIN) > -1; 290 isFamily = OS_NAME.indexOf("nonstop_kernel") > -1 [all...] |
/external/proguard/src/proguard/util/ |
ListUtil.java | 87 nextIndex = string.indexOf('\'', index + 1); 98 nextIndex = string.indexOf(',', index); 138 string.indexOf(' ') >= 0 || 139 string.indexOf('@') >= 0 || 140 string.indexOf('{') >= 0 || 141 string.indexOf('}') >= 0 || 142 string.indexOf('(') >= 0 || 143 string.indexOf(')') >= 0 || 144 string.indexOf(':') >= 0 || 145 string.indexOf(';') >= 0 | [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
TextViewActivityMouseTest.java | 76 mouseDragOnText(helloWorld.indexOf("llo"), helloWorld.indexOf("ld!"))); 85 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w"))); 97 mouseDragOnText( helloWorld.indexOf("ld!"), helloWorld.indexOf("llo"))); 111 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); 123 mouseDragOnText(text.indexOf("c"), text.indexOf("h"))); 125 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY)); 138 mouseClickOnTextAtIndex(text.indexOf("i"), MotionEvent.BUTTON_SECONDARY)) [all...] |
/packages/services/NetworkRecommendation/src/com/android/networkrecommendation/config/ |
Csv.java | 53 value.indexOf('"') < 0 && value.indexOf(',') < 0 && 54 value.indexOf('\r') < 0 && value.indexOf('\n') < 0) { 81 comma = text.indexOf(',', pos); 82 int quote = text.indexOf('"', pos); 87 while ((quote = text.indexOf('"', (pos = quote + 1))) == -1) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/prefs/ |
InvalidPreferencesFormatExceptionTest.java | 47 assertTrue(e.getMessage().indexOf("root") < 0); 48 assertTrue(e.getMessage().indexOf(t.getClass().getName()) < 0); 49 assertTrue(e.getMessage().indexOf("msg") >= 0); 60 assertTrue(e.getMessage().indexOf("root") >= 0); 61 assertTrue(e.getMessage().indexOf(t.getClass().getName()) >= 0);
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
TextUtilitiesTests.java | 147 int knownEnd = text.indexOf('@') + 2; 149 // indexOf will return -1, so we'll get 1 as knownEnd 208 assertEquals(text.indexOf("visi"), ssb.getSpanStart(span)); 209 assertEquals(text.indexOf("bl>e"), ssb.getSpanEnd(span)); 219 assertEquals(text.indexOf("search word"), ssb.getSpanStart(span)); 220 assertEquals(text.indexOf(" word"), ssb.getSpanEnd(span)); 222 assertEquals(text.indexOf("search result"), ssb.getSpanStart(span)); 223 assertEquals(text.indexOf(" result"), ssb.getSpanEnd(span)); 235 assertEquals(text.indexOf("should"), ssb.getSpanStart(span)); 236 assertEquals(text.indexOf(" be"), ssb.getSpanEnd(span)) [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
AlphabetIndexerTest.java | 68 int index = ALPHABET.indexOf('A'); 72 index = ALPHABET.indexOf('C'); 76 index = ALPHABET.indexOf('T'); 80 index = ALPHABET.indexOf('X'); 84 assertEquals(ALPHABET.indexOf('A'), indexer.getSectionForPosition(0)); 85 assertEquals(ALPHABET.indexOf('C'), indexer.getSectionForPosition(2)); 86 assertEquals(ALPHABET.indexOf('G'), indexer.getSectionForPosition(4)); 87 assertEquals(ALPHABET.indexOf('J'), indexer.getSectionForPosition(6)); 96 index = ALPHABET.indexOf('B'); 100 index = ALPHABET.indexOf('M') [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
CodingErrorActionTest.java | 58 assertTrue(CodingErrorAction.IGNORE.toString().indexOf("IGNORE") != -1); 59 assertTrue(CodingErrorAction.REPLACE.toString().indexOf("REPLACE") != -1); 60 assertTrue(CodingErrorAction.REPORT.toString().indexOf("REPORT") != -1);
|