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); }
protected void assertModuleLibDepScope(String moduleName, String depName, DependencyScope scope) { LibraryOrderEntry dep = getModuleLibDep(moduleName, depName); assertEquals(scope, dep.getScope()); }