TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
QCBOR
/
c5fef6875a8b85946593274df723f1c8cf9431be
/
test
c5fef68
Refine use of integer variables to quiet static analyzers and reduce object code size a little
by Laurence Lundblade
· 6 years ago
29501b7
rename RunTest() and PrintSize() so they are not duplicate with t_cose
by Laurence Lundblade
· 6 years ago
ee85174
Documentation, comments and code formatting improvements
by Laurence Lundblade
· 6 years ago
17af490
Fix gcc compiler warning in test code
by Laurence Lundblade
· 6 years ago
59289e5
Add support for decimal fractions and big floats (#19)
by Laurence Lundblade
· 6 years ago
a1ad878
Fix warning about long long conversion to double; this was also a bug that affected a 30 second range of dates 10 billion years in the future or past
by Laurence Lundblade
· 6 years ago
e9482dd
Officially support udataType == QCBOR_TYPE_NONE on decoding errors
by Laurence Lundblade
· 6 years ago
21d1d81
Add test for too-large negative integer (and remove todo for this test)
by Laurence Lundblade
· 6 years ago
6216b1b
Fix minor bug in test framework
by Laurence Lundblade
· 6 years ago
a65b482
Minor clean up of test code headers
by Laurence Lundblade
· 6 years ago
9916b1b
Fix bug decoding empty arrays and maps (#16)
by Laurence Lundblade
· 6 years ago
bb1062e
Improve error handling for not well-formed CBOR
by Laurence Lundblade
· 6 years ago
5d82788
Fix map/array encoding with length 31
by Jan Jongboom
· 6 years ago
47d86c5
Add encode test for indefinite length array/map
by Jan Jongboom
· 6 years ago
3a6042e
Reinstate DecodeFailure tests; Minor decode error handling improvement
by Laurence Lundblade
· 6 years ago
30dd0ba
Add encode functions to check for NULL output buf and internal error state
by Laurence Lundblade
· 6 years ago
077475f
Large public header documentataion improvement
by Laurence Lundblade
· 6 years ago
da53227
Add QCBOREncode_AddBytesLenOnly(), special for COSE sig verification
by Laurence Lundblade
· 6 years ago
83f5b7f
bstr wrapping now works as needed for COSE hashing / signing
by Laurence Lundblade
· 6 years ago
d5e101e
Add UsefulBuf_IsValue which checks all bytes in a UsefulBufC for a value.
by Laurence Lundblade
· 6 years ago
126dab4
Merge branch 'master' of https://github.com/laurencelundblade/QCBOR
by Laurence Lundblade
· 6 years ago
1d7eb63
Redesign MemPool to fix memory access alignment bug and allocate all bug
by Laurence Lundblade
· 6 years ago
035bd78
remove trailing spaces
by Laurence Lundblade
· 7 years ago
a3fd49f
Use SPDX-License-Identifier. (No change to code or license terms)
by Laurence Lundblade
· 7 years ago
9dddd9c
Merge branch 'integration' of https://github.com/laurencelundblade/QCBOR into integration
by Laurence Lundblade
· 7 years ago
df1c1cf
Get rid of extra spaces, minor documentation improvements, readme additions
by Laurence Lundblade
· 7 years ago
d396f62
Make RunTest() handle newlines in a portable way
by Laurence Lundblade
· 7 years ago
f0ea5f3
cosmetic changes; update copyright year and remove trailing spaces
by Laurence Lundblade
· 7 years ago
d39cd39
Fix to checking for encoded CBOR larger than UINT32_MAX. Make tests work on 32-bit machine
by Laurence Lundblade
· 7 years ago
2da5d08
fix copyright date for 2019
by Laurence Lundblade
· 7 years ago
5e39082
Test with gcc 8 and fix a few minor warnings and issues
by Laurence Lundblade
· 7 years ago
1f8b5b0
Remove malloc dependency in tests. Give list of tests to run on command line. Describe tests in README.md
by Laurence Lundblade
· 7 years ago
6d926af
Update copyright date to 2019 for last check-in
by Laurence Lundblade
· 7 years ago
7412f81
Minor bug fix to UsefulBuf_Tail; add tests to check UsefulBuf_Tail and test for BStr wrap with NULL output buf
by Laurence Lundblade
· 7 years ago
241705e
minor doc and style fix ups for encoder
by Laurence Lundblade
· 7 years ago
1661923
merge in optimized type and argument encode
by Laurence Lundblade
· 7 years ago
a2e2907
Reduce test time for main set of decoding tests. Allow the BigComprehensiveTest to be run separately
by Laurence Lundblade
· 7 years ago
df2836b
make SetMemPool always have the same overhead; fixes to AllocAllStringsTest
by Laurence Lundblade
· 7 years ago
b88b54a
separate out the decode malloc functions so qcbor has no relation to malloc at all
by Laurence Lundblade
· 7 years ago
660d66b
remove .o files that got accidentally added
by Laurence Lundblade
· 7 years ago
3aee3a3
remove all trailing tabs and spaces
by Laurence Lundblade
· 7 years ago
d4728fd
strings.h -> string.h (was just a typo)
by Laurence Lundblade
· 7 years ago
25c6c0a
clean up use of const with UsefulBuf. May solve compiler errors/warnings for some compilers / compiler options
by Laurence Lundblade
· 7 years ago
20db9c9
clean up some debug printf's in decoding tests
by Laurence Lundblade
· 7 years ago
12b495d
fixes for a couple of decode tests; add -Wparentheses to the makefile to catch these errors
by Laurence Lundblade
· 7 years ago
f2a58f6
complete encoder error tets
by Laurence Lundblade
· 7 years ago
1ef8b2d
bug fix for error handling for buffers larger than 4GB, test to verify such handling
by Laurence Lundblade
· 7 years ago
ea567ac
completed tests for string only labels decoder mode
by Laurence Lundblade
· 7 years ago
d61cbf3
bug fixes for decode maps-as-arrays mode
by Laurence Lundblade
· 7 years ago
ccfb8cd
Added test for decode maps as strings mode
by Laurence Lundblade
· 7 years ago
1544c48
remove left over comment and TODO
by Laurence Lundblade
· 7 years ago
8ca1369
stop using printf to output the data structure sizes
by Laurence Lundblade
· 7 years ago
88b6ece
support command line naming of test to run
by Laurence Lundblade
· 7 years ago
c6ec7ef
clean up a tiny TODO with the COSE Optional tag
by Laurence Lundblade
· 7 years ago
f653166
MemPool -- better tests, more robust pointer handling, update documentation
by Laurence Lundblade
· 7 years ago
067035b
big change for simpler encoding design for tags and labels
by Laurence Lundblade
· 7 years ago
972e59c
Increase allowed nesting level to 15
by Laurence Lundblade
· 7 years ago
30816f2
error codes are now enums because they show up in the debugger. Lots of documentation clean up for errors
by Laurence Lundblade
· 7 years ago
0595e93
rename QCBOREncode_Finish and QCBOREncode_Finish2
by Laurence Lundblade
· 7 years ago
67bd551
simpler float decoding to parallel simpler float encoding. Interface uses only a double
by Laurence Lundblade
· 7 years ago
3df8c7e
Big simplification of floating point API. Now does preferred encoding of floats like preferred encoding of ints per upcoming update to CBOR RFC
by Laurence Lundblade
· 7 years ago
0dbc917
Fixe formatting of license
by Laurence Lundblade
· 7 years ago
d92a616
Put under almost-BSD3 license
by Laurence Lundblade
· 7 years ago
5164a9e
merge new tag encoding design
by Laurence Lundblade
· 7 years ago
56230d1
new tagging encoding design complete and tested
by Laurence Lundblade
· 7 years ago
cafcfe1
New tag encoder basically working
by Laurence Lundblade
· 7 years ago
55a2483
SOme change to support encoding multiple tags; not yet complete
by Laurence Lundblade
· 7 years ago
b836efb
clean up the static expected results arrays for decode tests
by Laurence Lundblade
· 7 years ago
dbe6f21
big change with the new tag decoding -- unlimited number of tags, better handling of custom tags
by Laurence Lundblade
· 7 years ago
bb474be
Some clean up of floating point tests
by Laurence Lundblade
· 7 years ago
4fe9f31
Clean up naming of macros to create useful bugs from literals and on stack
by Laurence Lundblade
· 7 years ago
369b90a
Big general tidy-up of the encoder tests
by Laurence Lundblade
· 7 years ago
05ec57b
Useful_Set interface changed to be more in line with UsefulBulf conventions
by Laurence Lundblade
· 7 years ago
87854a9
fix merge cruft
by Laurence Lundblade
· 7 years ago
fab1b52
fix bugs indicating whether label/data was allocated; improve some decoding tests
by Laurence Lundblade
· 7 years ago
471a3fd
malloc-based string allocator is fixed, tested and working. Other cleanup
by Laurence Lundblade
· 7 years ago
a44d506
fix bug in using string allocator for all strings; tests for string allocator for all strings; documentation for..
by Laurence Lundblade
· 7 years ago
7e0d13b
A few more indefinite length tests; some code tidying up
by Laurence Lundblade
· 7 years ago
57dd144
bug fix for indefinite string labels; lots of tests running and passing for indefinite strings; seems to be complete
by Laurence Lundblade
· 7 years ago
6de3706
indefinite len arrays/maps are working! Added uNextNestLeve to QCBORItem
by Laurence Lundblade
· 7 years ago
5b8c585
more work on indefinite lengths and mem pool. All tests passing but more are needed and there is still an issue with indefinite length arrays and strings
by Laurence Lundblade
· 7 years ago
742df4a
fixed bug in indefinite length map decoding; more indefinite length map tests
by Laurence Lundblade
· 7 years ago
570fab5
Turn up compiler warnings to max and fix them; one more indefinite length test
by Laurence Lundblade
· 7 years ago
64c7c60
fix run_tests.h that was badly messed up
by Laurence Lundblade
· 7 years ago
19e0c80
add some indefinite array failure tests
by Laurence Lundblade
· 7 years ago
17ede40
Add another test for indef length arrays
by Laurence Lundblade
· 7 years ago
0fb6c6d
all tests seem to be integrated and working
by Laurence Lundblade
· 7 years ago
4d1ecba
fold basic and indefinite length tests in with the others; fix up Makefile
by Laurence Lundblade
· 7 years ago
0155b62
merge mem pool tests into decode tests
by Laurence Lundblade
· 7 years ago
684aec2
fold bstr wrap tests into encode tests
by Laurence Lundblade
· 7 years ago
2d85ce4
re organize tests for floating point mostly into one place; CAF floating point tests are passing
by Laurence Lundblade
· 7 years ago
7566b9f
bug fix for UsefulBuf_CopyOffset; complete tests for UsefulBuf
by Laurence Lundblade
· 7 years ago
dc6e28e
No type punning in UsefulBuf; bug fix in UsefulBuf; UsefulBuf tests running; get encode tests running
by Laurence Lundblade
· 7 years ago
9e3651c
bug fix in indefinite length array decoding; all but one tests are passing and this test kind of has a problem
by Laurence Lundblade
· 7 years ago
2ded3d9
Add tests from CAF exactly as they came from CAF. They are not yet being called and run
by Laurence Lundblade
· 7 years ago
041ffa5
Lots of progress on indefinite lengths; refactor decoder to get of weird semi-recursion
by Laurence Lundblade
· 7 years ago
f156fb8
get run_tests in the right directory
by Laurence Lundblade
· 7 years ago
781fd82
Merge floating point support in; new test runner
by Laurence Lundblade
· 7 years ago
7d40d81
tests passing for NaN float conversion to/from half precision
by Laurence Lundblade
· 7 years ago
2300b56
put bstrwrap tests in a separate file
by Laurence Lundblade
· 7 years ago
Next »