mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-06 18:35:19 +00:00
THRIFT-4951: Remove senum from tests
Senum are unsupported since 0.9.1. This closes #1868.
This commit is contained in:
parent
904f5619a9
commit
df8ef4b489
@ -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;
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user