Home
last modified time | relevance | path

Searched refs:tests (Results 1 – 25 of 150) sorted by relevance

123456

/arkcompiler/ets_frontend/es2panda/test/
Dtest_tsc_ignore_list.txt1 es2panda/test/TypeScript/tests/cases/compiler/bom-utf16be.ts
2 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInType.ts
3 es2panda/test/TypeScript/tests/cases/compiler/collisionArgumentsInterfaceMembers.ts
4 es2panda/test/TypeScript/tests/cases/compiler/elidedEmbeddedStatementsReplacedWithSemicolon.ts
5 es2panda/test/TypeScript/tests/cases/compiler/isLiteral1.ts
6 es2panda/test/TypeScript/tests/cases/compiler/isLiteral2.ts
7 es2panda/test/TypeScript/tests/cases/compiler/letAsIdentifier2.ts
8 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES5.ts
9 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES6.ts
10 es2panda/test/TypeScript/tests/cases/compiler/letInVarDeclOfForOf_ES5.ts
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/privacyFunctionCannotNameReturnTypeDeclFile/
DprivacyFunctionReturnTypeDeclFile_consumer.ts24 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyFunctionReturnTyp…
25 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyFunctionRetur…
29 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyFunctionReturnTyp…
30 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyFunctionRetur…
34 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyFunctionReturnTyp…
35 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyFunctionRetur…
39 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyFunctionReturnTyp…
40 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyFunctionRetur…
67 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyFunctionReturnTyp…
68 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyFunctionRetur…
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/privacyCannotNameAccessorDeclFile/
DprivacyCannotNameAccessorDeclFile_consumer.ts24 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyCannotNameAccesso…
25 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyCannotNameAcc…
29 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyCannotNameAccesso…
30 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyCannotNameAcc…
34 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyCannotNameAccesso…
35 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyCannotNameAcc…
39 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyCannotNameAccesso…
40 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyCannotNameAcc…
67 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyCannotNameAccesso…
68 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyCannotNameAcc…
[all …]
/arkcompiler/ets_frontend/testTs/
Dtest-case.patch212 tests/cases/conformance/jsdoc/extendsTag1.ts | 1 +
220 tests/cases/conformance/jsdoc/seeTag3.ts | 7 +
221 tests/cases/conformance/jsdoc/thisTag2.ts | 11 +
253 tests/cases/conformance/node/nodeModules1.ts | 321 ++++++++++++
504 …create mode 100644 tests/cases/conformance/ambient/ambientDeclarationsPatterns/ambientDeclarations…
505 create mode 100644 tests/cases/conformance/ambient/ambientDeclarationsPatterns/declarations.d.ts
506 …create mode 100644 tests/cases/conformance/ambient/ambientShorthand_merging/ambientShorthand_mergi…
507 create mode 100644 tests/cases/conformance/ambient/ambientShorthand_merging/declarations1.d.ts
508 create mode 100644 tests/cases/conformance/ambient/ambientShorthand_merging/declarations2.d.ts
509 …create mode 100644 tests/cases/conformance/ambient/ambientShorthand_reExport/ambientShorthand_reEx…
[all …]
/arkcompiler/runtime_core/tests/cts-generator/
DREADME.md18 -t, --template FILE Path to template yaml file to generate tests (required)
21 -o, --output DIR Path to directory where tests will be generated (required)
28 ${PANDA_SRC_ROOT}/tests/cts-generator/generate-cts.rb \
29 -t ${PANDA_SRC_ROOT}/tests/cts-generator/cts-template/template.yaml \
30 -s ${PANDA_SRC_ROOT}/tests/cts-generator/cts-template/yaml-schema.json \
34 This command will generate CTS tests using provided template file. Template is validated using sche…
43 …-t, --test-dir DIR Path to test directory to search tests recursively, or path to si…
50 --verify-tests Run verifier against positive tests (option for test checking)
53 …-a, --run-all Run all tests, ignore "runner-option: ignore" tag in test definit…
54 …--run-ignored Run ignored tests, which have "runner-option: ignore" tag in test def…
[all …]
Dgenerate-cts.rb34 def get_chunk(tests, chunk, chunks) argument
35 chunk_size = tests.length / chunks
36 if chunk_size > tests.length || chunk_size < 1 || chunk.negative?
41 last_idx = chunk >= chunks - 1 ? tests.length : (chunk + 1) * chunk_size
44 result.push(tests[i])
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/privacyCannotNameVarTypeDeclFile/
DprivacyCannotNameVarTypeDeclFile_consumer.ts47 AssertType(publicVarWithPrivatePropertyTypes, "import("tests/cases/compiler/privacyCannotNameVarTyp…
48 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyCannotNameVarType…
49 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyCannotNameVar…
52 AssertType(privateVarWithPrivatePropertyTypes, "import("tests/cases/compiler/privacyCannotNameVarTy…
53 AssertType(exporter.createExportedWidget1(), "import("tests/cases/compiler/privacyCannotNameVarType…
54 AssertType(exporter.createExportedWidget1, "() => import("tests/cases/compiler/privacyCannotNameVar…
73 AssertType(publicVarWithPrivateModulePropertyTypes, "import("tests/cases/compiler/privacyCannotName…
74 AssertType(exporter.createExportedWidget2(), "import("tests/cases/compiler/privacyCannotNameVarType…
75 AssertType(exporter.createExportedWidget2, "() => import("tests/cases/compiler/privacyCannotNameVar…
89 AssertType(privateVarWithPrivateModulePropertyTypes, "import("tests/cases/compiler/privacyCannotNam…
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/exportClassExtendingIntersection/
DMain.ts31 AssertType(AnotherMixedClass, "typeof MyExtendedClass & import("tests/cases/compiler/BaseClass").Co…
32 AssertType(MyMixin(MyExtendedClass), "typeof MyExtendedClass & import("tests/cases/compiler/BaseCla…
33 …nds import("tests/cases/compiler/BaseClass").Constructor<import("tests/cases/compiler/BaseClass").…
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DjsDeclarationsExportAssignedClassExpressionAnonymousWithSub.ts22 … */ constructor(p) { this.t = 12 + p; }}, "typeof import("tests/cases/conformance/…
23 AssertType(module.exports, "typeof import("tests/cases/conformance/jsdoc/declarations/index")");
24 … */ constructor(p) { this.t = 12 + p; }}, "typeof import("tests/cases/conformance/…
48 AssertType(this.instance = new module.exports(10), "import("tests/cases/conformance/jsdoc/declarati…
51 AssertType(new module.exports(10), "import("tests/cases/conformance/jsdoc/declarations/index")");
52 AssertType(module.exports, "typeof import("tests/cases/conformance/jsdoc/declarations/index")");
DjsDeclarationsExportAssignedClassExpression.ts22 … */ constructor(p) { this.t = 12 + p; }}, "typeof import("tests/cases/conformance/…
23 AssertType(module.exports, "typeof import("tests/cases/conformance/jsdoc/declarations/index")");
24 … */ constructor(p) { this.t = 12 + p; }}, "typeof import("tests/cases/conformance/…
25 AssertType(Thing, "typeof import("tests/cases/conformance/jsdoc/declarations/index")");
DjsDeclarationsExportAssignedClassExpressionShadowing.ts28 …ss Q { constructor() { this.x = new A(); }}, "typeof import("tests/cases/conformance/…
29 AssertType(module.exports, "typeof import("tests/cases/conformance/jsdoc/declarations/index")");
30 AssertType(class Q { constructor() { this.x = new A(); }}, "typeof import("tests/cases…
31 AssertType(Q, "typeof import("tests/cases/conformance/jsdoc/declarations/index")");
DjsDeclarationsExportAssignedClassExpressionAnonymous.ts22 … */ constructor(p) { this.t = 12 + p; }}, "typeof import("tests/cases/conformance/…
23 AssertType(module.exports, "typeof import("tests/cases/conformance/jsdoc/declarations/index")");
24 … */ constructor(p) { this.t = 12 + p; }}, "typeof import("tests/cases/conformance/…
/arkcompiler/runtime_core/tests/
DCMakeLists.txt16 add_custom_target(cts-assembly COMMENT "Running compliance tests for Panda Assembly")
17 add_custom_target(regression COMMENT "Running panda compiler regression tests")
18 add_custom_target(cts-aot-tests COMMENT "Running panda aot tests")
19 add_custom_target(cts-jit-tests COMMENT "Running panda jit-enforce tests")
20 add_custom_target(irtoc-interpreter-tests COMMENT "Running irtoc interpreter tests")
23 add_dependencies(tests irtoc-interpreter-tests)
24 add_dependencies(irtoc-interpreter-tests irtoc-opcode-suite)
25 # TODO(maksenov): disable tests subdirectory for Windows build to remove this condition
27 add_dependencies(tests cts-assembly regression)
30 add_custom_target(verifier-tests COMMENT "Regression tests for verifier")
[all …]
/arkcompiler/runtime_core/bytecode_optimizer/
DCMakeLists.txt69 tests/bitops_bitwise_and_test.cpp
70 tests/bc_lowering_test.cpp
71 tests/codegen_test.cpp
72 tests/reg_acc_alloc_test.cpp
73 tests/reg_encoder_test.cpp
74 tests/runtime_adapter_test.cpp
75 tests/const_array_resolver_test.cpp
76 tests/bytecodeopt_peepholes_test.cpp
77 tests/check_resolver_test.cpp
78 tests/canonicalization_test.cpp
[all …]
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsFunctionClassesCjsExportAssignment/
Dcontext.js68 AssertType(this, "this & { construct(Input, ?import("tests/cases/conformance/jsdoc/declarations/hoo…
70 AssertType(this.construct, "(Input, ?import("tests/cases/conformance/jsdoc/declarations/hook").Hook…
71 AssertType(this, "this & { construct(Input, ?import("tests/cases/conformance/jsdoc/declarations/hoo…
88 AssertType(handle, "import("tests/cases/conformance/jsdoc/declarations/hook").HookHandler");
98 …t): Context; new (Input): Context; prototype: { construct(Input, ?import("tests/cases/conformance/…
99 …t): Context; new (Input): Context; prototype: { construct(Input, ?import("tests/cases/conformance/…
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsImportTypeBundled/
Dindex.js23 AssertType(items, "import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]");
30 AssertType(module.exports = items, "import("tests/cases/conformance/jsdoc/declarations/folder/mod1"…
31 AssertType(module.exports, "import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]…
32 AssertType(items, "import("tests/cases/conformance/jsdoc/declarations/folder/mod1").Item[]");
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsExportAssignedVisibility/
Dobj.js22 …class Obj { constructor() { this.x = 12; }}, "typeof import("tests/cases/conformance/…
23 AssertType(module.exports, "typeof import("tests/cases/conformance/jsdoc/declarations/obj")");
24 AssertType(class Obj { constructor() { this.x = 12; }}, "typeof import("tests/cases/co…
25 AssertType(Obj, "typeof import("tests/cases/conformance/jsdoc/declarations/obj")");
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/declarationEmitInlinedDistributiveConditional/
Dapi.ts23 AssertType(dropPrivateProps1, "<Obj>(Obj) => { [K in import("tests/cases/compiler/internal").Public…
24 AssertType(<Obj>(obj: Obj) => excludePrivateKeys1(obj), "<Obj>(Obj) => { [K in import("tests/cases/…
26 AssertType(excludePrivateKeys1(obj), "{ [K in import("tests/cases/compiler/internal").PublicKeys1<k…
27 AssertType(excludePrivateKeys1, "<Obj>(Obj) => { [K in import("tests/cases/compiler/internal").Publ…
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsReferenceToClassInstanceCrossFile/
Dtest.js23 AssertType(require("./index"), "typeof import("tests/cases/conformance/jsdoc/declarations/index")");
33 AssertType(render.addRectangle(), "import("tests/cases/conformance/jsdoc/declarations/rectangle").R…
34 AssertType(render.addRectangle, "() => import("tests/cases/conformance/jsdoc/declarations/rectangle…
40 AssertType(render.objects, "import("tests/cases/conformance/jsdoc/declarations/rectangle").Rectangl…
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/allowSyntheticDefaultImportsCanPaintCrossModuleDeclaration/
Dfile2.ts23 AssertType(A, "import("tests/cases/compiler/color").default");
24 AssertType(styled(), "import("tests/cases/compiler/color").default");
25 AssertType(styled, "() => import("tests/cases/compiler/color").default");
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/declarationEmitForTypesWhichNeedImportTypes/
Da.ts24 AssertType(Value, "import("tests/cases/compiler/b").Named");
25 AssertType(createNamed(), "import("tests/cases/compiler/b").Named");
26 AssertType(createNamed, "() => import("tests/cases/compiler/b").Named");
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/typeofImportTypeOnlyExport/
Dbutton.ts23 AssertType(c, "{ directive: typeof import("tests/cases/conformance/declarationEmit/lit").ClassMapDi…
24 AssertType(classMap(), "{ directive: typeof import("tests/cases/conformance/declarationEmit/lit").C…
25 AssertType(classMap, "() => { directive: typeof import("tests/cases/conformance/declarationEmit/lit…
/arkcompiler/runtime_core/libpandafile/
DCMakeLists.txt20 file(MAKE_DIRECTORY "${GEN_INCLUDE_DIR}/tests")
28 tests/bytecode_emitter_tests_gen.h.erb
97 tests/bytecode_instruction_tests.cpp
98 tests/file_test.cpp
99 tests/file_item_container_test.cpp
100 tests/file_items_test.cpp
101 tests/bytecode_emitter_tests.cpp
102 tests/debug_info_extractor_test.cpp
103 tests/file_format_version_test.cpp
115 PUBLIC ${CMAKE_CURRENT_BINARY_DIR}/include/tests)
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/visibilityOfCrossModuleTypeUsage/
DvisibilityOfCrossModuleTypeUsage_fs.ts26 AssertType(configuration.workspace.toAbsolutePath, "(import("tests/cases/compiler/visibilityOfCross…
27 AssertType(configuration.workspace, "import("tests/cases/compiler/visibilityOfCrossModuleTypeUsage_…
28 AssertType(configuration.server, "import("tests/cases/compiler/visibilityOfCrossModuleTypeUsage_ser…
/arkcompiler/runtime_core/tests/cts-coverage-tool/
DREADME.md21 --testdir (-d) - directory with tests, required
22 --testglob (-g) - glob for selecting test files in tests directory ("**/*.pa" for example), required
27 --uncovered (-u) - output yaml document listing the spec areas not covered by tests
37 tests/cts-coverage-tool/bin/spectrac.rb \
39 -d tests/cts-generator/cts-generated/ \
44 -n tests/cts-coverage-tool/config/non_testable.yaml

123456