summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpengzhouhu <pengzhouhu@huawei.com>2019-10-09 16:33:29 +0800
committerDuru Can Celasun <dcelasun@apache.org>2019-10-09 09:33:29 +0100
commitdf8ef4b489e2b84ac6dbbf895be32d6fb2415c81 (patch)
tree83e802c9c7fc31236dae8df7f86d18234b895715
parent904f5619a9df6a8a3ac8f830e4dab7148c2d7777 (diff)
downloadthrift-df8ef4b489e2b84ac6dbbf895be32d6fb2415c81.tar.gz
THRIFT-4951: Remove senum from tests
Senum are unsupported since 0.9.1. This closes #1868.
-rw-r--r--test/AnnotationTest.thrift8
-rw-r--r--test/SmallTest.thrift7
2 files changed, 0 insertions, 15 deletions
diff --git a/test/AnnotationTest.thrift b/test/AnnotationTest.thrift
index 7e24e1ccb..6238395d4 100644
--- a/test/AnnotationTest.thrift
+++ b/test/AnnotationTest.thrift
@@ -49,14 +49,6 @@ enum weekdays {
SATURDAY ( weekend = "yes" )
} (foo.bar="baz")
-/* Note that annotations on senum values are not supported. */
-senum seasons {
- "Spring",
- "Summer",
- "Fall",
- "Winter"
-} ( foo = "bar" )
-
struct ostr_default {
1: i32 bar;
}
diff --git a/test/SmallTest.thrift b/test/SmallTest.thrift
index d0821c7ff..891bd6a0c 100644
--- a/test/SmallTest.thrift
+++ b/test/SmallTest.thrift
@@ -24,12 +24,6 @@ struct Goodbyez {
1: i32 val = 325;
}
-senum Thinger {
- "ASDFKJ",
- "r32)*F#@",
- "ASDFLJASDF"
-}
-
struct BoolPasser {
1: bool value = 1
}
@@ -53,7 +47,6 @@ exception Goodbye {
}
service SmallService {
- Thinger testThinger(1:Thinger bootz),
Hello testMe(1:i32 hello=64, 2: Hello wonk) throws (1: Goodbye g),
void testVoid() throws (1: Goodbye g),
i32 testI32(1:i32 boo)