@Test public void testGetCanonicalNamespaceAliasNone() { Assert.assertEquals("/com/company/plugin/", getCanonicalNamespace("com.company.plugin.IndexRouter")); Assert.assertEquals("/com/company/plugin/help/", getCanonicalNamespace("com.company.plugin.HelpRouter")); Assert.assertEquals("/com/company/plugin/foo-bar/", getCanonicalNamespace("com.company.plugin.FooBar")); Assert.assertEquals("/com/company/plugin/foo-bar/one/", getCanonicalNamespace("com.company.plugin.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();  }