HomeSort by relevance Sort by last modified time
    Searched full:teststr (Results 1 - 25 of 42) sorted by null

1 2

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_popen2.py 37 teststr = "ab cd\n" variable in class:Popen2Test
41 expected = teststr.strip()
62 def validate_output(self, teststr, expected_out, r, w, e=None):
63 w.write(teststr)
67 (teststr, got))
75 self.validate_output(self.teststr, self.expected, r, w)
80 self.validate_output(self.teststr, self.expected, r, w, e)
83 self.validate_output(self.teststr, self.expected, r, w, e)
89 self.validate_output(self.teststr, self.expected, r, w)
91 w, r = os.popen2(["echo", self.teststr])
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_popen2.py 37 teststr = "ab cd\n" variable in class:Popen2Test
41 expected = teststr.strip()
62 def validate_output(self, teststr, expected_out, r, w, e=None):
63 w.write(teststr)
67 (teststr, got))
75 self.validate_output(self.teststr, self.expected, r, w)
80 self.validate_output(self.teststr, self.expected, r, w, e)
83 self.validate_output(self.teststr, self.expected, r, w, e)
89 self.validate_output(self.teststr, self.expected, r, w)
91 w, r = os.popen2(["echo", self.teststr])
    [all...]
  /art/test/020-string/src/
Main.java 28 String testStr;
31 testStr = baseStr.substring(4, baseStr.length() - 3);
32 System.out.println("testStr is '" + testStr + "'");
35 for (i = 0; i < testStr.length(); i++)
36 System.out.print(testStr.charAt(i));
40 if (testStr.length() != testStr2.length())
43 System.out.println("Compare result is " + testStr.compareTo(testStr2));
51 testStr.charAt(500);
  /dalvik/tests/020-string/src/
Main.java 28 String testStr;
31 testStr = baseStr.substring(4, baseStr.length() - 3);
32 System.out.println("testStr is '" + testStr + "'");
35 for (i = 0; i < testStr.length(); i++)
36 System.out.print(testStr.charAt(i));
40 if (testStr.length() != testStr2.length())
43 System.out.println("Compare result is " + testStr.compareTo(testStr2));
51 testStr.charAt(500);
  /dalvik/tests/082-inline-execute/src/
Main.java 58 String testStr = "Now is the time";
60 int over = testStr.length();
63 int at0 = testStr.charAt(0);
64 int at1 = testStr.charAt(1);
65 int at10 = testStr.charAt(10);
66 int atLast = testStr.charAt(testStr.length()-1);
69 System.out.println(testStr + "[0] = \"" + (char)at0 + "\"");
70 System.out.println(testStr + "[1] = \"" + (char)at1 + "\"");
71 System.out.println(testStr + "[10] = \"" + (char)at10 + "\"")
    [all...]
  /art/test/020-string/
expected.txt 0 testStr is 'This is a very nice string'
  /dalvik/tests/020-string/
expected.txt 0 testStr is 'This is a very nice string'
  /external/chromium_org/v8/test/webkit/
date-constructor.js 76 var testStr = "";
77 var year = { valueOf: function() { testStr += 1; return 2007; } };
78 var month = { valueOf: function() { testStr += 2; return 2; } };
79 var date = { valueOf: function() { testStr += 3; return 4; } };
80 var hours = { valueOf: function() { testStr += 4; return 13; } };
81 var minutes = { valueOf: function() { testStr += 5; return 50; } };
82 var seconds = { valueOf: function() { testStr += 6; return 0; } };
83 var ms = { valueOf: function() { testStr += 7; return 999; } };
85 testStr = "";
87 shouldBe('testStr', '\"1234567\"')
    [all...]
date-constructor-expected.txt 58 PASS testStr is "1234567"
59 PASS testStr is "1234567"
codegen-temporaries.js 951 var testStr = "[";
953 testStr += "(0/0), ";
954 testStr += "].length";
955 shouldBe(testStr, "64");
math.js 77 var testStr = "";
78 var v = { valueOf: function() { testStr += "one"; return 1; } };
79 var w = { valueOf: function() { testStr += "two"; return 2; } };
81 shouldBe('testStr', '\"onetwo\"');
  /cts/tests/tests/widget/src/android/widget/cts/
FilterTest.java 42 final String testStr = "Test";
43 assertEquals(testStr, filter.convertResultToString(testStr));
  /development/samples/ApiDemos/src/com/example/android/apis/app/
SearchQueryResults.java 111 String testStr = appData.getString("demo_key");
112 mAppDataText.setText((testStr == null) ? "<no app data>" : testStr);
  /art/test/082-inline-execute/src/
Main.java 73 String testStr = "Now is the time";
75 Assert.assertEquals('N', testStr.charAt(0));
76 Assert.assertEquals('o', testStr.charAt(1));
77 Assert.assertEquals(' ', testStr.charAt(10));
78 Assert.assertEquals('e', testStr.charAt(testStr.length()-1));
81 testStr.charAt(-1);
86 testStr.charAt(80);
  /external/chromium_org/third_party/icu/source/test/iotest/
