Home | History | Annotate | only in /external/protobuf/conformance
Up to higher level directory
NameDateSize
conformance.proto21-Aug-201810.4K
conformance_cpp.cc21-Aug-20186.7K
conformance_objc.m21-Aug-20185.7K
conformance_python.py21-Aug-20184.5K
conformance_ruby.rb21-Aug-20183.8K
conformance_test.cc21-Aug-201865K
conformance_test.h21-Aug-20187.1K
conformance_test_runner.cc21-Aug-201810.1K
ConformanceJava.java21-Aug-20184.3K
ConformanceJavaLite.java21-Aug-20183.5K
failure_list_cpp.txt21-Aug-20184.4K
failure_list_csharp.txt21-Aug-2018744
failure_list_java.txt21-Aug-20181.9K
failure_list_objc.txt21-Aug-2018171
failure_list_python-post26.txt21-Aug-201886
failure_list_python.txt21-Aug-20183.4K
failure_list_python_cpp.txt21-Aug-20184.6K
failure_list_ruby.txt21-Aug-20188.5K
Makefile.am21-Aug-201815.2K
README.md21-Aug-20181.9K
third_party/21-Aug-2018

README.md

      1 Protocol Buffers - Google's data interchange format
      2 ===================================================
      3 
      4 [![Build Status](https://travis-ci.org/google/protobuf.svg?branch=master)](https://travis-ci.org/google/protobuf)
      5 
      6 Copyright 2008 Google Inc.
      7 
      8 This directory contains conformance tests for testing completeness and
      9 correctness of Protocol Buffers implementations.  These tests are designed
     10 to be easy to run against any Protocol Buffers implementation.
     11 
     12 This directory contains the tester process `conformance-test`, which
     13 contains all of the tests themselves.  Then separate programs written
     14 in whatever language you want to test communicate with the tester
     15 program over a pipe.
     16 
     17 Before running any of these tests, make sure you run `make` in the base
     18 directory to build `protoc`, since all the tests depend on it.
     19 
     20     $ make
     21 
     22 Then to run the tests against the C++ implementation, run:
     23 
     24     $ cd conformance && make test_cpp
     25 
     26 More tests and languages will be added soon!
     27 
     28 Testing other Protocol Buffer implementations
     29 ---------------------------------------------
     30 
     31 To run these tests against a new Protocol Buffers implementation, write a
     32 program in your language that uses the protobuf implementation you want
     33 to test.  This program should implement the testing protocol defined in
     34 [conformance.proto](https://github.com/google/protobuf/blob/master/conformance/conformance.proto).
     35 This is designed to be as easy as possible: the C++ version is only
     36 150 lines and is a good example for what this program should look like
     37 (see [conformance_cpp.cc](https://github.com/google/protobuf/blob/master/conformance/conformance_cpp.cc)).
     38 The program only needs to be able to read from stdin and write to stdout.
     39 
     40 Portability
     41 -----------
     42 
     43 Note that the test runner currently does not work on Windows.  Patches
     44 to fix this are welcome!  (But please get in touch first to settle on
     45 a general implementation strategy).
     46