Home
last modified time | relevance | path

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

/zcbor-3.7.0/.github/workflows/
Drun-tests.yaml14 merge-test-1:
35 merge-test-2:
61 merge-test-3:
91 merge-test-4:
93 name: Merge tests 4 (Test repo files)
113 release-test-1:
117 - merge-test-1
118 - merge-test-2
119 - merge-test-3
120 - merge-test-4
[all …]
/zcbor-3.7.0/tests/fuzz/
Dreadme.md7 ./test-libfuzzer.sh 30
12 ./test-afl.sh 30
DCMakeLists.txt17 set(TEST_CASE "pet" CACHE STRING "Test case (pet or manifest12)")
99 message(FATAL_ERROR "Invalid test case")
Dtest-afl.sh7 echo "Usage: $0 <seconds to run> <bit width> <test case>"
/zcbor-3.7.0/tests/encode/test2_simple/
Dtestcase.yaml4 tags: zcbor encode test
7 tags: zcbor encode canonical test
/zcbor-3.7.0/tests/scripts/
Dtest_versions.py22 """For release branches - Test that all version numbers have been updated."""
29 "This test is meant to be run on a release branch on the form 'release/x.y.z'.")
Dtest_repo_files.py163 raise SkipTest('This test requires the current branch to be pushed to Github.')
166 # Use .parent to test relative links (links to repo files):
Dtest_zcbor.py608 …self.assertEqual(dumps({"test": bytes.fromhex("1234abcd"), "test2": cbor2.CBORTag(1234, bytes.from…
/zcbor-3.7.0/scripts/
Drequirements.txt2 -r requirements-test.txt
/zcbor-3.7.0/tests/
Dverbose_test.sh1 ./test.sh -x VERBOSE=ON -x ASSERTS=ON $*
/zcbor-3.7.0/tests/cases/
Dmap_bstr.cddl2 "test" => bstr,
Dmap_bstr.yaml1 test:
Dcorner_cases.cddl86 Level2 = [2**3Level3] ; Use ** here to test backwards compatibility.
142 ; Test using ranges (greater/less than) on floats.
194 ; Test combination of map + optional + * + size check
/zcbor-3.7.0/tests/decode/test3_simple/src/
Dmain.c123 /* Test vector discovered via fuzzing with AFL. */
130 /* Test vector discovered via fuzzing with AFL. */
137 /* Test vector discovered via fuzzing with AFL. */
144 /* Test vector discovered via fuzzing with AFL. */
151 /* Test vector discovered via fuzzing with AFL. */
158 /* Test vector discovered via fuzzing with AFL. */
168 /* Test vector discovered via fuzzing with AFL. */
175 /* Test vector discovered via fuzzing with AFL. */
182 /* Test vector discovered via fuzzing with AFL. */
191 /* Test vector discovered via fuzzing with AFL. */
[all …]
/zcbor-3.7.0/.github/actions/prepare_and_run_tests/
Daction.yaml47 pip3 install -U -r $ZEPHYR_BASE/scripts/requirements-build-test.txt
48 pip3 install -U -r $ZEPHYR_BASE/scripts/requirements-run-test.txt
/zcbor-3.7.0/tests/encode/test2_simple/src/
Dmain.c33 /* This test uses generated code to encode a 'Pet' instance. It populates the
69 /* This test uses the CBOR encoding library directly, i.e. no generated code.
/zcbor-3.7.0/tests/decode/test5_corner_cases/
Dfloats.py7 # This file was used to generate the floating point test cases.
/zcbor-3.7.0/tests/decode/test8_suit12/src/
Dmain.c11 /* Test vector discovered via fuzzing with AFL. */
51 /* Test vector discovered via fuzzing with AFL. */
77 /* Test vector discovered via fuzzing with AFL. */
181 /* Test vector discovered via fuzzing with AFL. */
205 /* Test vector discovered via fuzzing with AFL. */
229 /* Test vector discovered via fuzzing with AFL. */
250 /* Test vector discovered via fuzzing with AFL. */
287 /* Test vector discovered via fuzzing with AFL. */
306 /* Test vector discovered via fuzzing with AFL. */
344 /* Test vector discovered via fuzzing with AFL. */
[all …]
/zcbor-3.7.0/tests/unit/test1_unit_tests/src/
Dmain.c394 * functions are called to test that they respond correctly to the situation.
457 // Start positive test in ZTEST()
539 /** This test creates the following structure, wrapped in a BSTR:
1208 /* Test empty map */ in ZTEST()
1216 /* Test single entry map */ in ZTEST()
1225 /* Test that looping stops both if it starts at the very start and very end of the map. in ZTEST()
1226 * Also test ZCBOR_ERR_MAP_MISALIGNED. */ in ZTEST()
1241 /* Test that state_d3 fails because of missing flags. */ in ZTEST()
1252 /* Test premature map end */ in ZTEST()
1276 /* Test a large map, including nesting. */ in ZTEST()
[all …]
/zcbor-3.7.0/
DRELEASE_NOTES.md247 * Test on multiple Python versions
249 * Add/enable test for signature check of SUIT manifests.
340 * New unit test directory and project. Tests:
DREADME.md268 For running the tests locally, there is [`tests/test.sh`](tests/test.sh) which runs all above tests.
/zcbor-3.7.0/tests/unit/test3_float16/src/
Dmain.c144 /* Test a single value, and its negative counterpart. */
/zcbor-3.7.0/tests/decode/test5_corner_cases/src/
Dmain.c255 /** Test that when unions contain tagged elements (with #6.x), without
1575 /* Test using ranges (greater/less than) on floats. */
1641 /* Test float16-32 and float32-64 */
2084 /* Test that zcbor generates variable names that don't contain unsupported characters. */
/zcbor-3.7.0/tests/encode/test3_corner_cases/src/
Dmain.c1265 /* Test using ranges (greater/less than) on floats. */
1529 /* Test that zcbor generates variable names that don't contain unsupported characters. */
/zcbor-3.7.0/zcbor/
Dzcbor.py1327 def _decode_assert(self, test, msg=""): argument
1328 if not test: