HomeSort by relevance Sort by last modified time
    Searched refs:indexOf (Results 1 - 25 of 2985) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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 180 wordIterator.setCharSequence(text, text.indexOf('n'), text.length());
181 final int expectedWindowStart = text.indexOf('n') - 50;
208 assertEquals(BreakIterator.DONE, wordIterator.preceding(text.indexOf('a')));
209 assertEquals(text.indexOf('a'), wordIterator.preceding(text.indexOf('c')));
210 assertEquals(text.indexOf('a'), wordIterator.preceding(text.indexOf('d')));
211 assertEquals(text.indexOf('d'), wordIterator.preceding(text.indexOf('e')));
212 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( "Invalid 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/robolectric-shadows/robolectric/src/test/java/org/robolectric/fakes/
RoboCursorTest.java 85 assertThat(cursor.getType(indexOf(STRING_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_STRING);
86 assertThat(cursor.getType(indexOf(LONG_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_INTEGER);
87 assertThat(cursor.getType(indexOf(INT_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_INTEGER);
88 assertThat(cursor.getType(indexOf(BLOB_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_BLOB);
89 assertThat(cursor.getType(indexOf(SHORT_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_INTEGER);
90 assertThat(cursor.getType(indexOf(FLOAT_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_FLOAT);
91 assertThat(cursor.getType(indexOf(DOUBLE_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_FLOAT);
92 assertThat(cursor.getType(indexOf(NULL_COLUMN))).isEqualTo(Cursor.FIELD_TYPE_NULL);
102 assertThat(cursor.getString(indexOf(STRING_COLUMN))).isEqualTo("aString");
103 assertThat(cursor.getLong(indexOf(LONG_COLUMN))).isEqualTo(1234L)
    [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) {
  /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 91 mouseDragOnText(helloWorld.indexOf("llo"), helloWorld.indexOf("ld!")));
100 onView(withId(R.id.textview)).perform(mouseClickOnTextAtIndex(helloWorld.indexOf("w")));
112 mouseDragOnText( helloWorld.indexOf("ld!"), helloWorld.indexOf("llo")));
126 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY));
139 mouseClickOnTextAtIndex(text.indexOf(".")));
143 mouseClickOnTextAtIndex(text.indexOf("d"), MotionEvent.BUTTON_SECONDARY));
155 mouseDragOnText(text.indexOf("c"), text.indexOf("h")))
    [all...]
  /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);
  /packages/apps/DocumentsUI/src/com/android/documentsui/archives/
ArchiveId.java 29 assert(archiveUri.toString().indexOf(DELIMITER) == -1);
38 final int delimiterPosition = documentId.indexOf(DELIMITER);
41 final int secondDelimiterPosition = documentId.indexOf(DELIMITER, delimiterPosition + 1);

Completed in 401 milliseconds

1 2 3 4 5 6 7 8 91011>>