@@ -943,15 +943,6 @@ void testGetResourceLiterals_customVerb() {
943943 Truth .assertThat (template .getResourceLiterals ()).containsExactly ("projects" , "instances" );
944944 }
945945
946- @ Test
947- void testGetResourceLiterals_multipleVersions () {
948- PathTemplate template =
949- PathTemplate .create (
950- "v1/compute/v2/projects/{project}/locations/{location}/widgets/{widget}" );
951- Truth .assertThat (template .getResourceLiterals ())
952- .containsExactly ("projects" , "locations" , "widgets" );
953- }
954-
955946 @ Test
956947 void testGetCanonicalResourceName_namedBindingsSimple () {
957948 Set <String > moreKnownResources = ImmutableSet .of ("projects" , "locations" , "bars" );
@@ -1004,16 +995,6 @@ void testGetCanonicalResourceName_unknownResource() {
1004995 .isEqualTo ("projects/{project}" );
1005996 }
1006997
1007- @ Test
1008- void testGetCanonicalResourceName_ignoreVersions () {
1009- Set <String > knownResources = ImmutableSet .of ("projects" , "locations" , "instances" , "widgets" );
1010- PathTemplate template =
1011- PathTemplate .create (
1012- "v1/compute/v2/projects/{project}/locations/{location}/widgets/{widget}" );
1013- Truth .assertThat (template .getCanonicalResourceName (knownResources ))
1014- .isEqualTo ("projects/{project}/locations/{location}/widgets/{widget}" );
1015- }
1016-
1017998 @ Test
1018999 void testGetCanonicalResourceName_customVerb () {
10191000 Set <String > knownResources = ImmutableSet .of ("projects" , "locations" , "instances" , "widgets" );
0 commit comments