Beispiel #1
0
 private static void assertModuleLibDepPath(
     LibraryOrderEntry lib, OrderRootType type, List<String> paths) {
   if (paths == null) return;
   assertUnorderedPathsAreEqual(Arrays.asList(lib.getRootUrls(type)), paths);
   // also check the library because it may contain slight different set of urls (e.g. with
   // duplicates)
   assertUnorderedPathsAreEqual(Arrays.asList(lib.getLibrary().getUrls(type)), paths);
 }
Beispiel #2
0
 protected void assertModuleLibDepScope(String moduleName, String depName, DependencyScope scope) {
   LibraryOrderEntry dep = getModuleLibDep(moduleName, depName);
   assertEquals(scope, dep.getScope());
 }