You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by bu...@apache.org on 2014/03/24 04:20:03 UTC

svn commit: r903257 - in /websites/staging/thrift/trunk/content: ./ test/ThriftTest.html

Author: buildbot
Date: Mon Mar 24 03:20:02 2014
New Revision: 903257

Log:
Staging update by buildbot for thrift

Modified:
    websites/staging/thrift/trunk/content/   (props changed)
    websites/staging/thrift/trunk/content/test/ThriftTest.html

Propchange: websites/staging/thrift/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Mar 24 03:20:02 2014
@@ -1 +1 @@
-1580719
+1580723

Modified: websites/staging/thrift/trunk/content/test/ThriftTest.html
==============================================================================
--- websites/staging/thrift/trunk/content/test/ThriftTest.html (original)
+++ websites/staging/thrift/trunk/content/test/ThriftTest.html Mon Mar 24 03:20:02 2014
@@ -70,29 +70,30 @@
 </div>
 
   	<div class="container">
-          <p>/<em>
+          <div class="codehilite"><pre>/*
  * Licensed to the Apache Software Foundation (ASF) under one
  * or more contributor license agreements. See the NOTICE file
  * distributed with this work for additional information
  * regarding copyright ownership. The ASF licenses this file
  * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
+ * &quot;License&quot;); you may not use this file except in compliance
  * with the License. You may obtain a copy of the License at
- </em>
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- <em>
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  * KIND, either express or implied. See the License for the
  * specific language governing permissions and limitations
  * under the License.
- </em>
+ *
  * Contains some contributions under the Thrift Software License.
  * Please see doc/old-thrift-license.txt in the Thrift distribution for
  * details.
- */</p>
-<p>namespace c_glib TTest
+ */
+
+namespace c_glib TTest
 namespace java thrift.test
 namespace cpp thrift.test
 namespace rb Thrift.Test
@@ -105,15 +106,18 @@ namespace py.twisted ThriftTest
 namespace go ThriftTest
 namespace php ThriftTest
 namespace delphi Thrift.Test
-namespace cocoa ThriftTest</p>
-<p>// Presence of namespaces and sub-namespaces for which there is
+namespace cocoa ThriftTest
+
+// Presence of namespaces and sub-namespaces for which there is
 // no generator should compile with warnings only
 namespace noexist ThriftTest
-namespace cpp.noexist ThriftTest</p>
-<p>namespace * thrift.test</p>
-<p>/*<em>
+namespace cpp.noexist ThriftTest
+
+namespace * thrift.test
+
+/**
  * Docstring!
- </em>/
+ */
 enum Numberz
 {
   ONE = 1,
@@ -122,252 +126,292 @@ enum Numberz
   FIVE = 5,
   SIX,
   EIGHT = 8
-}</p>
-<p>const Numberz myNumberz = Numberz.ONE;
+}
+
+const Numberz myNumberz = Numberz.ONE;
 // the following is expected to fail:
