1. 29 Mar, 2017 1 commit
  2. 07 Jan, 2017 1 commit
    • Joshua Haberman's avatar
      A few more cases for binary conformance tests. (#2500) · ffa71f80
      Joshua Haberman authored
      * A few more cases for binary conformance tests.
      
      * over-encoded varints (encoded in more bytes than are necessary).
      * truncated varints (>32 bits for 32-bit types).
      
      * Fixed Python decoding bug with 32-bit varints.
      
      * Fixed 1L -> 1LL for 32-bit platforms.
      ffa71f80
  3. 14 Dec, 2016 1 commit
  4. 09 Dec, 2016 1 commit
  5. 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
  6. 18 Nov, 2016 1 commit
  7. 10 Oct, 2016 2 commits
  8. 20 Sep, 2016 2 commits
  9. 23 Aug, 2016 1 commit
  10. 22 Aug, 2016 1 commit
  11. 16 Aug, 2016 1 commit
  12. 11 Aug, 2016 2 commits
  13. 31 Jul, 2016 1 commit
    • Jon Skeet's avatar
      Amend the conformance tests to only use Int64/Uint64 non-wrapped values which (#1164) · 00d5a7f0
      Jon Skeet authored
      can reasonably be expected to be interoperable.
      
      (The fact that not all Int64/Uint64 values *can* be exactly represented in
      IEEE-754 and thus interoperably amongst JSON implementations is precisely the
      reason for wrapping them when we serialize... it shouldn't be a surprise that
      we can't round-trip in unwrapped form for all values.)
      00d5a7f0
  14. 03 Jun, 2016 1 commit
  15. 12 Jan, 2016 1 commit
  16. 05 Jan, 2016 2 commits
  17. 16 Dec, 2015 1 commit
  18. 12 Dec, 2015 1 commit
  19. 02 Dec, 2015 1 commit
  20. 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
  21. 04 Jun, 2015 1 commit
  22. 03 Jun, 2015 1 commit
  23. 22 May, 2015 1 commit
  24. 15 Apr, 2015 1 commit
  25. 08 Apr, 2015 1 commit