Home
last modified time | relevance | path

Searched refs:testName (Results 1 – 25 of 373) sorted by relevance

12345678910>>...15

/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
Dangle_test_instantiate.h107 #define ANGLE_INSTANTIATE_TEST_PLATFORMS(testName, ...) \ argument
108 testing::ValuesIn(::angle::FilterTestParams(testName##__VA_ARGS__##params, \
109 ArraySize(testName##__VA_ARGS__##params)))
113 #define ANGLE_INSTANTIATE_TEST(testName, first, ...) \ argument
114 const decltype(first) testName##params[] = {first, ##__VA_ARGS__}; \
115 INSTANTIATE_TEST_SUITE_P(, testName, ANGLE_INSTANTIATE_TEST_PLATFORMS(testName), \
118 #define ANGLE_INSTANTIATE_TEST_ARRAY(testName, valuesin) \ argument
119 INSTANTIATE_TEST_SUITE_P(, testName, testing::ValuesIn(::angle::FilterTestParams(valuesin)), \
144 #define ANGLE_INSTANTIATE_TEST_ES1(testName) \ argument
145 const PlatformParameters testName##params[] = {ANGLE_ALL_TEST_PLATFORMS_ES1}; \
[all …]
/third_party/icu/icu4c/source/test/cintltst/
Dtrie2test.c99 testTrieEnum(const char *testName, in testTrieEnum() argument
102 (void)testName; // suppress compiler warnings about unused variable in testTrieEnum()
113 testTrieGetters(const char *testName, in testTrieGetters() argument
142 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
153 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
163 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
169 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
190 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
203 typeName, testName, (long)start, (long)value2, (long)errorValue); in testTrieGetters()
209 if(0!=strncmp(testName, "dummy", 5) && 0!=strncmp(testName, "trie1", 5)) { in testTrieGetters()
[all …]
Ducptrietest.c110 testTrieGetRanges(const char *testName, const UCPTrie *trie, const UMutableCPTrie *mutableTrie, in testTrieGetRanges() argument
126 sprintf(name, "%s/%s(%s) min=U+%04lx", typeName, optionName, testName, (long)start); in testTrieGetRanges()
185 testTrieGetters(const char *testName, const UCPTrie *trie, in testTrieGetters() argument
214 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
229 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
242 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
264 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
270 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
296 typeName, testName, (long)start, (long)value2, (long)value); in testTrieGetters()
332 typeName, testName); in testTrieGetters()
[all …]
Dtrietest.c142 testTrieIteration(const char *testName, in testTrieIteration() argument
179 testName, c, c2, value, values[i]); in testTrieIteration()
187 testName, c, c2); in testTrieIteration()
212 testName, c, c2, value, values[i]); in testTrieIteration()
224 testName, c, c2, value, values[i]); in testTrieIteration()
243 testName, c, c2, value, values[i]); in testTrieIteration()
251 testName, c, c2); in testTrieIteration()
257 testTrieRangesWithMalloc(const char *testName, in testTrieRangesWithMalloc() argument
274 log_verbose("\ntesting Trie '%s'\n", testName); in testTrieRangesWithMalloc()
293 log_err("error: setting values into a trie failed (%s)\n", testName); in testTrieRangesWithMalloc()
[all …]
Didnatest.c73 testAPI(const UChar* src, const UChar* expected, const char* testName, in testAPI() argument
106 log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
111 …ted error for %s null terminated source failed. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
125 …"Did not get the expected result for %s null terminated source with both options set.\n",testName); in testAPI()
129 … log_err( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
134 …for %s null terminated source with options set. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
149 log_err("Did not get the expected result for %s with source length.\n",testName); in testAPI()
152 log_err( "%s with source length failed. Requires destCapacity > 300\n",testName); in testAPI()
157 …t the expected error for %s with source length. Expected: %s Got: %s\n",testName, u_errorName(expe… in testAPI()
171 …_err("Did not get the expected result for %s with source length and both options set.\n",testName); in testAPI()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/test_utils/
Dangle_test_instantiate.h90 #define ANGLE_INSTANTIATE_TEST_PLATFORMS(testName) \ argument
91 testing::ValuesIn(::angle::FilterTestParams(testName##params, ArraySize(testName##params)))
95 #define ANGLE_INSTANTIATE_TEST(testName, first, ...) \ argument
96 const decltype(first) testName##params[] = {first, ##__VA_ARGS__}; \
97 INSTANTIATE_TEST_SUITE_P(, testName, ANGLE_INSTANTIATE_TEST_PLATFORMS(testName), \
103 #define ANGLE_INSTANTIATE_TEST_COMBINE_1(testName, print, combine1, first, ...) \ argument
104 const decltype(first) testName##params[] = {first, ##__VA_ARGS__}; \
106 , testName, testing::Combine(ANGLE_INSTANTIATE_TEST_PLATFORMS(testName), combine1), print)
107 #define ANGLE_INSTANTIATE_TEST_COMBINE_4(testName, print, combine1, combine2, combine3, combine4, \ argument
109 const decltype(first) testName##params[] = {first, ##__VA_ARGS__}; \
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dtestidna.cpp454 void TestIDNA::testAPI(const UChar* src, const UChar* expected, const char* testName, in testAPI() argument
487 …errln("Did not get the expected result for "+UnicodeString(testName) +" null terminated source. Ex… in testAPI()
493 errln( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
499 UnicodeString(testName)+ in testAPI()
518 errln("Did not get the expected result for "+UnicodeString(testName) + in testAPI()
527 errln( "%s null terminated source failed. Requires destCapacity > 300\n",testName); in testAPI()
533 UnicodeString(testName)+ in testAPI()
552 errln("Did not get the expected result for %s with source length.\n",testName); in testAPI()
555 errln( "%s with source length failed. Requires destCapacity > 300\n",testName); in testAPI()
561 UnicodeString(testName)+ in testAPI()
[all …]
Dtestidna.h75 void testToASCII(const char* testName, TestFunc func);
76 void testToUnicode(const char* testName, TestFunc func);
77 void testIDNToUnicode(const char* testName, TestFunc func);
78 void testIDNToASCII(const char* testName, TestFunc func);
79 void testCompare(const char* testName, CompareFunc func);
84 void testAPI(const UChar *src, const UChar *expected, const char *testName,
90 const char* testName, CompareFunc func,
96 void testChaining(const UChar* src,int32_t numIterations,const char* testName,
99 void testRootLabelSeparator(const char* testName, CompareFunc func,
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DCodePointTrieTest.java156 testTrieGetRanges(String testName, CodePointMap trie, in testTrieGetRanges() argument
170 String name = String.format("%s/%s(%s) min=U+%04x", typeName, option, testName, start); in testTrieGetRanges()
218 testTrieGetters(String testName, CodePointTrie trie, in testTrieGetters() argument
243 typeName, testName, start, value2, value)); in testTrieGetters()
253 typeName, testName, start, value2, value)); in testTrieGetters()
261 typeName, testName, start, value2, value)); in testTrieGetters()
270 typeName, testName, start, value2, value)); in testTrieGetters()
286 typeName, testName)); in testTrieGetters()
291 … testBuilderGetters(String testName, MutableCodePointTrie mutableTrie, CheckRange checkRanges[]) { in testBuilderGetters() argument
311 typeName, testName, start, value2, value)); in testBuilderGetters()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
DCodePointTrieTest.java159 testTrieGetRanges(String testName, CodePointMap trie, in testTrieGetRanges() argument
173 String name = String.format("%s/%s(%s) min=U+%04x", typeName, option, testName, start); in testTrieGetRanges()
221 testTrieGetters(String testName, CodePointTrie trie, in testTrieGetters() argument
246 typeName, testName, start, value2, value)); in testTrieGetters()
256 typeName, testName, start, value2, value)); in testTrieGetters()
264 typeName, testName, start, value2, value)); in testTrieGetters()
273 typeName, testName, start, value2, value)); in testTrieGetters()
289 typeName, testName)); in testTrieGetters()
294 … testBuilderGetters(String testName, MutableCodePointTrie mutableTrie, CheckRange checkRanges[]) { in testBuilderGetters() argument
314 typeName, testName, start, value2, value)); in testBuilderGetters()
[all …]
/third_party/skia/resources/sksl/es2_conformance/
Dimport_conformance_tests.py102 testName = c[0] variable
103 assert isinstance(testName, str)
154 print("skipped %s (%s)" % (testName, skipTest))
159 if re.fullmatch('argument_eval_order_[12]', testName):
161 print("allowing mismatch in %s" % testName)
168 if (testName == 'math_float' or
169 testName == 'struct' or
170 testName == 'nested_struct' or
171 testName == 'nested_builtin_funcs'):
178 if (re.fullmatch('(vec|bvec|ivec)[234]_to_(float|int|bool)', testName) or
[all …]
/third_party/flutter/skia/tools/skqp/src/
Dskqp_main.cpp101 auto testName = testPrefix + SkQP::GetGMName(gmFactory); in main() local
102 if (should_skip(matchRules, matchRulesCount, testName.c_str())) { in main()
105 out << "Starting: " << testName << std::endl; in main()
111 out << "ERROR: " << testName << " (" << except << ")\n"; in main()
114 out << "FAILED: " << testName << " (" << outcome.fMaxError << ")\n"; in main()
117 out << "Passed: " << testName << "\n"; in main()
125 auto testName = std::string("unitTest_") + SkQP::GetUnitTestName(test); in main() local
126 if (should_skip(matchRules, matchRulesCount, testName.c_str())) { in main()
129 out << "Starting test: " << testName << std::endl; in main()
132 out << "TEST FAILED (" << errors.size() << "): " << testName << "\n"; in main()
[all …]
/third_party/skia/third_party/externals/harfbuzz/test/shape/data/aots/
Dhb-aots-tester.cpp52 runTest(const char *testName, in runTest() argument
66 printf ("------------------------------- %s\n", testName); in runTest()
141 bool gsub_test(const char *testName, in gsub_test() argument
147 TestData data = runTest(testName, in gsub_test()
171 …printf (test_name, "../../tests/%.*s.tests", (int) (strrchr (testName, '_') - testName), testName); in gsub_test()
203 printf ("******* GSUB %s\n", testName); in gsub_test()
220 bool cmap_test(const char *testName, in cmap_test() argument
226 TestData data = runTest(testName, in cmap_test()
250 …printf (test_name, "../../tests/%.*s.tests", (int) (strrchr (testName, '_') - testName), testName); in cmap_test()
282 printf ("******* cmap %s\n", testName); in cmap_test()
[all …]
/third_party/skia/modules/pathkit/tests/
Dpathops.spec.js9 function addSVG(testName, expectedPath, actualPath, message) { argument
30 <h2>Failed test ${testName}</h2>
121 for (testName of testNames) {
122 let test = json[testName];
135 … expect(combined).toBeNull(`Test ${testName} should have not created output, but did`);
146 expect(`[${testName}] ${diff}`).toBe('');
147 addSVG('[PathOps] ' + testName, expected, combined, diff);
153 … expect(`[${testName}] was expected to have paths that differed`).not.toBe('');
180 for (testName of testNames) {
181 let test = json[testName];
[all …]
/third_party/flutter/skia/modules/pathkit/tests/
Dpathops.spec.js9 function addSVG(testName, expectedPath, actualPath, message) { argument
30 <h2>Failed test ${testName}</h2>
121 for (testName of testNames) {
122 let test = json[testName];
135 … expect(combined).toBeNull(`Test ${testName} should have not created output, but did`);
146 expect(`[${testName}] ${diff}`).toBe('');
147 addSVG('[PathOps] ' + testName, expected, combined, diff);
153 … expect(`[${testName}] was expected to have paths that differed`).not.toBe('');
180 for (testName of testNames) {
181 let test = json[testName];
[all …]
/third_party/glslang/gtests/
DTestFixture.h444 const std::string& testName,
457 const std::string inputFname = testDir + "/" + testName;
459 testDir + baseDir + testName + ".out";
470 …GlslangResult result = compileAndLink(testName, input, entryPointName, controls, clientTargetVersi…
483 const std::string &testName,
492 const std::string inputFname = testDir + "/" + testName;
493 const std::string expectedOutputFname = testDir + baseDir + testName + ".out";
501 …GlslangResult result = compileAndLink(testName, input, entryPointName, controls, clientTargetVersi…
512 const std::string& testName,
518 const std::string inputFname = testDir + "/" + testName;
[all …]
/third_party/skia/tools/skqp/src/
Dskqp_main.cpp116 auto testName = testPrefix + SkQP::GetGMName(gmFactory); in main() local
117 if (should_skip(matchRules, matchRulesCount, testName.c_str())) { in main()
120 out << "Starting: " << testName << std::endl; in main()
126 out << "ERROR: " << testName << " (" << except << ")\n"; in main()
129 out << "FAILED: " << testName << " (" << outcome.fMaxError << ")\n"; in main()
132 out << "Passed: " << testName << "\n"; in main()
140 auto testName = std::string("unitTest_") + SkQP::GetUnitTestName(test); in main() local
141 if (should_skip(matchRules, matchRulesCount, testName.c_str())) { in main()
144 out << "Starting test: " << testName << std::endl; in main()
147 out << "TEST FAILED (" << errors.size() << "): " << testName << "\n"; in main()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmCompositeInsertTests.cpp215 string testName; in addComputeVectorCompositeInsertTests() local
218 testName += "undef_"; in addComputeVectorCompositeInsertTests()
220 testName += string("vec") + de::toString(elements); in addComputeVectorCompositeInsertTests()
222 …group->addChild(new SpvAsmComputeShaderCase(testCtx, testName.c_str(), "Tests vector composite ins… in addComputeVectorCompositeInsertTests()
241 const string testName = string(useUndef ? "undef_" : "") + "vec" + de::toString(elements); in addGraphicsVectorCompositeInsertTests() local
281 …createTestForStage(VK_SHADER_STAGE_VERTEX_BIT, (testName + "_vert").c_str(), defaultColors, defaul… in addGraphicsVectorCompositeInsertTests()
284 …createTestForStage(VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, (testName + "_tessc").c_str(), defaul… in addGraphicsVectorCompositeInsertTests()
287 …createTestForStage(VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, (testName + "_tesse").c_str(), def… in addGraphicsVectorCompositeInsertTests()
290 …createTestForStage(VK_SHADER_STAGE_GEOMETRY_BIT, (testName + "_geom").c_str(), defaultColors, defa… in addGraphicsVectorCompositeInsertTests()
295 …createTestForStage(VK_SHADER_STAGE_FRAGMENT_BIT, (testName + "_frag").c_str(), defaultColors, defa… in addGraphicsVectorCompositeInsertTests()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCompositeInsertTests.cpp215 string testName; in addComputeVectorCompositeInsertTests() local
218 testName += "undef_"; in addComputeVectorCompositeInsertTests()
220 testName += string("vec") + de::toString(elements); in addComputeVectorCompositeInsertTests()
222 …group->addChild(new SpvAsmComputeShaderCase(testCtx, testName.c_str(), "Tests vector composite ins… in addComputeVectorCompositeInsertTests()
241 const string testName = string(useUndef ? "undef_" : "") + "vec" + de::toString(elements); in addGraphicsVectorCompositeInsertTests() local
281 …createTestForStage(VK_SHADER_STAGE_VERTEX_BIT, (testName + "_vert").c_str(), defaultColors, defaul… in addGraphicsVectorCompositeInsertTests()
284 …createTestForStage(VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT, (testName + "_tessc").c_str(), defaul… in addGraphicsVectorCompositeInsertTests()
287 …createTestForStage(VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT, (testName + "_tesse").c_str(), def… in addGraphicsVectorCompositeInsertTests()
290 …createTestForStage(VK_SHADER_STAGE_GEOMETRY_BIT, (testName + "_geom").c_str(), defaultColors, defa… in addGraphicsVectorCompositeInsertTests()
295 …createTestForStage(VK_SHADER_STAGE_FRAGMENT_BIT, (testName + "_frag").c_str(), defaultColors, defa… in addGraphicsVectorCompositeInsertTests()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DSpoofCheckerTest.java391 public void checkSkeleton(SpoofChecker sc, String testName) { in checkSkeleton() argument
397 checkSkeleton(sc, MA, "\\u02b9identifier'", "'identifier'", testName); in checkSkeleton()
399 checkSkeleton(sc, SL, "nochange", "nochange", testName); in checkSkeleton()
400 checkSkeleton(sc, SA, "nochange", "nochange", testName); in checkSkeleton()
401 checkSkeleton(sc, ML, "nochange", "nochange", testName); in checkSkeleton()
402 checkSkeleton(sc, MA, "nochange", "nochange", testName); in checkSkeleton()
403 checkSkeleton(sc, MA, "love", "love", testName); in checkSkeleton()
404 checkSkeleton(sc, MA, "1ove", "love", testName); // Digit 1 to letter l in checkSkeleton()
405 checkSkeleton(sc, ML, "OOPS", "OOPS", testName); in checkSkeleton()
406 checkSkeleton(sc, ML, "00PS", "OOPS", testName); in checkSkeleton()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/text/
DSpoofCheckerTest.java394 public void checkSkeleton(SpoofChecker sc, String testName) { in checkSkeleton() argument
400 checkSkeleton(sc, MA, "\\u02b9identifier'", "'identifier'", testName); in checkSkeleton()
402 checkSkeleton(sc, SL, "nochange", "nochange", testName); in checkSkeleton()
403 checkSkeleton(sc, SA, "nochange", "nochange", testName); in checkSkeleton()
404 checkSkeleton(sc, ML, "nochange", "nochange", testName); in checkSkeleton()
405 checkSkeleton(sc, MA, "nochange", "nochange", testName); in checkSkeleton()
406 checkSkeleton(sc, MA, "love", "love", testName); in checkSkeleton()
407 checkSkeleton(sc, MA, "1ove", "love", testName); // Digit 1 to letter l in checkSkeleton()
408 checkSkeleton(sc, ML, "OOPS", "OOPS", testName); in checkSkeleton()
409 checkSkeleton(sc, ML, "00PS", "OOPS", testName); in checkSkeleton()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/test/shaping/data/aots/
Dhb-aots-tester.cpp30 hb_buffer_t *runTest(const char *testName, in runTest() argument
44 printf ("------------------------------- %s\n", testName); in runTest()
124 bool gsub_test(const char *testName, in gsub_test() argument
130 hb_buffer_t *buffer = runTest(testName, in gsub_test()
154 …printf (test_name, "../../tests/%.*s.tests", (int) (strrchr (testName, '_') - testName), testName); in gsub_test()
187 printf ("******* GSUB %s\n", testName); in gsub_test()
206 bool gpos_test(const char *testName, in gpos_test() argument
215 hb_buffer_t *buffer = runTest(testName, in gpos_test()
260 printf ("******* GPOS %s\n", testName); in gpos_test()
287 …printf (test_name, "../../tests/%.*s.tests", (int) (strrchr (testName, '_') - testName), testName); in gpos_test()
/third_party/harfbuzz/test/shaping/data/aots/
Dhb-aots-tester.cpp30 hb_buffer_t *runTest(const char *testName, in runTest() argument
44 printf ("------------------------------- %s\n", testName); in runTest()
124 bool gsub_test(const char *testName, in gsub_test() argument
130 hb_buffer_t *buffer = runTest(testName, in gsub_test()
154 …printf (test_name, "../../tests/%.*s.tests", (int) (strrchr (testName, '_') - testName), testName); in gsub_test()
187 printf ("******* GSUB %s\n", testName); in gsub_test()
206 bool gpos_test(const char *testName, in gpos_test() argument
215 hb_buffer_t *buffer = runTest(testName, in gpos_test()
260 printf ("******* GPOS %s\n", testName); in gpos_test()
287 …printf (test_name, "../../tests/%.*s.tests", (int) (strrchr (testName, '_') - testName), testName); in gpos_test()
/third_party/flutter/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPActivity.java49 String testName = SkQP.kSkiaGM + impl.mBackends[backend] + "_" + impl.mGMs[gm]; in run() local
52 Log.i(SkQP.LOG_PREFIX, "Running: " + testName); in run()
59 Log.w(SkQP.LOG_PREFIX, "Error: " + testName + " " + error); in run()
61 Log.w(SkQP.LOG_PREFIX, String.format("Fail: %s %f", testName, value)); in run()
63 Log.i(SkQP.LOG_PREFIX, "Pass: " + testName); in run()
68 String testName = SkQP.kSkiaUnitTests + "_" + impl.mUnitTests[unitTest]; in run() local
69 Log.w(SkQP.LOG_PREFIX, "Running: " + testName); in run()
73 Log.w(SkQP.LOG_PREFIX, "Error running " + testName + ":" + error); in run()
76 Log.i(SkQP.LOG_PREFIX, "Test: " + testName + " finished successfully."); in run()
/third_party/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPActivity.java49 String testName = SkQP.kSkiaGM + impl.mBackends[backend] + "_" + impl.mGMs[gm]; in run() local
52 Log.i(SkQP.LOG_PREFIX, "Running: " + testName); in run()
59 Log.w(SkQP.LOG_PREFIX, "Error: " + testName + " " + error); in run()
61 Log.w(SkQP.LOG_PREFIX, String.format("Fail: %s %f", testName, value)); in run()
63 Log.i(SkQP.LOG_PREFIX, "Pass: " + testName); in run()
68 String testName = SkQP.kSkiaUnitTests + "_" + impl.mUnitTests[unitTest]; in run() local
69 Log.w(SkQP.LOG_PREFIX, "Running: " + testName); in run()
73 Log.w(SkQP.LOG_PREFIX, "Error running " + testName + ":" + error); in run()
76 Log.i(SkQP.LOG_PREFIX, "Test: " + testName + " finished successfully."); in run()

12345678910>>...15