/arkcompiler/ets_frontend/ts2panda/tests/expression/ |
D | literal.test.ts | 46 import { checkInstructions, compileMainSnippet } from "../utils/base"; 55 expect(checkInstructions(insns, expected)).to.be.true; 64 expect(checkInstructions(insns, expected)).to.be.true; 73 expect(checkInstructions(insns, expected)).to.be.true; 82 expect(checkInstructions(insns, expected)).to.be.true; 91 expect(checkInstructions(insns, expected)).to.be.true; 107 expect(checkInstructions(insns, expected)).to.be.true; 121 expect(checkInstructions(insns, expected)).to.be.true; 138 expect(checkInstructions(insns, expected)).to.be.true; 156 expect(checkInstructions(insns, expected)).to.be.true; [all …]
|
D | binary.test.ts | 53 import { checkInstructions, compileMainSnippet } from "../utils/base"; 69 expect(checkInstructions(insns, expected)).to.be.true; 83 expect(checkInstructions(insns, expected)).to.be.true; 108 expect(checkInstructions(insns, expected)).to.be.true; 138 expect(checkInstructions(insns, expected)).to.be.true; 169 expect(checkInstructions(insns, expected)).to.be.true; 187 expect(checkInstructions(insns, expected)).to.be.true; 201 expect(checkInstructions(insns, expected)).to.be.true; 215 expect(checkInstructions(insns, expected)).to.be.true; 229 expect(checkInstructions(insns, expected)).to.be.true; [all …]
|
D | delete.test.ts | 33 import { checkInstructions, compileMainSnippet, SnippetCompiler } from "../utils/base"; 54 expect(checkInstructions(insns, expected)).to.be.true; 78 expect(checkInstructions(insns, expected)).to.be.true; 103 expect(checkInstructions(insns, expected)).to.be.true; 118 expect(checkInstructions(insns, expected)).to.be.true; 130 expect(checkInstructions(insns, expected)).to.be.true; 143 expect(checkInstructions(insns, expected)).to.be.true;
|
D | numericLiteral.test.ts | 27 import { checkInstructions } from "../utils/base"; 37 expect(checkInstructions(insns, expected)).to.be.true; 46 expect(checkInstructions(insns, expected)).to.be.true; 54 expect(checkInstructions(insns, expected)).to.be.true; 62 expect(checkInstructions(insns, expected)).to.be.true; 70 expect(checkInstructions(insns, expected)).to.be.true;
|
D | operationEqual.test.ts | 40 import { checkInstructions, compileMainSnippet } from "../utils/base"; 62 expect(checkInstructions(insns, expected)).to.be.true; 82 expect(checkInstructions(insns, expected)).to.be.true; 102 expect(checkInstructions(insns, expected)).to.be.true; 122 expect(checkInstructions(insns, expected)).to.be.true; 142 expect(checkInstructions(insns, expected)).to.be.true; 162 expect(checkInstructions(insns, expected)).to.be.true; 182 expect(checkInstructions(insns, expected)).to.be.true; 203 expect(checkInstructions(insns, expected)).to.be.true; 224 expect(checkInstructions(insns, expected)).to.be.true;
|
D | cmpBinary.test.ts | 51 import { checkInstructions, compileMainSnippet } from "../utils/base"; 76 expect(checkInstructions(insns, expected)).to.be.true; 99 expect(checkInstructions(insns, expected)).to.be.true; 122 expect(checkInstructions(insns, expected)).to.be.true; 145 expect(checkInstructions(insns, expected)).to.be.true; 168 expect(checkInstructions(insns, expected)).to.be.true; 191 expect(checkInstructions(insns, expected)).to.be.true; 214 expect(checkInstructions(insns, expected)).to.be.true; 237 expect(checkInstructions(insns, expected)).to.be.true; 256 expect(checkInstructions(insns, expected)).to.be.true; [all …]
|
D | typeOf.test.ts | 34 import { checkInstructions, compileMainSnippet } from "../utils/base"; 49 expect(checkInstructions(insns, expected)).to.be.true; 70 expect(checkInstructions(insns, expected)).to.be.true; 84 expect(checkInstructions(insns, expected)).to.be.true; 98 expect(checkInstructions(insns, expected)).to.be.true;
|
D | prefixOperations.test.ts | 41 import { checkInstructions, compileMainSnippet } from "../utils/base"; 64 expect(checkInstructions(insns, expected)).to.be.true; 85 expect(checkInstructions(insns, expected)).to.be.true; 105 expect(checkInstructions(insns, expected)).to.be.true; 125 expect(checkInstructions(insns, expected)).to.be.true; 149 expect(checkInstructions(insns, expected)).to.be.true; 169 expect(checkInstructions(insns, expected)).to.be.true;
|
D | call.test.ts | 44 import { checkInstructions, compileMainSnippet } from "../utils/base"; 61 expect(checkInstructions(insns, expected)).to.be.true; 80 expect(checkInstructions(insns, expected)).to.be.true; 102 expect(checkInstructions(insns, expected)).to.be.true; 139 expect(checkInstructions(insns, expected)).to.be.true; 164 expect(checkInstructions(insns, expected)).to.be.true; 174 expect(checkInstructions(insns, expected)).to.be.true;
|
D | new.test.ts | 36 import { checkInstructions, compileMainSnippet } from "../utils/base"; 54 expect(checkInstructions(insns, expected)).to.be.true; 71 expect(checkInstructions(insns, expected)).to.be.true; 92 expect(checkInstructions(insns, expected)).to.be.true; 115 expect(checkInstructions(insns, expected)).to.be.true; 144 expect(checkInstructions(insns, expected)).to.be.true;
|
D | regular.test.js | 25 import { checkInstructions, compileMainSnippet } from "../utils/base"; 36 expect(checkInstructions(insns, expected)).to.be.true; 47 expect(checkInstructions(insns, expected)).to.be.true;
|
D | parenthesized.test.ts | 29 import { checkInstructions, compileMainSnippet } from "../utils/base"; 45 expect(checkInstructions(insns, expected)).to.be.true; 58 expect(checkInstructions(insns, expected)).to.be.true;
|
D | elementAccess.test.ts | 37 import { checkInstructions, compileMainSnippet } from "../utils/base"; 56 expect(checkInstructions(insns, expected)).to.be.true; 76 expect(checkInstructions(insns, expected)).to.be.true; 100 expect(checkInstructions(insns, expected)).to.be.true;
|
D | propertyAccess.test.ts | 36 import { checkInstructions, compileAllSnippet, compileMainSnippet } from "../utils/base"; 58 expect(checkInstructions(insns, expected)).to.be.true; 79 expect(checkInstructions(insns, expected)).to.be.true; 117 expect(checkInstructions(insns, expected)).to.be.true; 159 expect(checkInstructions(insns, expected)).to.be.true; 200 expect(checkInstructions(insns, expected)).to.be.true;
|
D | logicBinary.test.ts | 33 import { checkInstructions, compileMainSnippet } from "../utils/base"; 56 expect(checkInstructions(insns, expected)).to.be.true; 77 expect(checkInstructions(insns, expected)).to.be.true;
|
D | thisKeyWord.test.ts | 27 import { checkInstructions, compileMainSnippet, SnippetCompiler } from "../utils/base"; 46 expect(checkInstructions(insns, expected)).to.be.true; 61 expect(checkInstructions(insns, expected)).to.be.true;
|
/arkcompiler/ets_frontend/ts2panda/tests/ |
D | hoist.test.ts | 36 import { checkInstructions, compileMainSnippet, SnippetCompiler } from "./utils/base"; 54 expect(checkInstructions(insns, expected)).to.be.true; 78 expect(checkInstructions(insns, expected)).to.be.true; 93 expect(checkInstructions(insns, expected)).to.be.true; 109 expect(checkInstructions(insns, expected)).to.be.true; 127 expect(checkInstructions(insns, expected)).to.be.true; 147 expect(checkInstructions(insns!, expected)).to.be.true; 165 expect(checkInstructions(insns!, expected)).to.be.true; 182 expect(checkInstructions(insns.slice(3, 5), expected)); 202 expect(checkInstructions(insns.slice(3, 5), expected)); [all …]
|
D | esmodule.test.ts | 20 import { checkInstructions, SnippetCompiler } from "./utils/base"; 62 expect(checkInstructions(funcMainInsns, expected)).to.be.true; 78 expect(checkInstructions(funcMainInsns, expected)).to.be.true; 113 expect(checkInstructions(funcMainInsns, expected)).to.be.true;
|
/arkcompiler/ets_frontend/ts2panda/tests/statements/ |
D | functionDeclaration.test.ts | 40 import { checkInstructions, compileAllSnippet, SnippetCompiler } from "../utils/base"; 58 expect(checkInstructions(insns, expected)).to.be.true; 78 expect(checkInstructions(insns, expected)).to.be.true; 99 expect(checkInstructions(insns!, expected)).to.be.true; 117 expect(checkInstructions(insns, expected)).to.be.true; 148 expect(checkInstructions(insns, expectedMain)).to.be.true; 151 expect(checkInstructions(insns, expectedFunc)).to.be.true; 175 expect(checkInstructions(insns, expectedFunc)).to.be.true;
|
D | variableDeclaration.test.ts | 41 import { checkInstructions, SnippetCompiler } from "../utils/base"; 60 expect(checkInstructions(insns, expected)).to.be.true; 76 expect(checkInstructions(insns, expected)).to.be.true; 92 expect(checkInstructions(insns, expected)).to.be.true; 110 expect(checkInstructions(insns, expected)).to.be.true; 126 expect(checkInstructions(insns, expected)).to.be.true; 177 expect(checkInstructions(insns, expected)).to.be.true; 195 expect(checkInstructions(insns, expected)).to.be.true; 212 expect(checkInstructions(insns, expected)).to.be.true; 229 expect(checkInstructions(insns, expected)).to.be.true; [all …]
|
D | while.test.ts | 38 import { checkInstructions, compileMainSnippet } from "../utils/base"; 57 expect(checkInstructions(insns, expected)).to.be.true; 82 expect(checkInstructions(insns, expected)).to.be.true; 116 expect(checkInstructions(insns, expected)).to.be.true; 148 expect(checkInstructions(insns, expected)).to.be.true; 181 expect(checkInstructions(insns, expected)).to.be.true;
|
D | switch.test.ts | 36 import { checkInstructions, compileMainSnippet, SnippetCompiler } from "../utils/base"; 62 expect(checkInstructions(insns, expected)).to.be.true; 101 expect(checkInstructions(insns, expected)).to.be.true; 139 expect(checkInstructions(insns, expected)).to.be.true; 174 expect(checkInstructions(insns, expected)).to.be.true; 212 expect(checkInstructions(insns, expected)).to.be.true; 255 expect(checkInstructions(insns, expected)).to.be.true;
|
D | tryCatch.test.ts | 34 import { checkInstructions, compileMainSnippet } from "../utils/base"; 64 expect(checkInstructions(insns, expected)).to.be.true; 95 expect(checkInstructions(insns, expected)).to.be.true; 130 expect(checkInstructions(insns, expected)).to.be.true; 177 expect(checkInstructions(insns, expected)).to.be.true;
|
D | debugger.test.ts | 24 import { checkInstructions, compileMainSnippet } from "../utils/base"; 33 expect(checkInstructions(insns, expected)).to.be.true;
|
/arkcompiler/ets_frontend/ts2panda/tests/watch_expression/ |
D | addWatch.test.ts | 69 import { checkInstructions, compileMainSnippet, compileAllSnippet } from "../utils/base"; 95 expect(checkInstructions(insns, expected)).to.be.true; 126 expect(checkInstructions(insns, expected)).to.be.true; 148 expect(checkInstructions(insns, expected)).to.be.true; 169 expect(checkInstructions(insns, expected)).to.be.true; 201 expect(checkInstructions(insns, expected)).to.be.true; 234 expect(checkInstructions(insns, expected)).to.be.true; 260 expect(checkInstructions(insns, expected)).to.be.true; 292 expect(checkInstructions(insns, expected)).to.be.true; 313 expect(checkInstructions(insns, expected)).to.be.true; [all …]
|