Home
last modified time | relevance | path

Searched refs:assertTrue (Results 1 - 17 of 17) sorted by relevance

/arkcompiler/runtime_core/static_core/tests/vm-benchmarks/tests/
H A Dtest_doclet.py203 test.assertTrue(sts is not None)
205 test.assertTrue(parser.state is not None)
206 test.assertTrue('ArraySort' == parser.state.name)
207 test.assertTrue(2 == len(parser.state.params))
208 test.assertTrue(2 == len(parser.state.benches))
213 TestCase().assertTrue(sts is not None)
220 TestCase().assertTrue(sts is not None)
229 test.assertTrue(sts is not None)
231 test.assertTrue(parser.state is not None)
232 test.assertTrue('
[all...]
H A Dtest_unit.py68 test.assertTrue(-13 == res.execution_status)
69 test.assertTrue(1 == res.iterations_count)
70 test.assertTrue(1168 == res.mem_bytes)
71 test.assertTrue(0 == res.code_size)
72 test.assertTrue(0.0 == res.compile_time)
73 test.assertTrue(90.999 == res.mean_time)
75 test.assertTrue(95.587 == run.avg_time)
76 test.assertTrue(90.999 == run.iterations[0])
77 test.assertTrue(0 == len(run.warmup))
78 test.assertTrue('n
[all...]
H A Dtest_cli.py38 test.assertTrue(args.command == Command.GEN)
39 test.assertTrue(args.langs == {'blah'})
40 test.assertTrue(args.get('platform') is None)
43 test.assertTrue(args.command == Command.ALL)
44 test.assertTrue(args.langs == {'blah', 'foo'})
45 test.assertTrue(args.src_langs == {'.this', '.that'})
46 test.assertTrue(args.tests == set())
47 test.assertTrue(args.tags == set())
48 test.assertTrue(args.get('platform') == 'fake')
63 test.assertTrue(OptFlag
[all...]
H A Dtest_helpers.py39 TestCase().assertTrue(a is b)
44 test.assertTrue("There" == remove_prefix("HelloThere", "Hello"))
45 test.assertTrue("NotMatched" == remove_prefix("NotMatched", "nOT"))
74 test.assertTrue(a.z.name == 'N')
75 test.assertTrue(a.z.value == 'V')
77 test.assertTrue('{"a": {"x": "XXX", "y": 123, "z": ["N", "V"]}, "b": "BBB"}' == \
82 test.assertTrue(a.z.name == 3)
83 test.assertTrue(a.z.value == 4)
95 test.assertTrue(C(**obj).n == 1)
97 test.assertTrue(
[all...]
H A Dtest_result.py256 test.assertTrue(2 == len(rep.tests))
257 test.assertTrue(6 == len(rep.tests[0].execution_forks[0].iterations))
269 test.assertTrue('Test_One_Blah | 9.48e+04 | 9.74e+04 | 8.93e+04 | Passed |' \
271 test.assertTrue('2 tests; 0 failed; 0 excluded; ' \
285 TestCase().assertTrue('Test_Two ; Time: 9.49e+04->9.49e+04(same); ' \
303 test.assertTrue(vmb_rep.total_cnt == 1)
304 test.assertTrue(vmb_rep.fail_cnt == 0)
305 test.assertTrue(vmb_rep.rss_gm == 0)
306 test.assertTrue(vmb_rep.time_gm == 2.0)
307 test.assertTrue(vmb_re
[all...]
H A Dtest_shell.py43 TestCase().assertTrue(res.grep(this_file) == this_file)
51 TestCase().assertTrue(res.grep(this_file) == this_file)
58 test.assertTrue(res.tm > 0.9)
59 test.assertTrue(res.rss > 0)
H A Dtest_gc_ark_pause.py35 self.assertTrue(isinstance(ev, ArkPauseEvent), 'PauseEvent should be emitted')
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/utils/
H A Dmetainformation.py80 test.assertTrue(len(meta) > len(META_START_STRING) + len(META_END_STRING))
81 test.assertTrue(meta.startswith(META_START_STRING) and meta.endswith(META_END_STRING))
88 test.assertTrue(isinstance(data, dict), "Invalid data format")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/test/multiple_config_test/
H A Dmultiple_config_test.py30 self.assertTrue(key in dict2)
144 self.assertTrue(warning.find("config-3.yaml' replaces value") > 0)
179 self.assertTrue(warning.find("config-1.yaml' replaces value") > 0)
214 self.assertTrue(warning.find("config-4.yaml") > 0 and warning.find("provides different type") > 0,
252 self.assertTrue(warning.find("config-5.yaml") > 0 and warning.find("merges value") > 0,
/arkcompiler/runtime_core/static_core/plugins/ets/tests/interop_js/gtest_plugin/
H A Dgtest_launcher.js16 globalThis.ASSERT_TRUE = function assertTrue(v, msg = '') { function
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/ets_templates/
H A Dbenchmark.py50 TestCase().assertTrue(len(rendered_tests) > 0, f"Internal error: there should be tests in {self.__name}")
/arkcompiler/ets_runtime/ecmascript/js_vm/
H A Dmain.cpp151 Local<FunctionRef> assertTrue = FunctionRef::New(vm, AssertTrue); in ExecutePandaFile() local
152 globalObj->Set(vm, StringRef::NewFromUtf8(vm, "assert_true"), assertTrue); in ExecutePandaFile()
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/stdlib_templates/
H A Dstdlib_templates_generator.py72 TestCase().assertTrue(len(tests) > 0, "Internal error: there should be tests")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/hermes/
H A Dutil_hermes.py105 TestCase().assertTrue(actual_output is not None, "Expected some output to check")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/
H A Drunner_file_based.py236 TestCase().assertTrue(isinstance(test_result, TestFileBased))
343 TestCase().assertTrue(test_result.fail_kind)
H A Drunner_base.py248 TestCase().assertTrue(self.test_root, "TEST_ROOT not set to correct value")
/arkcompiler/runtime_core/static_core/tests/tests-u-runner/runner/plugins/ets/
H A Dtest_ets.py271 TestCase().assertTrue(

Completed in 6 milliseconds