summaryrefslogtreecommitdiff
path: root/test/ThriftTest.thrift
diff options
context:
space:
mode:
authorHenrique <henrique@henrique-vb.(none)>2013-05-16 21:19:50 +0200
committerHenrique Mendonça <henrique@apache.org>2013-05-16 21:22:46 +0200
commitd28d4d578470233e384ae6012d0ecfa5a8f3deba (patch)
tree00ef84a17e90660f7b7a3957b2f4e285847a4430 /test/ThriftTest.thrift
parent744e45f3b64ca27e46e30be4735b014ae0c6b512 (diff)
downloadthrift-d28d4d578470233e384ae6012d0ecfa5a8f3deba.tar.gz
THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning
Patch: Andrew Cox
Diffstat (limited to 'test/ThriftTest.thrift')
-rw-r--r--test/ThriftTest.thrift8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/ThriftTest.thrift b/test/ThriftTest.thrift
index 2be53fa24..be000b6a9 100644
--- a/test/ThriftTest.thrift
+++ b/test/ThriftTest.thrift
@@ -35,6 +35,12 @@ namespace go ThriftTest
namespace php ThriftTest
namespace delphi Thrift.Test
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
+
namespace * thrift.test
/**
@@ -368,4 +374,4 @@ struct StructA {
struct StructB {
1: optional StructA aa;
2: required StructA ab;
-} \ No newline at end of file
+}