strtst.c 249 UChar testStr[256];
254 UFILE *strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), "en_US");
264 u_austrcpy(cBuffer,testStr);
265 if (u_strcmp(testStr, uBuffer) != 0) {
289 u_austrcpy(cBuffer,testStr);
290 if (u_strcmp(testStr, uBuffer) != 0) {
297 strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), NULL)
    [all...]
stream.cpp 71 static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x74\x20\x73\x74\x72\x31\x20\x20\x20\x3C\x3C\x32\x31\x20" UTF8_NEW_LINE "\x20\x55\x54\x46\x2D\x38\x20\xCE\xBC\xF0\x90\x80\x81\xF0\x90\x80\x82";
107 if (strcmp(testStreamBuf, testStr) != 0) {
108 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr);
filetst.c 434 static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don't try to read too much!";
436 int32_t expectedSize = (int32_t)strlen(testStr);
455 u_uastrncpy(buffer, testStr, expectedSize+1);
497 u_uastrncpy(buffer, testStr, expectedSize+1);
539 u_uastrncpy(buffer, testStr, expectedSize+1);
591 static const char testStr[] = "This is a test string that tests u_fgets. It makes sure that we don't try to read too much!";
594 int32_t expectedSize = (int32_t)strlen(testStr);
605 fwrite(testStr, sizeof(testStr[0]), expectedSize, stdFile);
607 fwrite("\n", sizeof(testStr[0]), 1, stdFile)
    [all...]
  /external/icu4c/test/iotest/
strtst.c 249 UChar testStr[256];
254 UFILE *strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), "en_US");
264 u_austrcpy(cBuffer,testStr);
265 if (u_strcmp(testStr, uBuffer) != 0) {
289 u_austrcpy(cBuffer,testStr);
290 if (u_strcmp(testStr, uBuffer) != 0) {
297 strFile = u_fstropen(testStr, sizeof(testStr)/sizeof(testStr[0]), NULL)
    [all...]
stream.cpp 64 static const char testStr[] = "\x42\x65\x67\x69\x6E\x6E\x69\x6E\x67\x20\x6F\x66\x20\x74\x65\x73\x74\x20\x73\x74\x72\x31\x20\x20\x20\x3C\x3C\x32\x31\x20" UTF8_NEW_LINE "\x20\x55\x54\x46\x2D\x38\x20\xCE\xBC\xF0\x90\x80\x81\xF0\x90\x80\x82";
100 if (strcmp(testStreamBuf, testStr) != 0) {
101 log_err("Got: \"%s\", Expected: \"%s\"\n", testStreamBuf, testStr);
  /external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DeflaterInputStreamTest.java 31 String testStr = "Hi,this is a test";
135 is = new ByteArrayInputStream(testStr.getBytes("UTF-8"));
258 is = new ByteArrayInputStream(testStr.getBytes("UTF-8"));
287 is = new ByteArrayInputStream(testStr.getBytes("UTF-8"));
378 is = new ByteArrayInputStream(testStr.getBytes("UTF-8"));
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
SmsMessageBodyTest.java 278 String testStr = sb.toString();
283 callGsmLengthMethods(testStr, false, values);
284 callGsmLengthMethods(testStr, true, values);
285 callCdmaLengthMethods(testStr, false, values);
286 callCdmaLengthMethods(testStr, true, values);
312 String testStr = sb.toString();
319 callGsmLengthMethods(testStr, false, values);
320 callCdmaLengthMethods(testStr, false, values);
321 callGsmLengthMethods(testStr, true, values7bit);
322 callCdmaLengthMethods(testStr, true, values7bit)
    [all...]
  /external/chromium/base/
pickle_unittest.cc 16 const std::string teststr("Hello world"); // note non-aligned string length
34 EXPECT_EQ(teststr, outstr);
70 EXPECT_TRUE(pickle.WriteString(teststr));
  /external/chromium_org/base/
pickle_unittest.cc 16 const std::string teststr("Hello world"); // note non-aligned string length
35 EXPECT_EQ(teststr, outstr);
75 EXPECT_TRUE(pickle.WriteString(teststr));
  /external/chromium_org/third_party/icu/source/test/intltest/
canittst.cpp 153 UnicodeString testStr = CharsToUnicodeString(testArray[i][0]);
154 it.setSource(testStr, status);
166 expectEqual(i + ": ", testStr, collectionToString(set), CharsToUnicodeString(testArray[i][1]));
  /external/icu4c/test/intltest/
canittst.cpp 153 UnicodeString testStr = CharsToUnicodeString(testArray[i][0]);
154 it.setSource(testStr, status);
166 expectEqual(i + UnicodeString(": "), testStr, collectionToString(set), CharsToUnicodeString(testArray[i][1]));

Completed in 1411 milliseconds

1 2