Commit Graph

28 Commits

Author SHA1 Message Date
Jisi Liu
968150327d partial oneof tests. 2015-02-19 16:43:08 -08:00
Jisi Liu
b9e9469b4d Add tests for oneof equals and hash. 2015-02-19 16:43:08 -08:00
Jisi Liu
3ab660cd4a Uncomment string/bytes fields in oneof nano. 2015-02-19 16:43:08 -08:00
Jisi Liu
c72d3d51ff Oneof message level elements (consts, case getter/clear) and messsage type field oneof support. 2015-02-19 16:43:07 -08:00
Jisi Liu
33222b5a02 Initial check in for primitive oneof fields. 2015-02-19 16:43:07 -08:00
Jisi Liu
f0e08fd4e4 Support maps in NanoPrinter. 2015-02-19 14:41:14 -08:00
Jisi Liu
fbfdbe8ad8 Use EMPTY_BYTES in WireFormatNano 2015-02-19 11:29:24 -08:00
Jisi Liu
c265fbe3ca Mark factory setter API as private for alpha release. 2015-02-17 14:03:37 -08:00
Jisi Liu
d1bbd856af Merge the javanano map test into the main test target. 2015-02-09 14:15:26 -08:00
Jisi Liu
12d8a514c8 Get the map factory per mergeFrom() call for JavaNano. 2015-02-07 12:51:36 -08:00
Jisi Liu
d9a6f27bc3 implement hashCode() for JavaNano maps. 2015-02-06 15:55:04 -08:00
Jisi Liu
1536e93349 Implement Equals for nano. 2015-02-06 15:30:48 -08:00
Jisi Liu
b0f194885e Rename empty bytes in JavaNano. 2015-02-05 17:38:07 -08:00
Jisi Liu
cd99c12df2 Rename readData() to readPrimitiveField() in JavaNano. 2015-02-05 17:14:02 -08:00
Jisi Liu
7f3693184a Add tests merging empty entries in JavaNano map 2015-02-05 15:23:37 -08:00
Jisi Liu
bd3573cb09 Fix the behavior when merging conflicting keys, the new value always
override the existing one even for message types.
2015-02-05 14:52:17 -08:00
Jisi Liu
ca35a80303 Test keys and values cannot be null. 2015-02-05 14:26:52 -08:00
Jisi Liu
0d52964597 Basic serialization/parsing test. 2015-02-05 14:19:46 -08:00
Jisi Liu
3c0355ef37 Moving internal code to InternalNano and rename MapUtil to MapFactories. 2015-02-04 13:54:58 -08:00
Jisi Liu
d5839d2b4d parsing and serialzation for maps in JavaNano. 2015-02-03 18:15:12 -08:00
Jisi Liu
4d64e65f09 Parsing for Maps in JavaNano 2015-02-02 21:06:59 -08:00
Jisi Liu
0f2a7d3fea Add readData(int) to read primitive value. 2015-02-02 21:06:04 -08:00
Jisi Liu
60bccb6006 MOVE TYPE_XXX constants to InternalNano. 2015-02-02 21:05:37 -08:00
Jisi Liu
ab74fd1c4b Add package for map test for nano. 2015-02-02 14:50:39 -08:00
Jisi Liu
03b1416f0e Add tests for JavaNano maps. 2015-02-02 14:30:24 -08:00
Feng Xiao
061065993f Replace links in nano proto code. 2014-11-26 16:58:20 -08:00
Feng Xiao
9e65d4bfb3 Fix the broken link at the bottom of javanano/README.txt 2014-11-20 14:21:43 -08:00
Feng Xiao
cd980d1c13 Prepare nano proto code to be merged into protobuf repository. 2014-11-19 15:58:54 -08:00