/arkcompiler/ets_runtime/test/moduletest/container/ |
D | expect_output.txt | 15 Test ArrayList success!!! 16 Test Deque success!!! 17 Test HashMap success!!! 18 Test HashSet success!!! 19 Test LightWeightMap success!!! 20 Test LightWeightSet success!!! 21 Test LinkedList success!!! 22 Test List success!!! 23 Test PlainArray success!!! 24 Test Queue success!!! [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | constructorArgWithGenericCallSignature.ts | 21 module Test { 31 let func: Test.MyFunc; 33 AssertType(Test, "any"); 35 Test.F(func); // OK 36 AssertType(Test.F(func), "void"); 37 AssertType(Test.F, "(Test.MyFunc) => void"); 40 let test = new Test.MyClass(func); // Should be OK 42 AssertType(new Test.MyClass(func), "Test.MyClass"); 43 AssertType(Test.MyClass, "typeof Test.MyClass");
|
D | reverseMappedTypeDeepDeclarationEmit.ts | 40 AssertType({ Test: { Test1: { Test2: SimpleStringValidator }, }}, "{ Test: { Test1: { … 42 Test: { 43 AssertType(Test, "{ Test1: { Test2: NativeTypeValidator<string>; }; }"); 66 AssertType(validatorFunc({ Test: { Test1: { Test2: "hi" }, }}), "{ Test: { Test1: { Te… 68 AssertType({ Test: { Test1: { Test2: "hi" }, }}, "{ Test: { Test1: { Test2: string; };… 70 Test: { 71 AssertType(Test, "{ Test1: { Test2: string; }; }");
|
D | emitClassExpressionInDeclarationFile.ts | 79 export class Test extends WithTags(FooItem) {} class 81 const test = new Test(); 83 AssertType(new Test(), "Test"); 84 AssertType(Test, "typeof Test"); 86 Test.getTags() 87 AssertType(Test.getTags(), "void"); 88 AssertType(Test.getTags, "() => void");
|
D | recursiveConditionalEvaluationNonInfinite.ts | 21 type Test<T> = [T] extends [any[]] ? { array: Test<T[0]> } : { notArray: T }; 22 declare const x: Test<number[]>; 31 declare const a: Test<number>;
|
D | contravariantInferenceAndTypeGuard.ts | 35 interface Test { 38 const list2 = new List<Test | null>(); 40 AssertType(new List<Test | null>(), "List<union>"); 44 const filter1 = list2.filter(function(item, node, list): item is Test { 47 AssertType(function(item, node, list): item is Test { this.b; // $ExpectType string item; // … 51 AssertType(list2.filter(function(item, node, list): item is Test { this.b; // $ExpectType string… 76 const x: List<Test> = filter1; // $ExpectType List<Test>
|
D | declarationEmitNoNonRequiredParens.ts | 21 export enum Test { 25 export type TestType = typeof Test;
|
/arkcompiler/toolchain/tooling/test/ |
D | debugger_params_test.cpp | 37 class DebuggerParamsTest : public testing::Test { 75 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 81 … msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"maxScriptsCacheSize":100}})"; in HWTEST_F_L0() 93 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 99 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"unknownKey":100}})"; in HWTEST_F_L0() 105 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"samplingInterval":true}})"; in HWTEST_F_L0() 110 … msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"samplingInterval":"Test"}})"; in HWTEST_F_L0() 115 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"samplingInterval":1000}})"; in HWTEST_F_L0() 127 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 133 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"unknownKey":100}})"; in HWTEST_F_L0() [all …]
|
D | debugger_types_test.cpp | 37 class DebuggerTypesTest : public testing::Test { 80 msg = std::string() + R"({"id":0,"method":"Debugger.Test"})"; in HWTEST_F_L0() 85 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 90 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"unknownKey":100}})"; in HWTEST_F_L0() 95 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":100}})"; in HWTEST_F_L0() 100 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":100}})"; in HWTEST_F_L0() 105 …msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":")" + ObjectType::Objec… in HWTEST_F_L0() 111 …msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":")" + ObjectType::Objec… in HWTEST_F_L0() 117 …msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":")" + ObjectType::Objec… in HWTEST_F_L0() 123 …msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"type":")" + ObjectType::Objec… in HWTEST_F_L0() [all …]
|
D | protocol_handler_test.cpp | 23 class ProtocolHandlerTest : public testing::Test { 57 std::string msg = std::string() + R"({"id":0,"method":"Tracing.Test","params":{}})"; in HWTEST_F_L0() 69 std::string msg = std::string() + R"({"id":0,"method":"Tracing.Test","params":{}})"; in HWTEST_F_L0() 83 std::string msg = std::string() + R"({"id":0,"method":"Tracing.Test","params":{}})"; in HWTEST_F_L0() 97 std::string msg = std::string() + R"({"id":0,"method":"Tracing.Test","params":{}})"; in HWTEST_F_L0()
|
D | profiler_impl_test.cpp | 24 class ProfilerImplTest : public testing::Test { 170 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 192 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 210 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 228 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 249 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 267 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 271 msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{"interval":24}})"; in HWTEST_F_L0() 289 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() 307 std::string msg = std::string() + R"({"id":0,"method":"Debugger.Test","params":{}})"; in HWTEST_F_L0() [all …]
|
/arkcompiler/runtime_core/tests/checked/ |
D | aot.pa | 24 #! RUN_PAOC options: "--compiler-inlining false --compiler-regex '(_GLOBAL::func[13]|Test::f[23… 29 #! EVENT "AotEntrypointFound,Test::f2" 30 #! EVENT "AotEntrypointFound,Test::f3" 31 #! EVENT_NOT "AotEntrypointFound,Test::f1" 33 .record Test {} 35 .function i32 Test.f1() { 40 .function i32 Test.f2() { 45 .function i32 Test.f3() { 85 call.short Test.f1 89 call.short Test.f2 [all …]
|
/arkcompiler/ets_runtime/test/typeinfer/es2abc_feature/namespace_type/ |
D | namespace_type.ts | 18 namespace Test { 29 let c:Test.C = new Test.C(123, true);
|
/arkcompiler/ets_runtime/test/typeinfer/es2abc_feature/namespace_nested/ |
D | namespace_nested.ts | 17 namespace Test { 28 AssertType(Test.C.a, "int"); 29 AssertType(Test.C.b, "string");
|
/arkcompiler/ets_runtime/test/typeinfer/es2abc_feature/generics/ |
D | generics.ts | 18 class Test<T> { 33 let numberObj = new Test<number> (123, "abc"); 34 let stringObj = new Test<string> ("aot", "abc"); 35 let booleanObj = new Test<boolean> (true, "abc");
|
/arkcompiler/runtime_core/tests/irtoc-interpreter-tests/ |
D | static.pa | 14 .record Test { 30 ststatic.obj Test.a 32 ststatic Test.n 33 ldstatic.obj Test.a 38 ldstatic Test.n
|
/arkcompiler/ets_runtime/ecmascript/module/tests/module_test/ |
D | module_test_module_test_module_base.js | 16 import {Test} from './module_test_module_test_module.js'; 18 let test = new Test('555');
|
D | module_test_module_test_A.js | 16 class Test { class 30 let test = new Test('555');
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
D | switchStatement.cpp | 61 if (!clause->Test()) { in Compile() 69 if (!cases_[defaultIndex]->Test()) { in Compile() 89 if (it->Test()) { in Check() 90 checker::Type *caseType = it->Test()->Check(checker); in Check() 102 it->Test()->Start()); in Check()
|
/arkcompiler/ets_frontend/merge_abc/ |
D | HowToWriteProtoForAssemblyStuff.md | 7 message Test // message为关键字,作用为定义一种消息类型 26 message Test 38 message Test 45 repeated Test arr = 1; 99 message Test // message为关键字,作用为定义一种消息类型 113 message Test // message为关键字,作用为定义一种消息类型
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/pgo_test_case/ |
D | call_test.js | 16 class Test { class 30 let a = new Test(1, 23);
|
/arkcompiler/runtime_core/tests/verifier-tests/ |
D | access_field_nomodifier_core.pa | 20 # public class Test { 45 .record Test { 51 .function i32 Test.test_i32_() { 59 call.short Test.test_i32_
|
/arkcompiler/ets_runtime/test/typeinfer/es2abc_feature/generics_multiple/ |
D | generics_multiple.ts | 19 class Test<T1, T2, T3, T4> { class 32 let obj = new Test<number, number, string, A> (1, 2, "", new A());
|
/arkcompiler/ets_runtime/test/typeinfer/es2abc_feature/type_alias/ |
D | type_alias.ts | 22 interface Test { 26 type T2 = Test;
|
/arkcompiler/ets_runtime/test/moduletest/module/ |
D | module.js | 55 class Test { class 61 var test = new Test(ns.a)
|