@Test public void testGetCanonicalNamespaceAliasFull() { Assert.assertEquals("/", getCanonicalNamespace( "com.cinchapi.concourse.server.http.IndexRouter")); Assert.assertEquals("/help/", getCanonicalNamespace( "com.cinchapi.concourse.server.http.HelpRouter")); Assert.assertEquals("/foo-bar/", getCanonicalNamespace( "com.cinchapi.concourse.server.http.FooBar")); Assert.assertEquals("/foo-bar/one/", getCanonicalNamespace( "com.cinchapi.concourse.server.http.FooBar_One")); }
@VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); }
EndpointContainer implements
        Comparable<EndpointContainer> { @VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); } }
EndpointContainer implements
        Comparable<EndpointContainer> { @VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); } protected  EndpointContainer(ConcourseServer concourse); }
EndpointContainer implements
        Comparable<EndpointContainer> { @VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); } protected  EndpointContainer(ConcourseServer concourse); @Override int compareTo(EndpointContainer other); final Iterable<Endpoint> endpoints(); }
EndpointContainer implements
        Comparable<EndpointContainer> { @VisibleForTesting protected static String getCanonicalNamespace(String name) { return getCanonicalNamespace(RoutingKey.forName(name)); } protected  EndpointContainer(ConcourseServer concourse); @Override int compareTo(EndpointContainer other); final Iterable<Endpoint> endpoints();  }