diff options
author | Josh Haberman <haberman@google.com> | 2013-02-15 16:27:18 -0800 |
---|---|---|
committer | Josh Haberman <haberman@google.com> | 2013-02-15 16:27:18 -0800 |
commit | 7d3e2bd2c4cfd1296d1d6f996d7548de26540d41 (patch) | |
tree | b4b35967b3322c65cfb1a32220e8718de09d85fc /tests/test_varint.c | |
parent | ea198bdcf947ba4bd51474bdd4f7b82b5e4cf41d (diff) |
Sync with 8 months of Google-internal development.
Many things have changed and been simplified.
The memory-management story for upb_def and upb_handlers
is much more robust; upb_def and upb_handlers should be
fairly stable interfaces now. There is still much work
to do for the runtime component (upb_sink).
Diffstat (limited to 'tests/test_varint.c')
-rw-r--r-- | tests/test_varint.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/tests/test_varint.c b/tests/test_varint.c index 0fc93f0..bdbc573 100644 --- a/tests/test_varint.c +++ b/tests/test_varint.c @@ -86,16 +86,19 @@ static void test_varint_decoder(upb_decoderet (*decoder)(const char*)) { printf("ok.\n"); \ } \ -TEST_VARINT_DECODER(branch32); -TEST_VARINT_DECODER(branch64); +TEST_VARINT_DECODER(check2_branch32); +TEST_VARINT_DECODER(check2_branch64); TEST_VARINT_DECODER(check2_wright); TEST_VARINT_DECODER(check2_massimino); -int main() { - test_branch32(); - test_branch64(); +int run_tests(int argc, char *argv[]) { + UPB_UNUSED(argc); + UPB_UNUSED(argv); + test_check2_branch32(); + test_check2_branch64(); test_check2_wright(); test_check2_massimino(); + return 0; } #if 0 |