-// const Numberz urNumberz = ONE;</p>
-<p>typedef i64 UserId</p>
-<p>struct Bonk
+// const Numberz urNumberz = ONE;
+
+typedef i64 UserId
+
+struct Bonk
 {
   1: string message,
   2: i32 type
-}</p>
-<p>typedef map<string,Bonk> MapType</p>
-<p>struct Bools {
+}
+
+typedef map&lt;string,Bonk&gt; MapType
+
+struct Bools {
   1: bool im_true,
   2: bool im_false,
-}</p>
-<p>struct Xtruct
+}
+
+struct Xtruct
 {
   1:  string string_thing,
   4:  byte   byte_thing,
   9:  i32    i32_thing,
   11: i64    i64_thing
-}</p>
-<p>struct Xtruct2
+}
+
+struct Xtruct2
 {
   1: byte   byte_thing,
   2: Xtruct struct_thing,
   3: i32    i32_thing
-}</p>
-<p>struct Xtruct3
+}
+
+struct Xtruct3
 {
   1:  string string_thing,
   4:  i32    changed,
   9:  i32    i32_thing,
   11: i64    i64_thing
-}</p>
-<p>struct Insanity
+}
+
+
+struct Insanity
 {
-  1: map<Numberz, UserId> userMap,
-  2: list<Xtruct> xtructs
-}</p>
-<p>struct CrazyNesting {
+  1: map&lt;Numberz, UserId&gt; userMap,
+  2: list&lt;Xtruct&gt; xtructs
+}
+
+struct CrazyNesting {
   1: string string_field,
-  2: optional set<Insanity> set_field,
-  3: required list&lt; map<set<i32>,map<i32,set<list<map<Insanity,string>&gt;&gt;&gt;&gt;&gt; list_field,
+  2: optional set&lt;Insanity&gt; set_field,
+  3: required list&lt; map&lt;set&lt;i32&gt;,map&lt;i32,set&lt;list&lt;map&lt;Insanity,string&gt;&gt;&gt;&gt;&gt;&gt; list_field,
   4: binary binary_field
-}</p>
-<p>exception Xception {
+}
+
+exception Xception {
   1: i32 errorCode,
   2: string message
-}</p>
-<p>exception Xception2 {
+}
+
+exception Xception2 {
   1: i32 errorCode,
   2: Xtruct struct_thing
-}</p>
-<p>struct EmptyStruct {}</p>
-<p>struct OneField {
+}
+
+struct EmptyStruct {}
+
+struct OneField {
   1: EmptyStruct field
-}</p>
-<p>service ThriftTest
+}
+
+service ThriftTest
 {
-  /*<em>
-   * Prints "testVoid()" and returns nothing.
-   </em>/
-  void         testVoid(),</p>
-<p>/*<em>
-   * Prints 'testString("%s")' with thing as '%s'
+  /**
+   * Prints &quot;testVoid()&quot; and returns nothing.
+   */
+  void         testVoid(),
+
+  /**
+   * Prints &#39;testString(&quot;%s&quot;)&#39; with thing as &#39;%s&#39;
    * @param string thing - the string to print
-   * @return string - returns the string 'thing'
-   </em>/
-  string       testString(1: string thing),</p>
-<p>/*<em>
-   * Prints 'testByte("%d")' with thing as '%d'
+   * @return string - returns the string &#39;thing&#39;
+   */
+  string       testString(1: string thing),
+
+  /**
+   * Prints &#39;testByte(&quot;%d&quot;)&#39; with thing as &#39;%d&#39;
    * @param byte thing - the byte to print
-   * @return byte - returns the byte 'thing'
-   </em>/
-  byte         testByte(1: byte thing),</p>
-<p>/*<em>
-   * Prints 'testI32("%d")' with thing as '%d'
+   * @return byte - returns the byte &#39;thing&#39;
+   */
+  byte         testByte(1: byte thing),
+
+  /**
+   * Prints &#39;testI32(&quot;%d&quot;)&#39; with thing as &#39;%d&#39;
    * @param i32 thing - the i32 to print
-   * @return i32 - returns the i32 'thing'
-   </em>/
-  i32          testI32(1: i32 thing),</p>
-<p>/*<em>
-   * Prints 'testI64("%d")' with thing as '%d'
+   * @return i32 - returns the i32 &#39;thing&#39;
+   */
+  i32          testI32(1: i32 thing),
+
+  /**
+   * Prints &#39;testI64(&quot;%d&quot;)&#39; with thing as &#39;%d&#39;
    * @param i64 thing - the i64 to print
-   * @return i64 - returns the i64 'thing'
-   </em>/
-  i64          testI64(1: i64 thing),</p>
-<p>/*<em>
-   * Prints 'testDouble("%f")' with thing as '%f'
+   * @return i64 - returns the i64 &#39;thing&#39;
+   */
+  i64          testI64(1: i64 thing),
+
+  /**
+   * Prints &#39;testDouble(&quot;%f&quot;)&#39; with thing as &#39;%f&#39;
    * @param double thing - the double to print
-   * @return double - returns the double 'thing'
-   </em>/
-  double       testDouble(1: double thing),</p>
-<p>/*<em>
-   * Prints 'testStruct("{%s}")' where thing has been formatted into a string of comma seperated values
+   * @return double - returns the double &#39;thing&#39;
+   */
+  double       testDouble(1: double thing),
+
+  /**
+   * Prints &#39;testStruct(&quot;{%s}&quot;)&#39; where thing has been formatted into a string of comma seperated values
    * @param Xtruct thing - the Xtruct to print
-   * @return Xtruct - returns the Xtruct 'thing'
-   </em>/
-  Xtruct       testStruct(1: Xtruct thing),</p>
-<p>/*<em>
-   * Prints 'testNest("{%s}")' where thing has been formatted into a string of the nested struct
+   * @return Xtruct - returns the Xtruct &#39;thing&#39;
+   */
+  Xtruct       testStruct(1: Xtruct thing),
+
+  /**
+   * Prints &#39;testNest(&quot;{%s}&quot;)&#39; where thing has been formatted into a string of the nested struct
    * @param Xtruct2 thing - the Xtruct2 to print
-   * @return Xtruct2 - returns the Xtruct2 'thing'
-   </em>/
-  Xtruct2      testNest(1: Xtruct2 thing),</p>
-<p>/*<em>
-   * Prints 'testMap("{%s")' where thing has been formatted into a string of  'key =&gt; value' pairs
+   * @return Xtruct2 - returns the Xtruct2 &#39;thing&#39;
+   */
+  Xtruct2      testNest(1: Xtruct2 thing),
+
+  /**
+   * Prints &#39;testMap(&quot;{%s&quot;)&#39; where thing has been formatted into a string of  &#39;key =&gt; value&#39; pairs
    *  seperated by commas and new lines
-   * @param map<i32,i32> thing - the map<i32,i32> to print
-   * @return map<i32,i32> - returns the map<i32,i32> 'thing'
-   </em>/
-  map<i32,i32> testMap(1: map<i32,i32> thing),</p>
-<p>/*<em>
-   * Prints 'testStringMap("{%s}")' where thing has been formatted into a string of  'key =&gt; value' pairs
+   * @param map&lt;i32,i32&gt; thing - the map&lt;i32,i32&gt; to print
+   * @return map&lt;i32,i32&gt; - returns the map&lt;i32,i32&gt; &#39;thing&#39;
+   */
+  map&lt;i32,i32&gt; testMap(1: map&lt;i32,i32&gt; thing),
+
+  /**
+   * Prints &#39;testStringMap(&quot;{%s}&quot;)&#39; where thing has been formatted into a string of  &#39;key =&gt; value&#39; pairs
    *  seperated by commas and new lines
-   * @param map<string,string> thing - the map<string,string> to print
-   * @return map<string,string> - returns the map<string,string> 'thing'
-   </em>/
-  map<string,string> testStringMap(1: map<string,string> thing),</p>
-<p>/*<em>
-   * Prints 'testSet("{%s}")' where thing has been formatted into a string of  values
+   * @param map&lt;string,string&gt; thing - the map&lt;string,string&gt; to print
+   * @return map&lt;string,string&gt; - returns the map&lt;string,string&gt; &#39;thing&#39;
+   */
+  map&lt;string,string&gt; testStringMap(1: map&lt;string,string&gt; thing),
+
+  /**
+   * Prints &#39;testSet(&quot;{%s}&quot;)&#39; where thing has been formatted into a string of  values
    *  seperated by commas and new lines
-   * @param set<i32> thing - the set<i32> to print
-   * @return set<i32> - returns the set<i32> 'thing'
-   </em>/
-  set<i32>     testSet(1: set<i32> thing),</p>
-<p>/*<em>
-   * Prints 'testList("{%s}")' where thing has been formatted into a string of  values
+   * @param set&lt;i32&gt; thing - the set&lt;i32&gt; to print
+   * @return set&lt;i32&gt; - returns the set&lt;i32&gt; &#39;thing&#39;
+   */
+  set&lt;i32&gt;     testSet(1: set&lt;i32&gt; thing),
+
+  /**
+   * Prints &#39;testList(&quot;{%s}&quot;)&#39; where thing has been formatted into a string of  values
    *  seperated by commas and new lines
-   * @param list<i32> thing - the list<i32> to print
-   * @return list<i32> - returns the list<i32> 'thing'
-   </em>/
-  list<i32>    testList(1: list<i32> thing),</p>
-<p>/*<em>
-   * Prints 'testEnum("%d")' where thing has been formatted into it's numeric value
+   * @param list&lt;i32&gt; thing - the list&lt;i32&gt; to print
+   * @return list&lt;i32&gt; - returns the list&lt;i32&gt; &#39;thing&#39;
+   */
+  list&lt;i32&gt;    testList(1: list&lt;i32&gt; thing),
+
+  /**
+   * Prints &#39;testEnum(&quot;%d&quot;)&#39; where thing has been formatted into it&#39;s numeric value
    * @param Numberz thing - the Numberz to print
-   * @return Numberz - returns the Numberz 'thing'
-   </em>/
-  Numberz      testEnum(1: Numberz thing),</p>
-<p>/*<em>
-   * Prints 'testTypedef("%d")' with thing as '%d'
+   * @return Numberz - returns the Numberz &#39;thing&#39;
+   */
+  Numberz      testEnum(1: Numberz thing),
+
+  /**
+   * Prints &#39;testTypedef(&quot;%d&quot;)&#39; with thing as &#39;%d&#39;
    * @param UserId thing - the UserId to print
-   * @return UserId - returns the UserId 'thing'
-   </em>/
-  UserId       testTypedef(1: UserId thing),</p>
-<p>/*<em>
-   * Prints 'testMapMap("%d")' with hello as '%d'
+   * @return UserId - returns the UserId &#39;thing&#39;
+   */
+  UserId       testTypedef(1: UserId thing),
+
+  /**
+   * Prints &#39;testMapMap(&quot;%d&quot;)&#39; with hello as &#39;%d&#39;
    * @param i32 hello - the i32 to print
-   * @return map<i32,map<i32,i32>&gt; - returns a dictionary with these values:
+   * @return map&lt;i32,map&lt;i32,i32&gt;&gt; - returns a dictionary with these values:
    *   {-4 =&gt; {-4 =&gt; -4, -3 =&gt; -3, -2 =&gt; -2, -1 =&gt; -1, }, 4 =&gt; {1 =&gt; 1, 2 =&gt; 2, 3 =&gt; 3, 4 =&gt; 4, }, }
-   </em>/
-  map<i32,map<i32,i32>&gt; testMapMap(1: i32 hello),</p>
-<p>/<em><em>
-   * So you think you've got this all worked, out eh?
-   </em>
+   */
+  map&lt;i32,map&lt;i32,i32&gt;&gt; testMapMap(1: i32 hello),
+
+  /**
+   * So you think you&#39;ve got this all worked, out eh?
+   *
    * Creates a the returned map with these values and prints it out:
    *   { 1 =&gt; { 2 =&gt; argument, 
    *            3 =&gt; argument, 
    *          },
-   *     2 =&gt; { 6 =&gt; <empty Insanity struct>, },
+   *     2 =&gt; { 6 =&gt; &lt;empty Insanity struct&gt;, },
    *   }
-   * @return map<UserId, map<Numberz,Insanity>&gt; - a map with the above values 
-   </em>/
-  map<UserId, map<Numberz,Insanity>&gt; testInsanity(1: Insanity argument),</p>
-<p>/*<em>
-   * Prints 'testMulti()'
+   * @return map&lt;UserId, map&lt;Numberz,Insanity&gt;&gt; - a map with the above values 
+   */
+  map&lt;UserId, map&lt;Numberz,Insanity&gt;&gt; testInsanity(1: Insanity argument),
+
+  /**
+   * Prints &#39;testMulti()&#39;
    * @param byte arg0 - 
    * @param i32 arg1 - 
    * @param i64 arg2 - 
-   * @param map<i16, string> arg3 - 
+   * @param map&lt;i16, string&gt; arg3 - 
    * @param Numberz arg4 - 
    * @param UserId arg5 - 
-   * @return Xtruct - returns an Xtruct with string_thing = "Hello2, byte_thing = arg0, i32_thing = arg1
+   * @return Xtruct - returns an Xtruct with string_thing = &quot;Hello2, byte_thing = arg0, i32_thing = arg1
    *    and i64_thing = arg2
-   </em>/
-  Xtruct testMulti(1: byte arg0, 2: i32 arg1, 3: i64 arg2, 4: map<i16, string> arg3, 5: Numberz arg4, 6: UserId arg5),</p>
-<p>/*<em>
-   * Print 'testException(%s)' with arg as '%s'
+   */
+  Xtruct testMulti(1: byte arg0, 2: i32 arg1, 3: i64 arg2, 4: map&lt;i16, string&gt; arg3, 5: Numberz arg4, 6: UserId arg5),
+
+  /**
+   * Print &#39;testException(%s)&#39; with arg as &#39;%s&#39;
    * @param string arg - a string indication what type of exception to throw
-   * if arg == "Xception" throw Xception with errorCode = 1001 and message = arg
-   * elsen if arg == "TException" throw TException
+   * if arg == &quot;Xception&quot; throw Xception with errorCode = 1001 and message = arg
+   * elsen if arg == &quot;TException&quot; throw TException
    * else do not throw anything
-   </em>/
-  void testException(1: string arg) throws(1: Xception err1),</p>
-<p>/*<em>
-   * Print 'testMultiException(%s, %s)' with arg0 as '%s' and arg1 as '%s'
+   */
+  void testException(1: string arg) throws(1: Xception err1),
+
+  /**
+   * Print &#39;testMultiException(%s, %s)&#39; with arg0 as &#39;%s&#39; and arg1 as &#39;%s&#39;
    * @param string arg - a string indication what type of exception to throw
-   * if arg0 == "Xception" throw Xception with errorCode = 1001 and message = "This is an Xception"
-   * elsen if arg0 == "Xception2" throw Xception2 with errorCode = 2002 and message = "This is an Xception2"
+   * if arg0 == &quot;Xception&quot; throw Xception with errorCode = 1001 and message = &quot;This is an Xception&quot;
+   * elsen if arg0 == &quot;Xception2&quot; throw Xception2 with errorCode = 2002 and message = &quot;This is an Xception2&quot;
    * else do not throw anything
    * @return Xtruct - an Xtruct with string_thing = arg1
-   </em>/
-  Xtruct testMultiException(1: string arg0, 2: string arg1) throws(1: Xception err1, 2: Xception2 err2)</p>
-<p>/*<em>
-   * Print 'testOneway(%d): Sleeping...' with secondsToSleep as '%d'
-   * sleep 'secondsToSleep'
-   * Print 'testOneway(%d): done sleeping!' with secondsToSleep as '%d'
+   */
+  Xtruct testMultiException(1: string arg0, 2: string arg1) throws(1: Xception err1, 2: Xception2 err2)
+
+  /**
+   * Print &#39;testOneway(%d): Sleeping...&#39; with secondsToSleep as &#39;%d&#39;
+   * sleep &#39;secondsToSleep&#39;
+   * Print &#39;testOneway(%d): done sleeping!&#39; with secondsToSleep as &#39;%d&#39;
    * @param i32 secondsToSleep - the number of seconds to sleep
-   </em>/
+   */
   oneway void testOneway(1:i32 secondsToSleep)
-}</p>
-<p>service SecondService
+}
+
+service SecondService
 {
   void blahBlah()
-  /*<em>
-   * Prints 'testString("%s")' with thing as '%s'
+  /**
+   * Prints &#39;testString(&quot;%s&quot;)&#39; with thing as &#39;%s&#39;
    * @param string thing - the string to print
-   * @return string - returns the string 'thing'
-   </em>/
+   * @return string - returns the string &#39;thing&#39;
+   */
   string       secondtestString(1: string thing),
-}</p>
-<p>struct VersioningTestV1 {
+}
+
+struct VersioningTestV1 {
        1: i32 begin_in_both,
        3: string old_string,
        12: i32 end_in_both
-}</p>
-<p>struct VersioningTestV2 {
-       1: i32 begin_in_both,</p>
-<div class="codehilite"><pre>   2<span class="p">:</span> <span class="n">i32</span> <span class="n">newint</span><span class="p">,</span>
-   3<span class="p">:</span> <span class="n">byte</span> <span class="n">newbyte</span><span class="p">,</span>
-   4<span class="p">:</span> <span class="n">i16</span> <span class="n">newshort</span><span class="p">,</span>
-   5<span class="p">:</span> <span class="n">i64</span> <span class="n">newlong</span><span class="p">,</span>
-   6<span class="p">:</span> <span class="n">double</span> <span class="n">newdouble</span>
-   7<span class="p">:</span> <span class="n">Bonk</span> <span class="n">newstruct</span><span class="p">,</span>
-   8<span class="p">:</span> <span class="n">list</span><span class="o">&lt;</span><span class="n">i32</span><span class="o">&gt;</span> <span class="n">newlist</span><span class="p">,</span>
-   9<span class="p">:</span> <span class="n">set</span><span class="o">&lt;</span><span class="n">i32</span><span class="o">&gt;</span> <span class="n">newset</span><span class="p">,</span>
-   10<span class="p">:</span> <span class="n">map</span><span class="o">&lt;</span><span class="n">i32</span><span class="p">,</span> <span class="n">i32</span><span class="o">&gt;</span> <span class="n">newmap</span><span class="p">,</span>
-   11<span class="p">:</span> <span class="n">string</span> <span class="n">newstring</span><span class="p">,</span>
-   12<span class="p">:</span> <span class="n">i32</span> <span class="n">end_in_both</span>
-</pre></div>
+}
+
+struct VersioningTestV2 {
+       1: i32 begin_in_both,
 
+       2: i32 newint,
+       3: byte newbyte,
+       4: i16 newshort,
+       5: i64 newlong,
+       6: double newdouble
+       7: Bonk newstruct,
+       8: list&lt;i32&gt; newlist,
+       9: set&lt;i32&gt; newset,
+       10: map&lt;i32, i32&gt; newmap,
+       11: string newstring,
+       12: i32 end_in_both
+}
 
