Added read/write I16, U16 and Bool methods to TProtocol

Modified code generation to define structs and io methods for function argument lists and server process call implementations


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664749 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/test/ThriftTest.thrift b/test/ThriftTest.thrift
index 6f72216..2e88725 100644
--- a/test/ThriftTest.thrift
+++ b/test/ThriftTest.thrift
@@ -20,15 +20,15 @@
 
 struct Xtruct2
 {
-  byte   byte_thing = 0,
-  Xtruct struct_thing = 1,
-  i32    i32_thing = 2
+  byte   byte_thing,
+  Xtruct struct_thing,
+  i32    i32_thing
 }
 
 struct Insanity
 {
   map<Numberz, UserId> userMap = 0,
-  list<Xtruct> xtructs = 1
+  list<Xtruct> xtructList = 1
 }
 
 service ThriftTest
@@ -50,4 +50,6 @@
 
   /* So you think you've got this all worked, out eh? */
   map<UserId, map<Numberz,Insanity>> testInsanity(Insanity argument = 0)
+  
+  Xtruct	testMulti(byte arg0, i32 arg1, u64 arg2, map<i16, string> arg3, Numberz arg4, UserId arg5)
 }