Skip to content

Commit

Permalink
THRIFT-4951: Remove senum from tests
Browse files Browse the repository at this point in the history
Senum are unsupported since 0.9.1.

This closes #1868.
  • Loading branch information
pengzhouhu authored and dcelasun committed Oct 9, 2019
1 parent 904f561 commit df8ef4b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
8 changes: 0 additions & 8 deletions test/AnnotationTest.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
7 changes: 0 additions & 7 deletions test/SmallTest.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ struct Goodbyez {
1: i32 val = 325;
}

senum Thinger {
"ASDFKJ",
"r32)*F#@",
"ASDFLJASDF"
}

struct BoolPasser {
1: bool value = 1
}
Expand All @@ -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)
Expand Down

0 comments on commit df8ef4b

Please sign in to comment.