Home
last modified time | relevance | path

Searched full:comment (Results 1 – 25 of 329) sorted by relevance

12345678910>>...14

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/testing/
Darktest.ets45 * @param comment optional comment that will be printed in case of failed assertion
48 export function assertTrue(condition: boolean, comment?: string): void {
49 assertCommon(condition, "expected true but was false", comment)
55 * @param comment optional comment that will be printed in case of failed assertion
58 export function assertFalse(condition: boolean, comment?: string): void {
59 assertCommon(!condition, "expected false but was true", comment)
66 * @param comment optional comment will be printed if equality failed
69 export function assertEQ<T1, T2>(value1: T1, value2: T2, comment?: string): void {
70 …mon(value1 === value2, "expected equality failed: '" + value1 + "' === '" + value2 + "'", comment);
77 * @param comment optional comment will be printed if non-equality failed
[all …]
/arkcompiler/ets_frontend/arkguard/test/grammar/compact/
DnumericLiteralsWithTrailingDecimalPoints.ts30 var compactTest10 = 0 /* comment */.toString();
31 var compactTest11 = 3. /* comment */.toString();
33 /* comment */ .toString();
35 /* comment */.toString();
40 /* comment */.toString();
42 // comment
45 // comment
47 var compactTest16 = 3 // comment time
49 var compactTest17 = 3. // comment time again
/arkcompiler/ets_frontend/ets2panda/linter/test/main/
Dcomment_test.ets18 * This is a comment.
20 property = 123; // This is a comment.
21 // This is a comment.
22 arr = [1, 0]; // This is a comment.
Dcomment_test.ets.migrate.ets18 * This is a comment.
20 property: number = 123.0; // This is a comment.
21 // This is a comment.
22 arr: number[] = [1.0, 0.0]; // This is a comment.
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets-templates/02.lexical_elements/10.comments/
Dmulti_line_comment.ets30 // /* one-liner comment
32 // */ one-liner comment
39 comment
61 comment
62 // another comment
72 // this is not a comment
73 /* this is not a comment either */
Dcombined2.ets22 let i: int = // comment /* comment
23 // comment
Dcombined3.ets22 let i: int = // comment
23 // comment */ comment
Dcombined1.ets22 let i: int = /* comment
23 // comment */ 5;
/arkcompiler/runtime_core/static_core/plugins/ets/tests/debugger/
DCMakeLists.txt27 COMMENT "${PROJECT_NAME}: create venv"
45 COMMENT "${PROJECT_NAME}: install dependinces"
53 COMMENT "${PROJECT_NAME}: mypy"
65 COMMENT "${PROJECT_NAME}: flake8"
72 COMMENT "${PROJECT_NAME}: black"
107 COMMENT "${PROJECT_NAME}: Running tests"
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/
Dspec.rb48 @orphaned << { 'file' => f, 'error' => e, 'comment' => e.backtrace }
190 …ned << { 'file' => file, 'error' => 'Bad test format, expected array of titles', 'comment' => raw }
213 …'file' => file, 'error' => 'Group with given title not found in the ISA', 'comment' => test_group }
223 'comment' => test_group }
238 …@orphaned << { 'file' => file, 'error' => 'Given instruction not found in the ISA', 'comment' => t…
242 …@orphaned << { 'file' => file, 'error' => 'Given instruction is non-testable', 'comment' => test_i…
261 'comment' => test_descr }
265 …@orphaned << { 'file' => file, 'error' => 'Given description is non-testable', 'comment' => test_d…
284 'comment' => test_exc }
288 …< { 'file' => file, 'error' => 'Given exception assertion is non-testable', 'comment' => test_exc }
[all …]
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/
Dspec.rb48 @orphaned << { 'file' => f, 'error' => e, 'comment' => e.backtrace }
190 …ned << { 'file' => file, 'error' => 'Bad test format, expected array of titles', 'comment' => raw }
213 …'file' => file, 'error' => 'Group with given title not found in the ISA', 'comment' => test_group }
223 'comment' => test_group }
238 …@orphaned << { 'file' => file, 'error' => 'Given instruction not found in the ISA', 'comment' => t…
242 …@orphaned << { 'file' => file, 'error' => 'Given instruction is non-testable', 'comment' => test_i…
261 'comment' => test_descr }
265 …@orphaned << { 'file' => file, 'error' => 'Given description is non-testable', 'comment' => test_d…
284 'comment' => test_exc }
288 …< { 'file' => file, 'error' => 'Given exception assertion is non-testable', 'comment' => test_exc }
[all …]
/arkcompiler/ets_frontend/ets2panda/test/parser/js/
Dtest-comment-expected.txt8 "program": "test-comment.js"
13 "program": "test-comment.js"
/arkcompiler/ets_frontend/ets2panda/public/headers_parser/
Dprepare_header.py27 # Remove one-line comment
35 … debug_log(f"Removing single-line comment at end of file:\n'{data[double_slash_pos:end_of_line]}'")
40 # Remove multi-line comment
47 raise RuntimeError("Error find end of multiline-comment")
/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/src/vmb/
Ddoclet.py130 raise ValueError(f'Multiple @{d} doclets in same comment')
138 f'@{d1.value} and @{d2.value} doclets in same comment')
153 def doclist(self, comment: str) -> List[NameVal]:
155 for line in comment.split("\n"):
238 def parse_comment(self, comment: str) -> None:
239 """Process all the @Stuff in multiline comment.
241 Assuming only one exclusive doclet in same comment
245 doclets = self.doclist(comment)
284 comment = ''
288 if not comment and \
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/cmake/
Dets_package.cmake89 COMMENT "${TARGET}: Convert ets files to ${OUTPUT_ABC}"
104 COMMENT "${TARGET}: Convert ets files to ${CUR_OUTPUT_ABC}"
114 COMMENT "Linking ABC files: ${ABC_FILES}"
123 COMMENT "${TARGET}: Verify abc file ${OUTPUT_ABC}"
131 COMMENT "${TARGET}: Copy abc file to ${OUTPUT_ABC}"
141 COMMENT "Create ${OUTPUT_ZIP}"
152 COMMENT "Copy ${OUTPUT_ZIP} to ${RELEASE_ZIP}"
/arkcompiler/ets_frontend/ets2panda/test/unit/lsp/
Dtodo_comments_test.cpp121 const char *const kFileName = "block-comment.sts"; in TEST_F()
150 const char *const kFileName = "multiline-block-comment.sts"; in TEST_F()
178 const char *const kFileName = "non-comment.sts"; in TEST_F()
179 const char *const kFileContent = "let s = \"TODO: not a comment\""; in TEST_F()
209 // TODO: this is a todo comment in TEST_F()
213 const char *const kExpectedTodoMessage = "TODO: this is a todo comment"; in TEST_F()
252 // TODO: this is a duplicate todo comment in TEST_F()
254 // TODO: this is a duplicate todo comment in TEST_F()
256 const char *const kExpectedMessage = "TODO: this is a duplicate todo comment"; in TEST_F()
289 const char *const kFileName = "non-comment.sts"; in TEST_F()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dhcr_circuit_builder.cpp56 const char* comment) in CallStub() argument
67 result = Call(cs, glue, target, depend, args, hirGate, comment); in CallStub()
69 result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallStub()
75 const char *comment) in CallCommonStub() argument
85 result = Call(cs, glue, target, depend, args, hirGate, comment); in CallCommonStub()
87 result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallCommonStub()
132 const std::vector<GateRef> &args, GateRef hirGate, const char* comment) in Call() argument
175 …Ref result = GetCircuit()->NewGate(meta, machineType, inputs.size(), inputs.data(), type, comment); in Call()
182 const char* comment) in CallBCHandler() argument
189 GateRef result = Call(cs, glue, target, depend, args, Circuit::NullGate(), comment); in CallBCHandler()
[all …]
Dcircuit.cpp124 const GateRef inList[], GateType type, const char* comment) in NewGate() argument
145 if (comment != nullptr) { in NewGate()
146 AddComment(result, std::string(comment)); in NewGate()
156 …Circuit::NewGate(const GateMetaData *meta, const std::vector<GateRef> &inList, const char* comment) in NewGate() argument
158 …turn NewGate(meta, MachineType::NOVALUE, inList.size(), inList.data(), GateType::Empty(), comment); in NewGate()
162 const std::initializer_list<GateRef>& args, GateType type, const char* comment) in NewGate() argument
164 return NewGate(meta, machineType, args.size(), args.begin(), type, comment); in NewGate()
168 const std::vector<GateRef>& inList, GateType type, const char* comment) in NewGate() argument
170 return NewGate(meta, machineType, inList.size(), inList.data(), type, comment); in NewGate()
173 …uit::NewGate(const GateMetaData *meta, MachineType machineType, GateType type, const char* comment) in NewGate() argument
[all …]
/arkcompiler/runtime_core/static_core/tests/panda/
DCMakeLists.txt20COMMENT "Creating the binary directory ${CMAKE_CURRENT_BINARY_DIR}/${TEST_BINARY_SUBDIR} for panda…
23 add_custom_target(panda_cli_options_test_suite COMMENT "Running panda options cli tests")
44 COMMENT "Build Pandasm-based test for the panda cli"
/arkcompiler/ets_frontend/ets2panda/compiler/scripts/
Dsignatures.yaml55 comment: ETS annotation type
58 comment: ETS annotation type
61 comment: ETS annotation type
64 comment: ETS annotation type
67 comment: ETS annotation type
70 comment: ETS annotation type
73 comment: ETS annotation key
76 comment: ETS annotation key
79 comment: ETS annotation key
82 comment: ETS annotation key
[all …]
/arkcompiler/runtime_core/static_core/tests/cts-coverage-tool/lib/templates/
Dorphaned_md.erb20 <% if v['comment'] != '' %>
21 `<%= v['comment'] %>`
/arkcompiler/runtime_core/tests/cts-coverage-tool/lib/templates/
Dorphaned_md.erb20 <% if v['comment'] != '' %>
21 `<%= v['comment'] %>`
/arkcompiler/runtime_core/static_core/tests/benchmarks/
DCMakeLists.txt79 COMMENT "Running benchmarks in Panda Assembly in interpreter")
81 COMMENT "Running benchmarks in Panda Assembly in Irtoc interpreter")
83 COMMENT "Running benchmarks in Panda Assembly with enforced JIT")
85 COMMENT "Running benchmarks in Panda Assembly with AOT")
87 COMMENT "Running benchmarks in Panda Assembly")
99 COMMENT "Gathering compiler's statistics in benchmarks-AOT")
300 COMMENT "Update VMB, all benchmarks"
304 COMMENT "Update VMB, only JITtable benchmarks"
/arkcompiler/runtime_core/static_core/cmake/
DDoxygen.cmake16 add_custom_target(doc_build COMMENT "Building doxygen documentation")
56 COMMENT "Generating API documentation with Doxygen"
/arkcompiler/runtime_core/cmake/
DDoxygen.cmake16 add_custom_target(doc_build COMMENT "Building doxygen documentation")
56 COMMENT "Generating API documentation with Doxygen"

12345678910>>...14