This is an automated email from the ASF dual-hosted git repository.
dcelasun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git
The following commit(s) were added to refs/heads/master by this push:
new df8ef4b THRIFT-4951: Remove senum from tests
df8ef4b is described below
commit df8ef4b489e2b84ac6dbbf895be32d6fb2415c81
Author: pengzhouhu <[email protected]>
AuthorDate: Wed Oct 9 16:33:29 2019 +0800
THRIFT-4951: Remove senum from tests
Senum are unsupported since 0.9.1.
This closes #1868.
---
test/AnnotationTest.thrift | 8 --------
test/SmallTest.thrift | 7 -------
2 files changed, 15 deletions(-)
diff --git a/test/AnnotationTest.thrift b/test/AnnotationTest.thrift
index 7e24e1c..6238395 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 d0821c7..891bd6a 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)