mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Module Scopes: test fixes
This commit is contained in:
+10
-4
@@ -1013,11 +1013,17 @@ public class MavenClasspathsAndSearchScopesTest extends MavenImportingTestCase {
|
||||
}
|
||||
|
||||
private void assertPaths(String[] expectedPaths, List<String> actualPaths) {
|
||||
List<String> systemPaths = new ArrayList<String>();
|
||||
for (String each : expectedPaths) {
|
||||
systemPaths.add(FileUtil.toSystemDependentName(each));
|
||||
List<String> normalizedActualPaths = new ArrayList<String>();
|
||||
List<String> normalizedExpectedPaths = new ArrayList<String>();
|
||||
|
||||
for (String each : actualPaths) {
|
||||
normalizedActualPaths.add(FileUtil.toSystemDependentName(each));
|
||||
}
|
||||
assertOrderedElementsAreEqual(actualPaths, systemPaths);
|
||||
for (String each : expectedPaths) {
|
||||
normalizedExpectedPaths.add(FileUtil.toSystemDependentName(each));
|
||||
}
|
||||
|
||||
assertOrderedElementsAreEqual(normalizedActualPaths, normalizedExpectedPaths);
|
||||
}
|
||||
|
||||
private void createRepositoryFile(String filePath) throws IOException {
|
||||
|
||||
Reference in New Issue
Block a user