-<p>}</p>
-<p>struct ListTypeVersioningV1 {
-       1: list<i32> myints;
+struct ListTypeVersioningV1 {
+       1: list&lt;i32&gt; myints;
        2: string hello;
-}</p>
-<p>struct ListTypeVersioningV2 {
-       1: list<string> strings;
+}
+
+struct ListTypeVersioningV2 {
+       1: list&lt;string&gt; strings;
        2: string hello;
-}</p>
-<p>struct GuessProtocolStruct {
-  7: map<string,string> map_field,
-}</p>
-<p>struct LargeDeltas {
+}
+
+struct GuessProtocolStruct {
+  7: map&lt;string,string&gt; map_field,
+}
+
+struct LargeDeltas {
   1: Bools b1,
   10: Bools b10,
   100: Bools b100,
@@ -375,40 +419,46 @@ enum Numberz
   1000: Bools b1000,
   1500: bool check_false,
   2000: VersioningTestV2 vertwo2000,
-  2500: set<string> a_set2500,
+  2500: set&lt;string&gt; a_set2500,
   3000: VersioningTestV2 vertwo3000,
-  4000: list<i32> big_numbers
-}</p>
-<p>struct NestedListsI32x2 {
-  1: list<list<i32>&gt; integerlist
+  4000: list&lt;i32&gt; big_numbers
+}
+
+struct NestedListsI32x2 {
+  1: list&lt;list&lt;i32&gt;&gt; integerlist
 }
 struct NestedListsI32x3 {
-  1: list<list<list<i32>&gt;&gt; integerlist
+  1: list&lt;list&lt;list&lt;i32&gt;&gt;&gt; integerlist
 }
 struct NestedMixedx2 {
-  1: list<set<i32>&gt; int_set_list
-  2: map<i32,set<string>&gt; map_int_strset
-  3: list<map<i32,set<string>&gt;&gt; map_int_strset_list
+  1: list&lt;set&lt;i32&gt;&gt; int_set_list
+  2: map&lt;i32,set&lt;string&gt;&gt; map_int_strset
+  3: list&lt;map&lt;i32,set&lt;string&gt;&gt;&gt; map_int_strset_list
 }
 struct ListBonks {
-  1: list<Bonk> bonk
+  1: list&lt;Bonk&gt; bonk
 }
 struct NestedListsBonk {
-  1: list<list<list<Bonk>&gt;&gt; bonk
-}</p>
-<p>struct BoolTest {
+  1: list&lt;list&lt;list&lt;Bonk&gt;&gt;&gt; bonk
+}
+
+struct BoolTest {
   1: optional bool b = true;
-  2: optional string s = "true";
-}</p>
-<p>struct StructA {
+  2: optional string s = &quot;true&quot;;
+}
+
+struct StructA {
   1: required string s;
-}</p>
-<p>struct StructB {
+}
+
+struct StructB {
   1: optional StructA aa;
   2: required StructA ab;
-}</p>
+}
+</pre></div>
+
 <p>This page was generated from Apache Thrift's <strong>source tree docs</strong>:
-<a href="https://git-wip-us.apache.org/repos/asf/thrift/repo?p=thrift.git;a=blob;f=test/ThriftTest.thrift;hb=HEAD">test/README.md</a></p>
+<a href="http://git-wip-us.apache.org/repos/asf?p=thrift.git;a=blob_plain;f=test/ThriftTest.thrift;hb=HEAD">test/ThriftTest.thrift</a></p>
 	</div>
 	<div class="container">
 	<hr>