@Test public void parsesEmptyManifest() { URL manifest = getClass().getResource("manifest-empty"); List<URL> models = ModelDiscovery.findModels(manifest); assertThat(models, empty()); }
public static List<URL> findModels() { return findModels(Thread.currentThread().getContextClassLoader()); }
ModelDiscovery { public static List<URL> findModels() { return findModels(Thread.currentThread().getContextClassLoader()); } }
ModelDiscovery { public static List<URL> findModels() { return findModels(Thread.currentThread().getContextClassLoader()); } private  ModelDiscovery(); }
ModelDiscovery { public static List<URL> findModels() { return findModels(Thread.currentThread().getContextClassLoader()); } private  ModelDiscovery(); static List<URL> findModels(); static List<URL> findModels(ClassLoader loader); static List<URL> findModels(URL jarManifestUrl); static String getSmithyModelPathFromJarUrl(URL modelUrl); static URL createSmithyJarManifestUrl(String fileOrUrl); }
ModelDiscovery { public static List<URL> findModels() { return findModels(Thread.currentThread().getContextClassLoader()); } private  ModelDiscovery(); static List<URL> findModels(); static List<URL> findModels(ClassLoader loader); static List<URL> findModels(URL jarManifestUrl); static String getSmithyModelPathFromJarUrl(URL modelUrl); static URL createSmithyJarManifestUrl(String fileOrUrl);  }