Skip to content
Fetching latest commit…
Cannot retrieve the latest commit at this time.
..
Failed to load latest commit information.
CMakeLists.txt
Makefile.am
README
common-test-arrays.h
cxx-generate-packed-data.cc
example-client.c
example-server.c
example.database
test-full.proto
test-generated-code.c
test-generated-code2.c
test-rpc.c
test.proto

README

There are two tests.

"test-generated-code" is a simple test that can easily be adapted.
"test-generated-code2" is a comprehensive test.

--

If you have a quick problem, hack at "test-generated-code";
but i don't want that file to be too hard to navigate,
so you must eventually add a test to "test-generated-code2".

I appreciate additional test cases!
Please submit them as issues in the tracking system, or email me.

--

Here are the files involved in each test:

test-generated-code
   test.proto                   Protobuf declarations for the simple test.
   test-generated-code.c        Actual test code.
   test-generated-code          Test executable.
   generated-code/test.pb-c.h   Protobuf-C generated code based on test.proto
   generated-code/test.pb-c.c   Protobuf-C generated code based on test.proto

test-generated-code2
   test-full.proto              Protobuf declarations for the exhaustive test.
   cxx-generate-packed-data.cc  C++ code to generated data to compare with C.
   cxx-generate-packed-data     Program whichs generates data (using C++ api)
   generated-code/test-full-cxx-output.inc  Output of cxx-generate-packed-data.
   test-generated-code2.c       Actual test code.
   test-generated-code2         Test executable.
Something went wrong with that request. Please try again.