Home
last modified time | relevance | path

Searched refs:test2 (Results 1 - 25 of 217) sorted by relevance

123456789

/third_party/python/Lib/unittest/test/testmock/
H A Dtestsealable.py19 self.assertIsInstance(m.test().test2(), mock.Mock)
39 m.test.test2 = 1
42 m.test.test2 = 2
43 self.assertEqual(m.test.test2, 2)
47 m.test.test2 = 1
83 m.test1.test2().test3 = 4
86 self.assertEqual(m.test1.test2().test3, 4)
88 m.test1.test2().test4
95 m.test1.test2["a"].test3 = 4
99 self.assertEqual(m.test1.test2["
[all...]
/third_party/typescript/tests/baselines/reference/
H A DunusedImports3.js12 export function test2() {
17 import {Calculator, test, test2} from "./file1"
20 test2();
25 exports.test2 = exports.test = exports.Calculator = void 0;
36 function test2() { function
38 exports.test2 = test2;
44 (0, file1_1.test2)();
H A DunusedImports4.js12 export function test2() {
17 import {Calculator, test, test2} from "./file1"
21 test2();
26 exports.test2 = exports.test = exports.Calculator = void 0;
37 function test2() { function
39 exports.test2 = test2;
46 (0, file1_1.test2)();
H A DunusedImports5.js12 export function test2() {
17 import {Calculator, test, test2} from "./file1"
26 exports.test2 = exports.test = exports.Calculator = void 0;
37 function test2() { function
39 exports.test2 = test2;
H A DunusedImports8.js12 export function test2() {
17 import {Calculator as calc, test as t1, test2 as t2} from "./file1"
26 exports.test2 = exports.test = exports.Calculator = void 0;
37 function test2() { function
39 exports.test2 = test2;
H A DunusedImports9.js12 export function test2() {
22 exports.test2 = exports.test = exports.Calculator = void 0;
33 function test2() { function
35 exports.test2 = test2;
H A DtsxAttributeInvalidNames.js6 test2: { "data-foo"?: string };
12 <test2 -data={32} />;
19 <test2 /> - data;
H A DemitCapturingThisInTupleDestructuring2.js7 test2: 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"
H A DunusedImports6.js12 export default function test2() {
37 function test2() { function
39 exports["default"] = test2;
H A DunusedImports7.js12 export default function test2() {
35 function test2() { function
37 exports["default"] = test2;
H A DtsxAttributeResolution5.js6 test2: Attribs2;
31 <test2 {...{}} />; // Error, missing toString
45 <test2 {...{}}/>; // Error, missing toString
H A DspreadExpressionContextualType.js16 function test2<T extends Apple | Orange>(item: T): T {
39 function test2(item) {
53 declare function test2<T extends Apple | Orange>(item: T): T;
H A DdeclFileImportModuleWithExportAssignment.js17 test2(): m2.connectModule;
55 test2(): m2.connectModule;
64 test2(): a1.connectModule;
/third_party/icu/icu4c/source/test/intltest/
H A Dustrtest.cpp106 UnicodeString test2(temp, 15); in TestBasicManipulation()
109 if (test2 != expectedValue) in TestBasicManipulation()
110 errln("extract() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
112 test2 += " for me to go!\n"; in TestBasicManipulation()
114 if (test2 != expectedValue) in TestBasicManipulation()
115 errln("operator+=() failed: expected \"" + expectedValue + "\"\n,got \"" + test2 + "\""); in TestBasicManipulation()
119 if (test2.length() != 30) in TestBasicManipulation()
120 errln(UnicodeString("length() failed: expected 30, got ") + test2.length()); in TestBasicManipulation()
269 UnicodeString test2("this is a test"); in TestCompare()
281 if (test1 != test2 || test in TestCompare()
469 UnicodeString test2; TestExtract() local
1493 test3.findAndReplace(UnicodeString((UChar)0x61), test2); TestBogus() local
[all...]
H A Dapicoll.cpp404 UnicodeString test2("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()
472 doAssert(!(col1->hashCode() == col2->hashCode()), "Hash test2 result incorrect" ); in TestHashCode()
480 UnicodeString test2("abcda"); in TestHashCode()
486 col3->getCollationKey(test2, sortk2, status); in TestHashCode()
487 col3->getCollationKey(test2, sortk3, status); in TestHashCode()
513 UnicodeString test1("Abcda"), test2("abcda"); in TestCollationKey()
560 doAssert((sortk1.compareTo(col->getCollationKey(test2, sortk2, key2Status))) in TestCollationKey()
623 col->getCollationKey(test2, sortk in TestCollationKey()
1100 test2[6] = {0x61, 0x62, 0x63, 0x64, 0x61, 0}, TestSortKey() local
[all...]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
H A DEnumClassBitmasksTests.cpp37 Color test2 = test1 ^ (Color::R | Color::A); in TEST() local
38 ASSERT_EQ(2u | 8u, static_cast<uint32_t>(test2)); in TEST()
40 Color test3 = test2 & Color::A; in TEST()
52 Color test2 = test1; in TEST() local
53 test2 ^= (Color::R | Color::A); in TEST()
54 ASSERT_EQ(2u | 8u, static_cast<uint32_t>(test2)); in TEST()
56 Color test3 = test2; in TEST()
65 bool test2 = Color::R & Color::G; in TEST() local
66 ASSERT_FALSE(test2); in TEST()
/third_party/ffmpeg/libavformat/tests/
H A Durl.c83 static void test2(const char *url) in test2() function
196 test2("/foo/bar"); in main()
197 test2("http://server/foo/"); in main()
198 test2("http://example.com/foo/bar"); in main()
199 test2("http://user:pass@localhost:8080/foo/bar/123"); in main()
200 test2("http://server/foo/bar?param=value/with/slashes"); in main()
201 test2("https://1l-lh.a.net/i/1LIVE_HDS@179577/master.m3u8"); in main()
202 test2("ftp://u:p%2B%2F2@ftp.pbt.com/ExportHD.mpg"); in main()
203 test2("https://key.dns.com?key_id=2&model_id=12345&&access_key="); in main()
204 test2("htt in main()
[all...]
/third_party/skia/third_party/externals/angle2/src/common/serializer/
H A DJsonSerializer_unittest.cpp73 js.addScalar("test2", 2); in TEST_F()
78 "test2": 2 in TEST_F()
88 js.addCString("test2", "value"); in TEST_F()
93 "test2": "value" in TEST_F()
106 js.addBlob("test2", value, 5); in TEST_F()
111 "test2-hash": "SHA1:4315724B1AB1EB2C0128E8E9DAD6D76254BA711D", in TEST_F()
112 "test2-raw[0-4]": [ in TEST_F()
130 js.addVector("test2", v); in TEST_F()
135 "test2": [ in TEST_F()
151 js.addVectorAsHash("test2", in TEST_F()
[all...]
/third_party/icu/icu4c/source/samples/citer/
H A Dciter.cpp62 UCharCharacterIterator* test2 = iter.clone(); in TestUChariter() local
66 if (iter != *test2 ) { in TestUChariter()
73 test2->getText(result2); in TestUChariter()
116 delete test2; in TestUChariter()
129 StringCharacterIterator* test2 = iter.clone(); in TestStringiter() local
131 if (iter != *test2 ) { in TestStringiter()
138 test2->getText(result2); in TestStringiter()
179 delete test2; in TestStringiter()
/third_party/lame/misc/
H A Dscalartest.c93 void test2 ( const char* name, ddf f ) in test2() function
114 test2 ( "Hann", hanning ); in main()
115 test2 ( "Hamm", hamming ); in main()
116 test2 ( "BM", blackman ); in main()
117 test2 ( "BM1",blackman1 ); in main()
118 test2 ( "BM2",blackman2 ); in main()
119 test2 ( "BMH N",blackmanharris_nuttall ); in main()
120 test2 ( "MNH Min",blackmanharris_min4 ); in main()
/third_party/skia/third_party/externals/icu/source/samples/citer/
H A Dciter.cpp62 UCharCharacterIterator* test2 = iter.clone(); in TestUChariter() local
66 if (iter != *test2 ) { in TestUChariter()
73 test2->getText(result2); in TestUChariter()
116 delete test2; in TestUChariter()
129 StringCharacterIterator* test2 = iter.clone(); in TestStringiter() local
131 if (iter != *test2 ) { in TestStringiter()
138 test2->getText(result2); in TestStringiter()
179 delete test2; in TestStringiter()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcapitst.c570 UChar* test2; in TestCompare() local
580 test2=(UChar*)malloc(sizeof(UChar) * 6); in TestCompare()
582 u_uastrcpy(test2, "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_strlen(test1), test2, u_strle in TestCompare()
656 UChar test2[6]; TestSafeClone() local
813 UChar test2[6]; TestClone() local
1197 UChar *test1, *test2, *test3; TestSortKey() local
1342 UChar *test1, *test2, *test3; TestHashCode() local
[all...]
/third_party/node/test/parallel/
H A Dtest-fs-stream-double-close.js30 test2(fs.createReadStream(__filename));
34 test2(fs.createWriteStream(`${tmpdir.path}/dummy2`));
42 function test2(stream) { function
/third_party/openssl/test/
H A Dbio_callback_test.c52 char test2[] = "hello"; in test_bio_callback_ex() local
53 const size_t test2len = sizeof(test2) - 1; in test_bio_callback_ex()
158 i = BIO_puts(bio, test2); in test_bio_callback_ex()
163 || !TEST_ptr_eq(my_param_argp[0], test2) in test_bio_callback_ex()
169 || !TEST_ptr_eq(my_param_argp[1], test2) in test_bio_callback_ex()
224 char test2[] = "hello"; in test_bio_callback() local
225 const int test2len = sizeof(test2) - 1; in test_bio_callback()
310 i = BIO_puts(bio, test2); in test_bio_callback()
315 || !TEST_ptr_eq(my_param_argp[0], test2) in test_bio_callback()
321 || !TEST_ptr_eq(my_param_argp[1], test2) in test_bio_callback()
[all...]
/third_party/skia/tools/skottie-wasm-perf/
H A Dparse_perf_csvs.py67 for test2, v2 in d2.items():
68 if test2 in test_to_result:
70 test_to_result[test2] = {
71 'test_name': test2,

Completed in 14 milliseconds

123456789