thrift/test
David Reiss f14541626d Partial handlling of 64-bit integer constants.
- Parse integer constants in Thrift files as 64-bit ints.
- Die if an overflow occurs.
- Warn if an enum value cannot fit in 32 bits.
- Add a simple test for the above.

I ran all of the generators over BrokenConstants.thrift before adding the
overflow, and they appeared to work.  However, the code generated was not
always valid (for example, the 64-bit constant must have an LL suffix in C++).


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@672907 13f79535-47bb-0310-9956-ffa450edef68
2008-06-30 20:45:47 +00:00
..
cpp Implement TApplicationException handling in alt_erl client 2008-06-11 00:58:25 +00:00
csharp Add a test client and server for C#. 2008-04-02 22:10:17 +00:00
erl [erl] Finish fixing test_server to work with binary strings 2008-06-11 01:16:15 +00:00
hs ocaml and haskell thrift clients now calling readMessageEnd 2008-04-10 00:31:55 +00:00
java Tweak Java Makefile.ams to fix "make distclean". 2008-05-09 07:17:35 +00:00
ocaml ocaml and haskell thrift clients now calling readMessageEnd 2008-04-10 00:31:55 +00:00
perl Make "make clean" rules a bit more standard. 2008-02-24 16:42:18 +00:00
php Make "make clean" rules a bit more standard. 2008-02-24 16:42:18 +00:00
py Clean up some bad/missed merges from the alterl merge. 2008-06-11 01:16:29 +00:00
rb Fix odd bug in integration tests where it passed the wrong args to an Exception struct initializer 2008-06-18 01:14:17 +00:00
threads Make "make clean" rules a bit more standard. 2008-02-24 16:42:18 +00:00
Benchmark.cpp Memory-based transport rewrite. 2008-05-01 06:17:36 +00:00
BrokenConstants.thrift Partial handlling of 64-bit integer constants. 2008-06-30 20:45:47 +00:00
ConstantsDemo.thrift Avoid a filename collision on case-insensitive filesystems. 2008-06-10 22:56:48 +00:00
DebugProtoTest.cpp Clean up the unit tests. 2008-04-07 23:45:00 +00:00
DebugProtoTest.thrift Clean up the unit tests. 2008-04-07 23:45:00 +00:00
DenseLinkingTest.thrift Make the C++ generator use non-hardcoded namespaces. 2008-02-27 01:55:17 +00:00
DenseProtoTest.cpp Memory-based transport rewrite. 2008-05-01 06:17:36 +00:00
DocTest.thrift Make the Java generator use non-hardcoded namespaces. 2008-02-27 01:55:25 +00:00
FastbinaryTest.py Thrift: Whitespace cleanup. 2008-02-06 22:18:40 +00:00
JSONProtoTest.cpp Memory-based transport rewrite. 2008-05-01 06:17:36 +00:00
Makefile.am Rename AM_CONDITIONALs from ENABLE_* to WITH_*. 2008-06-11 01:16:53 +00:00
ManyTypedefs.thrift Thrift: Make use of get_true_type. 2007-08-23 21:43:25 +00:00
OptionalRequiredTest.cpp Memory-based transport rewrite. 2008-05-01 06:17:36 +00:00
OptionalRequiredTest.thrift Add support for .equals() to Java structs. 2008-03-02 06:29:19 +00:00
ReflectionTest.cpp Clean up the unit tests. 2008-04-07 23:45:00 +00:00
SmallTest.thrift rb: Switch to dyn generator syntax for testing namespaces 2008-06-18 00:52:05 +00:00
StressTest.thrift Make the C++ generator use non-hardcoded namespaces. 2008-02-27 01:55:17 +00:00
TBufferBaseTest.cpp (THRIFT-61) Fix "make check" for the C++ library by not doing empty flushes. 2008-06-30 19:48:04 +00:00
TFDTransportTest.cpp Add TFDTransport: a dead-simple wrapper around a file-descriptor. 2008-04-08 05:06:59 +00:00
ThriftTest.thrift Clean up the unit tests. 2008-04-07 23:45:00 +00:00
TMemoryBufferTest.cpp Memory-based transport rewrite. 2008-05-01 06:17:36 +00:00
TPipedTransportTest.cpp Memory-based transport rewrite. 2008-05-01 06:17:36 +00:00
UnitTestMain.cpp Clean up the unit tests. 2008-04-07 23:45:00 +00:00
ZlibTest.cpp Memory-based transport rewrite. 2008-05-01 06:17:36 +00:00