History log of /external/flatbuffers/tests/py_test.py
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a56c6e51950353bc96327275f940e043bea7843d 23-Jul-2016 Robert <me@rwinslow.com> Merge pull request #363 from danring/fix-341

Emit GetRootAs methods for all types in Go and Python
fd43d3709e7fd84b201e0a80da0238b8b690191a 18-Jun-2016 rw <me@rwinslow.com> Fix test using compat.binary_types (from March).
/external/flatbuffers/tests/py_test.py
483223870852aac6819a4147605447b552bb3b33 07-Jan-2016 Dan Ring <dfring@gmail.com> Add tests for GetRootAs* in Go and Python
/external/flatbuffers/tests/py_test.py
0afac8f75a1288a302d9ba5c866f43f7b2b54270 20-Jan-2016 Wouter van Oortmerssen <wvo@google.com> Merge branch 'master' of https://github.com/google/flatbuffers
519dcdd0b2dbdec00e72a6be1894b850ce419955 20-Jan-2016 Wouter van Oortmerssen <wvo@google.com> Fixed Python unit test breakage.

Test was testing for a field to be None, even though it is populated
in one particular instance.

Change-Id: Id19848d01498d4c0a684efdb2bf49ff12c5b6758
Tested: on Linux.
/external/flatbuffers/tests/py_test.py
af236833119ce6ec5ab82930be6f5b2badd9e89e 31-Dec-2015 Faizan Rashid <faizanrashid@Faizans-MacBook-Pro.local> [BUG FIX] [MINOR] Fix encoding with unicode characters.

When passing a unicode string to builder.CreateString, the
default encoding assumed all characters can be encoded
using ascii. Added a fix so a user can specify the
encoding and how to handle errors when creating strings.
/external/flatbuffers/tests/py_test.py
3232727ace325e8cb2732cf208e6d902a1160454 12-Nov-2015 rw <me@rwinslow.com> Python: Improve Builder user interface.

+ Add state to the Builder object to track if we are inside a table,
and if we are finished building the buffer.
+ Use this data to check that a buffer is being built correctly.
+ Raise an exception if a buffer is not being built correctly.
+ Test that the exceptions happen as expected.

Based on d236dea.
/external/flatbuffers/tests/py_test.py
d9db48257b717b3222255f1150d8c41c57f6e0cf 29-Sep-2015 tguo-aa <tguo@tguo.lan.appannie.com> Add self.assertNotNested() in CreateString

And also add a test case.
If you try to nest CreateString you will get a clear exception.
/external/flatbuffers/tests/py_test.py
2746aabcf127dd443abff91046e194c2fd1c192b 13-May-2015 rw <me@rwinslow.com> fix string catenation
/external/flatbuffers/tests/py_test.py
48dfc69ee613a176f13b04c2310adb7a08fe6737 16-Dec-2014 rw <me@rwinslow.com> Port FlatBuffers to Python.

Implement code generation and self-contained runtime library for Python.

The test suite verifies:
- Correctness of generated Python code by comparing output to that of
the other language ports.
- The exact bytes in the Builder buffer during many scenarios.
- Vtable deduplication correctness.
- Edge cases for table construction, via a fuzzer derived from the Go
implementation.
- All code is simultaneously valid in Python 2.6, 2.7, and 3.4.

The test suite includes benchmarks for:
- Building 'gold' data.
- Parsing 'gold' data.
- Deduplicating vtables.

All tests pass on this author's system for the following Python
implementations:
- CPython 2.6.7
- CPython 2.7.8
- CPython 3.4.2
- PyPy 2.5.0 (CPython 2.7.8 compatible)
/external/flatbuffers/tests/py_test.py