Home
last modified time | relevance | path

Searched refs:test1 (Results 1 - 25 of 205) sorted by relevance

123456789

/third_party/popt/tests/
H A Dtestit.sh45 run test1 "test1 - 1" "arg1: 1 arg2: (none)" --arg1
46 run test1 "test1 - 2" "arg1: 0 arg2: foo" --arg2 foo
47 run test1 "test1 - 3" "arg1: 1 arg2: something" --arg1 --arg2 something
48 run test1 "test1 - 4" "arg1: 0 arg2: another" --simple another
49 run test1 "test1
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dustrtest.cpp77 UnicodeString test1("Now is the time for all men to come swiftly to the aid of the party.\n"); in TestBasicManipulation()
81 c=test1.clone(); in TestBasicManipulation()
82 test1.insert(24, "good "); in TestBasicManipulation()
84 if (test1 != expectedValue) in TestBasicManipulation()
85 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
93 test1.remove(41, 8); in TestBasicManipulation()
95 if (test1 != expectedValue) in TestBasicManipulation()
96 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
98 test1.replace(58, 6, "ir country"); in TestBasicManipulation()
100 if (test1 ! in TestBasicManipulation()
[all...]
H A Dcitrtest.cpp201 StringCharacterIterator* test1 = new StringCharacterIterator(testText); in TestConstructionAndEquality() local
209 CharacterIterator* test5 = test1->clone(); in TestConstructionAndEquality()
218 if (*test1 == *test2 || *test1 == *test3 || *test1 == *test4) in TestConstructionAndEquality()
220 if (*test1 != *test5) in TestConstructionAndEquality()
223 if (test1->hashCode() == test2->hashCode() || test1->hashCode() == test3->hashCode() in TestConstructionAndEquality()
224 || test1->hashCode() == test4->hashCode()) in TestConstructionAndEquality()
227 if (test1 in TestConstructionAndEquality()
291 UCharCharacterIterator* test1 = new UCharCharacterIterator(testText, u_strlen(testText)); TestConstructionAndEqualityUChariter() local
[all...]
H A Ditercoll.cpp26 : test1("What subset of all possible test cases?", ""), in CollationIteratorTest()
87 CollationElementIterator *iter = en_us->createCollationElementIterator(test1); in TestPrevious()
175 CollationElementIterator *iter = en_us->createCollationElementIterator(test1); in TestOffset()
183 iter->setOffset(test1.length(), status); in TestOffset()
195 if (offset != test1.length()) in TestOffset()
200 errln(msg1 + offset + msg2 + test1.length()); in TestOffset()
204 CollationElementIterator *pristine = en_us->createCollationElementIterator(test1); in TestOffset()
284 CollationElementIterator *iter1 = en_us->createCollationElementIterator(test1); in TestSetText()
305 iter2->setText(test1, status); in TestSetText()
309 errln("call to iter2->setText(test1) faile in TestSetText()
[all...]
H A Dapicoll.cpp403 UnicodeString test1("abCda"); in TestSafeClone()
432 doAssert(col->greater(test1, test2), "Result should be \"abCda\" >>> \"abcda\" "); in TestSafeClone()
433 doAssert(someCollators[index]->equals(test1, test2), "Result should be \"abcda\" == \"abCda\""); in TestSafeClone()
471 doAssert(col1->hashCode() != col2->hashCode(), "Hash test1 result incorrect" ); in TestHashCode()
479 UnicodeString test1("Abcda"); in TestHashCode()
485 col3->getCollationKey(test1, sortk1, status); in TestHashCode()
489 doAssert(sortk1.hashCode() != sortk2.hashCode(), "Hash test1 result incorrect"); in TestHashCode()
513 UnicodeString test1("Abcda"), test2("abcda"); in TestCollationKey()
555 col->getCollationKey(test1, sortk1, key1Status); in TestCollationKey()
622 doAssert(col->getCollationKey(test1, sortk in TestCollationKey()
1099 UChar test1[6] = {0x41, 0x62, 0x63, 0x64, 0x61, 0}, TestSortKey() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DtsxAttributeResolution3.js5 test1: Attribs1;
16 <test1 {...obj1} />
20 <test1 {...obj2} />
24 <test1 {...obj3} />
28 <test1 {...obj4} x="ok" />
32 <test1 x="ok" {...obj5} />
36 <test1 {...obj6} />
40 <test1 x={32} {...obj7} />
46 <test1 {...obj1}/>;
49 <test1 {
[all...]
H A DtsxAttributeResolution5.js5 test1: Attribs1;
18 return <test1 {...obj} />; // OK
22 return <test1 {...obj} />; // Error (x is number, not string)
26 return <test1 {...obj} />; // Error, missing x
30 <test1 {...{}} />; // Error, missing x
36 return <test1 {...obj}/>; // OK
39 return <test1 {...obj}/>; // Error (x is number, not string)
42 return <test1 {...obj}/>; // Error, missing x
44 <test1 {...{}}/>; // Error, missing x
H A DdeclFileImportModuleWithExportAssignment.js16 test1: m2.connectModule;
25 a.test1(null, null, null);
39 exports.a.test1(null, null, null);
54 test1: m2.connectModule;
63 test1: a1.connectModule;
H A DtsxAttributeResolution8.js5 test1: {x: string};
11 <test1 {...x} />
16 <test1 {...x}/>;
H A DtsxAttributeInvalidNames.js5 test1: { "data-foo"?: string };
11 <test1 32data={32} />;
16 <test1 />;
H A DemitCapturingThisInTupleDestructuring2.js6 test1: any;
9 () => [this.test, this.test1, this.test2] = array1; // even though there is a compiler error, we should still emit lexical capture for "this"
20 (function () { return _this.test = array1[0], _this.test1 = array1[1], _this.test2 = array1[2], array1; }); // even though there is a compiler error, we should still emit lexical capture for "this"
/third_party/python/Lib/unittest/test/testmock/
H A Dtestsealable.py83 m.test1.test2().test3 = 4
86 self.assertEqual(m.test1.test2().test3, 4)
88 m.test1.test2().test4
90 m.test1.test3
95 m.test1.test2["a"].test3 = 4
96 m.test1.test3[2:5].test3 = 4
99 self.assertEqual(m.test1.test2["a"].test3, 4)
100 self.assertEqual(m.test1.test2[2:5].test3, 4)
102 m.test1.test2["a"].test4
104 m.test1
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DEnumClassBitmasksTests.cpp34 Color test1 = Color::R | Color::G; in TEST() local
35 ASSERT_EQ(1u | 2u, static_cast<uint32_t>(test1)); in TEST()
37 Color test2 = test1 ^ (Color::R | Color::A); in TEST()
48 Color test1 = Color::R; in TEST() local
49 test1 |= Color::G; in TEST()
50 ASSERT_EQ(1u | 2u, static_cast<uint32_t>(test1)); in TEST()
52 Color test2 = test1; in TEST()
62 bool test1 = Color::R | Color::G; in TEST() local
63 ASSERT_TRUE(test1); in TEST()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcitertst.c429 UChar test1[50]; in TestPrevious() local
432 u_uastrcpy(test1, "What subset of all possible test cases?"); in TestPrevious()
436 iter=ucol_openElements(coll, test1, u_strlen(test1), &status); in TestPrevious()
570 UChar test1[50]; in TestOffset() local
573 u_uastrcpy(test1, "What subset of all possible test cases?"); in TestOffset()
577 iter = ucol_openElements(en_us, test1, u_strlen(test1), &status); in TestOffset()
591 ucol_setOffset(iter, u_strlen(test1), &status); in TestOffset()
603 if (offset != u_strlen(test1)) in TestOffset()
712 UChar test1[50]; TestSetText() local
[all...]
H A Dcapitst.c569 UChar* test1; in TestCompare() local
579 test1=(UChar*)malloc(sizeof(UChar) * 6); in TestCompare()
581 u_uastrcpy(test1, "Abcda"); in TestCompare()
586 doAssert( (!ucol_equal(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" != \"abcda\" "); in TestCompare()
587 doAssert( (ucol_greater(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" >>> \"abcda\" "); in TestCompare()
588 doAssert( (ucol_greaterOrEqual(col, test1, u_strlen(test1), test2, u_strlen(test2))), "Result should be \"Abcda\" >>> \"abcda\""); in TestCompare()
593 doAssert( (ucol_equal(col, test1, u_strle in TestCompare()
655 UChar test1[6]; TestSafeClone() local
812 UChar test1[6]; TestClone() local
1197 UChar *test1, *test2, *test3; TestSortKey() local
1342 UChar *test1, *test2, *test3; TestHashCode() local
[all...]
/third_party/mesa3d/src/intel/common/tests/
H A Dgenxml_test.c53 struct GFX9_TEST_STRUCT test1 = { in test_struct() local
59 test1.byte[i] = i * 10 + 5; in test_struct()
64 GFX9_TEST_STRUCT_pack(NULL, dw, &test1); in test_struct()
84 assert(number == test1.number1); in test_struct()
87 assert(number == test1.number2); in test_struct()
90 assert(number == test1.byte[idx]); in test_struct()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
H A DUTF16Test.java989 String test1 = "test test ttest tetest testesteststt"; in TestIndexOf()
998 if (UTF16.indexOf(test1, test2) != 0 || in TestIndexOf()
999 UTF16.indexOf(test1, test2, 0) != 0) { in TestIndexOf()
1001 "' at position 0 in text '" + test1 + "'"); in TestIndexOf()
1003 if (UTF16.indexOf(test1, testChar1) != 0 || in TestIndexOf()
1004 UTF16.indexOf(test1, testChar1, 0) != 0) { in TestIndexOf()
1007 " at position 0 in text '" + test1 + "'"); in TestIndexOf()
1022 if (UTF16.lastIndexOf(test1, test2) != 29 || in TestIndexOf()
1023 UTF16.lastIndexOf(test1, test2, test1 in TestIndexOf()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUTF16Test.java995 String test1 = "test test ttest tetest testesteststt"; in TestIndexOf()
1004 if (UTF16.indexOf(test1, test2) != 0 || in TestIndexOf()
1005 UTF16.indexOf(test1, test2, 0) != 0) { in TestIndexOf()
1007 "' at position 0 in text '" + test1 + "'"); in TestIndexOf()
1009 if (UTF16.indexOf(test1, testChar1) != 0 || in TestIndexOf()
1010 UTF16.indexOf(test1, testChar1, 0) != 0) { in TestIndexOf()
1013 " at position 0 in text '" + test1 + "'"); in TestIndexOf()
1028 if (UTF16.lastIndexOf(test1, test2) != 29 || in TestIndexOf()
1029 UTF16.lastIndexOf(test1, test2, test1 in TestIndexOf()
[all...]
/third_party/openssl/test/
H A Dbio_callback_test.c50 char test1[] = "test"; in test_bio_callback_ex() local
51 const size_t test1len = sizeof(test1) - 1; in test_bio_callback_ex()
63 i = BIO_write(bio, test1, test1len); in test_bio_callback_ex()
68 || !TEST_ptr_eq(my_param_argp[0], test1) in test_bio_callback_ex()
74 || !TEST_ptr_eq(my_param_argp[1], test1) in test_bio_callback_ex()
83 if (!TEST_mem_eq(buf, i, test1, test1len) in test_bio_callback_ex()
222 char test1[] = "test"; in test_bio_callback() local
223 const int test1len = sizeof(test1) - 1; in test_bio_callback()
235 i = BIO_write(bio, test1, test1len); in test_bio_callback()
240 || !TEST_ptr_eq(my_param_argp[0], test1) in test_bio_callback()
[all...]
/third_party/node/test/parallel/
H A Dtest-fs-stream-double-close.js29 test1(fs.createReadStream(__filename));
33 test1(fs.createWriteStream(`${tmpdir.path}/dummy1`));
37 function test1(stream) { function
/third_party/alsa-utils/alsaloop/
H A Dtest.sh9 test1() { function
87 test1) shift; ARGS="$@"; test1 ;;
93 *) ARGS="$@"; test1 ;;
/third_party/skia/tools/skottie-wasm-perf/
H A Dparse_perf_csvs.py51 for test1, v1 in d1.items():
52 v2 = d2.get(test1, MISSING_STR)
59 'test_name': test1,
64 test_to_result[test1] = result
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
H A DCollationIteratorTest.java37 String test1 = "What subset of all possible test cases?"; field in CollationIteratorTest
223 CollationElementIterator iter = en_us.getCollationElementIterator(test1); in TestOffset()
230 iter.setOffset(test1.length()); in TestOffset()
242 if (offset != test1.length()) { in TestOffset()
245 errln(msg1 + offset + msg2 + test1.length()); in TestOffset()
249 CollationElementIterator pristine = en_us.getCollationElementIterator(test1); in TestOffset()
331 CollationElementIterator iter = en_us.getCollationElementIterator(test1); in TestPrevious()
409 CollationElementIterator iter1 = en_us.getCollationElementIterator(test1); in TestSetText()
427 iter2.setText(test1); in TestSetText()
429 errln("call to iter2->setText(test1) faile in TestSetText()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/
H A DCollationIteratorTest.java40 String test1 = "What subset of all possible test cases?"; field in CollationIteratorTest
226 CollationElementIterator iter = en_us.getCollationElementIterator(test1); in TestOffset()
233 iter.setOffset(test1.length()); in TestOffset()
245 if (offset != test1.length()) { in TestOffset()
248 errln(msg1 + offset + msg2 + test1.length()); in TestOffset()
252 CollationElementIterator pristine = en_us.getCollationElementIterator(test1); in TestOffset()
334 CollationElementIterator iter = en_us.getCollationElementIterator(test1); in TestPrevious()
412 CollationElementIterator iter1 = en_us.getCollationElementIterator(test1); in TestSetText()
430 iter2.setText(test1); in TestSetText()
432 errln("call to iter2->setText(test1) faile in TestSetText()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/rbbi/
H A DBreakIteratorRegTest.java51 BreakIterator test1 = BreakIterator.getWordInstance(Locale.US); in TestRegUnreg()
57 assertEqual(test1, twbi, "us word == thai word"); in TestRegUnreg()
91 BreakIterator test1 = BreakIterator.getWordInstance(Locale.US); in TestRegUnreg()
97 assertEqual(test1, uwbi, "us sentence-word break"); in TestRegUnreg()
102 CharacterIterator sci = test1.getText(); in TestRegUnreg()

Completed in 19 milliseconds

123456789