Home
last modified time | relevance | path

Searched refs:testCode (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/resources/sksl/es2_conformance/
Dimport_conformance_tests.py110 testCode = '' variable
128 testCode = b[0] variable
129 assert isinstance(testCode, str)
150 if "void main" not in testCode:
195 testCode = testCode.replace("precision highp ", "// precision highp "); variable
196 testCode = testCode.replace("precision mediump ", "// precision mediump "); variable
197 testCode = testCode.replace("precision lowp ", "// precision lowp "); variable
200 testCode = testCode.replace("#version", "// #version"); variable
203 testCode = testCode.replace("void main", "bool execute_test"); variable
206 if "${POSITION_FRAG_COLOR}" in testCode:
[all …]
/third_party/node/test/parallel/
Dtest-process-emitwarning.js9 const testCode = 'CODE001'; constant
17 if (warning.code) assert.strictEqual(warning.code, testCode);
26 this.code = testCode;
36 [testMsg, testType, testCode],
38 [testMsg, { type: testType, code: testCode }],
39 [testMsg, { type: testType, code: testCode, detail: testDetail }],
42 [testMsg, { type: testType, code: testCode, detail: true }],
43 [testMsg, { type: testType, code: testCode, detail: [] }],
44 [testMsg, { type: testType, code: testCode, detail: null }],
45 [testMsg, { type: testType, code: testCode, detail: 1 }],
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
DDataDrivenUScriptTest.java260 private int testCode; field in DataDrivenUScriptTest.GetNameTest
263 public GetNameTest(int testCode, String expected) { in GetNameTest() argument
264 this.testCode = testCode; in GetNameTest()
284 String scriptName = UScript.getName(testCode); in TestGetName()
293 private int testCode; field in DataDrivenUScriptTest.GetShortNameTest
296 public GetShortNameTest(int testCode, String expected) { in GetShortNameTest() argument
297 this.testCode = testCode; in GetShortNameTest()
320 String shortName = UScript.getShortName(testCode); in TestGetShortName()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DDataDrivenUScriptTest.java257 private int testCode; field in DataDrivenUScriptTest.GetNameTest
260 public GetNameTest(int testCode, String expected) { in GetNameTest() argument
261 this.testCode = testCode; in GetNameTest()
281 String scriptName = UScript.getName(testCode); in TestGetName()
290 private int testCode; field in DataDrivenUScriptTest.GetShortNameTest
293 public GetShortNameTest(int testCode, String expected) { in GetShortNameTest() argument
294 this.testCode = testCode; in GetShortNameTest()
317 String shortName = UScript.getShortName(testCode); in TestGetShortName()
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/RealWorld/
Dparserharness.ts815 public compilesOk(testCode): boolean {
817 compileString(testCode, 'test.ts', function (compilerResult) {
825 var testCode = 'class __test1__ {\n';
826 testCode += ' public test() {\n';
827 testCode += ' ' + other.code + ';\n';
828 testCode += ' return ' + other.identifier + ';\n';
829 testCode += ' }\n';
830 testCode += '}\n';
831 testCode += 'class __test2__ extends __test1__ {\n';
832 testCode += ' public test() {\n';
[all …]
/third_party/typescript/tests/baselines/reference/
Dparserharness.js815 public compilesOk(testCode): boolean {
817 compileString(testCode, 'test.ts', function (compilerResult) {
825 var testCode = 'class __test1__ {\n'; variable
826 testCode += ' public test() {\n';
827 testCode += ' ' + other.code + ';\n';
828 testCode += ' return ' + other.identifier + ';\n';
829 testCode += ' }\n';
830 testCode += '}\n';
831 testCode += 'class __test2__ extends __test1__ {\n';
832 testCode += ' public test() {\n';
[all …]
Dparserharness.errors.txt981 public compilesOk(testCode): boolean {
983 compileString(testCode, 'test.ts', function (compilerResult) {
991 var testCode = 'class __test1__ {\n';
992 testCode += ' public test() {\n';
993 testCode += ' ' + other.code + ';\n';
994 testCode += ' return ' + other.identifier + ';\n';
995 testCode += ' }\n';
996 testCode += '}\n';
997 testCode += 'class __test2__ extends __test1__ {\n';
998 testCode += ' public test() {\n';
[all …]
Dparserharness.types3091 public compilesOk(testCode): boolean {
3092 >compilesOk : (testCode: any) => boolean
3093 >testCode : any
3099 compileString(testCode, 'test.ts', function (compilerResult) {
3100 >compileString(testCode, 'test.ts', function (compilerResult) { errors = compile…
3102 >testCode : any
3128 var testCode = 'class __test1__ {\n';
3129 >testCode : string
3132 testCode += ' public test() {\n';
3133 >testCode += ' public test() {\n' : string
[all …]
Dparserharness.symbols2399 public compilesOk(testCode): boolean {
2401 >testCode : Symbol(testCode, Decl(parserharness.ts, 813, 30))
2406 compileString(testCode, 'test.ts', function (compilerResult) {
2408 >testCode : Symbol(testCode, Decl(parserharness.ts, 813, 30))
2428 var testCode = 'class __test1__ {\n';
2429 >testCode : Symbol(testCode, Decl(parserharness.ts, 823, 19))
2431 testCode += ' public test() {\n';
2432 >testCode : Symbol(testCode, Decl(parserharness.ts, 823, 19))
2434 testCode += ' ' + other.code + ';\n';
2435 >testCode : Symbol(testCode, Decl(parserharness.ts, 823, 19))
[all …]
/third_party/node/deps/v8/tools/clusterfuzz/js_fuzzer/test/
Dtest_differential_fuzz_library.js28 function testLibrary(testCode, expected) { argument
31 const actual = eval(hookedUpCode + testCode);
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
Des3cNumberParsingTests.cpp93 string testCode; member
308 fields["TEST_CODE"] = params.testCode; in replacePlaceholders()