1. 27 Jul, 2018 1 commit
    • Paul Yang's avatar
      Give a specific category to each test. (#4965) · 8705adc2
      Paul Yang authored
      * Give a unique category to each test.
      
      This change introduce a TestCategory enum to ConformanceRequest. Existing tests
      are divided into three categories: binary format test, json format test and json
      format (ignore unknown when parsing) test. For the previous two categories, there
      is no change to existing testee programs. For tests with the last category, testee programs
      should either enable ignoring unknown field during json parsing or skip the test.
      
      * Fix python test
      
      * Fix java
      
      * Fix csharp
      
      * Update document
      
      * Update csharp generated code
      8705adc2
  2. 14 Mar, 2018 1 commit
    • Adam Cozzette's avatar
      Deleted scoped_ptr.h · 67952fab
      Adam Cozzette authored
      We no longer need this, now that we have finished the switch to C++11
      and are using std::unique_ptr.
      67952fab
  3. 14 Sep, 2017 1 commit
  4. 25 Jul, 2017 1 commit
  5. 01 Jul, 2017 1 commit
  6. 29 Jun, 2017 1 commit
  7. 28 Jun, 2017 1 commit
  8. 09 Dec, 2016 1 commit
  9. 03 Dec, 2016 1 commit
    • Joshua Haberman's avatar
      Factored Conformance and Benchmark test messages into shared test schema. (#1971) · f1ce60e7
      Joshua Haberman authored
      * Factored Conformance test messages into shared test schema.
      
      * Updated benchmarks to use new proto3 message locations.
      
      * Fixed include path.
      
      * Conformance: fixed include of Python test messages.
      
      * Make maven in Rakefile use --batch-mode.
      
      * Revert changes to benchmarks.
      
      On second thought I think a separate schema for
      CPU benchmarking makes sense.
      
      * Try regenerating C# protos for new test protos.
      
      * Removed benchmark messages from test proto.
      
      * Added Jon Skeet's fixes for C#.
      
      * Removed duplicate/old test messages C# file.
      
      * C# fixes for test schema move.
      
      * Fixed C# to use the correct TestAllTypes message.
      
      * Fixes for Objective C test schema move.
      
      * Added missing EXTRA_DIST file.
      f1ce60e7
  10. 12 Dec, 2015 1 commit
  11. 10 Jul, 2015 1 commit
    • Josh Haberman's avatar
      Added support for Json and valid input to conformance tests. · b0500b37
      Josh Haberman authored
      This was enabled by the recent open-sourcing of JSON
      support and MessageDifferencer.
      
      MessageDifferencer allows the conformance suite to expand
      because it allows us to write tests for payloads that parse
      successfully.  To verify the testee's output payload, we
      need to parse it back into a message and compare the message
      instances.  Comparing output bytes vs. a golden message is
      *not* valid, because protobufs do not have a canonical
      encoding (especially in the presence of maps, which have
      no prescribed serialization order).
      
      We only add one small JSON test for now, but with the
      framework in place we now have the foundation to dramatically
      expand the coverage of the conformance test suite.
      
      Also added the ability for the testee to skip tests that
      exercise features that are unimplemented.  This allows
      Java (which currently has no JSON support) to skip tests
      involving JSON.
      
      Change-Id: I697b4363da432b61ae3b638b4287c4cda1af4deb
      b0500b37
  12. 08 Apr, 2015 1 commit