gradle: remove obsolete code - usage of resourceDirs/testResourceDirs ext properties
[idea/community.git] / plugins / gradle / tooling-extension-impl / testSources / org / jetbrains / plugins / gradle / tooling / builder / ModuleExtendedModelBuilderImplTest.java
index 8a1936a51dfb31d15046f8eea3901ae142d95af1..c8e604c7fc55582b8eed2fa3bf179e7c98f0730e 100644 (file)
@@ -118,19 +118,16 @@ public class ModuleExtendedModelBuilderImplTest extends AbstractModelBuilderTest
           }
           else if (module.getName().equals("withIdeaPluginCustomization2")) {
             assertEquals(ContainerUtil.newArrayList("src/main/java", "src/test/java", "src/test/resources"), sourceDirectories);
-            assertEquals(ContainerUtil.newArrayList("some-extra-resource-folder", "src/main/resources"), resourceDirectories);
+            assertEquals(ContainerUtil.newArrayList("src/main/resources"), resourceDirectories);
             assertTrue(testDirectories.isEmpty());
-            assertEquals(ContainerUtil.newArrayList("some-extra-test-resource-folder"), testResourceDirectories);
+            assertTrue(testResourceDirectories.isEmpty());
             assertEquals(ContainerUtil.newArrayList(".gradle", "build"), excludeDirectories);
           }
           else if (module.getName().equals("withIdeaPluginCustomization3")) {
             assertEquals(ContainerUtil.newArrayList("src/main/java"), sourceDirectories);
-            assertEquals(ContainerUtil.newArrayList(
-              "src/awesome-test/resources", "src/main/resources"), resourceDirectories);
-            assertEquals(ContainerUtil.newArrayList(
-              "src/awesome-test/java", "src/awesome-with-resource-test/java", "src/test/java"), testDirectories);
-            assertEquals(ContainerUtil.newArrayList(
-              "src/awesome-with-resource-test/resources", "src/test/resources"), testResourceDirectories);
+            assertEquals(ContainerUtil.newArrayList("src/awesome-test/resources", "src/main/resources"), resourceDirectories);
+            assertEquals(ContainerUtil.newArrayList("src/awesome-test/java", "src/test/java"), testDirectories);
+            assertEquals(ContainerUtil.newArrayList("src/test/resources"), testResourceDirectories);
             assertEquals(ContainerUtil.newArrayList(".gradle", "build"), excludeDirectories);
           }
           else {