project & structure view tests to CE
authorKirill Kalishev <kirill.kalishev@jetbrains.com>
Tue, 16 Mar 2010 15:26:49 +0000 (18:26 +0300)
committerKirill Kalishev <kirill.kalishev@jetbrains.com>
Tue, 16 Mar 2010 15:26:49 +0000 (18:26 +0300)
66 files changed:
java/java-impl/src/com/intellij/openapi/projectRoots/impl/JavaSdkImpl.java
java/java-tests/testData/projectView/1/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/projectView/1/src/com/package1/Form1.form [new file with mode: 0644]
java/java-tests/testData/projectView/1/src/com/package1/Form1.java [new file with mode: 0644]
java/java-tests/testData/projectView/1/src/com/package1/Form2.form [new file with mode: 0644]
java/java-tests/testData/projectView/annoyingScrolling/src/com/package1/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/fileStructureForClass/src/com/package1/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/getParentObject/src/com/package1/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/getParentObject/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/projectView/getParentObject/src/com/package1/Class4.java [new file with mode: 0644]
java/java-tests/testData/projectView/getParentObject/src/com/package1/Form1.form [new file with mode: 0644]
java/java-tests/testData/projectView/getParentObject/src/com/package1/Form1.java [new file with mode: 0644]
java/java-tests/testData/projectView/getParentObject/src/com/package1/Form2.form [new file with mode: 0644]
java/java-tests/testData/projectView/packageView/src/com/package1/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/packageView/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/projectView/packageView/src/com/package1/Class4.java [new file with mode: 0644]
java/java-tests/testData/projectView/packageView/src/com/package1/Form1.form [new file with mode: 0644]
java/java-tests/testData/projectView/packageView/src/com/package1/Form1.java [new file with mode: 0644]
java/java-tests/testData/projectView/packageView/src/com/package1/Form2.form [new file with mode: 0644]
java/java-tests/testData/projectView/packageView/src/java/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/packageView/src/javax/servlet/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/selectProject/src/com/package1/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/selectProject/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/projectView/selectProject/src/com/package1/Class4.java [new file with mode: 0644]
java/java-tests/testData/projectView/selectProject/src/com/package1/Form1.java [new file with mode: 0644]
java/java-tests/testData/projectView/showClassMembers/src/com/package1/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/showClassMembers/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/projectView/standardProviders/src/com/package1/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/standardProviders/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/projectView/standardProviders/src/com/package1/Class4.java [new file with mode: 0644]
java/java-tests/testData/projectView/standardProviders/src/com/package1/Form1.form [new file with mode: 0644]
java/java-tests/testData/projectView/standardProviders/src/com/package1/Form1.java [new file with mode: 0644]
java/java-tests/testData/projectView/standardProviders/src/com/package1/Form2.form [new file with mode: 0644]
java/java-tests/testData/projectView/toDo/src/package1/JavaClass.java [new file with mode: 0644]
java/java-tests/testData/projectView/toDo/src/package1/package2/JavaClass.java [new file with mode: 0644]
java/java-tests/testData/projectView/toDo/src/package3/JavaClass.java [new file with mode: 0644]
java/java-tests/testData/projectView/toDo/xmlFile.xml [new file with mode: 0644]
java/java-tests/testData/projectView/toDo1/src/package1/package2/JavaClass.java [new file with mode: 0644]
java/java-tests/testData/projectView/updateProjectView/src/com/package1/Class1.java [new file with mode: 0644]
java/java-tests/testData/projectView/updateProjectView/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/projectView/updateProjectView/src/com/package1/Class4.java [new file with mode: 0644]
java/java-tests/testData/projectView/updateProjectView/src/com/package1/Form1.form [new file with mode: 0644]
java/java-tests/testData/projectView/updateProjectView/src/com/package1/Form1.java [new file with mode: 0644]
java/java-tests/testData/projectView/updateProjectView/src/com/package1/Form2.form [new file with mode: 0644]
java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Form1.form [new file with mode: 0644]
java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Form1.java [new file with mode: 0644]
java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Form2.form [new file with mode: 0644]
java/java-tests/testData/projectView/xmlStructureView/file1.dtd [new file with mode: 0644]
java/java-tests/testData/projectView/xmlStructureView/file1.html [new file with mode: 0644]
java/java-tests/testData/projectView/xmlStructureView/file1.xml [new file with mode: 0644]
java/java-tests/testData/projectView/xmlStructureView/file2.dtd [new file with mode: 0644]
java/java-tests/testData/projectView/xmlStructureView/file2.xml [new file with mode: 0644]
java/java-tests/testData/projectView/xmlStructureView/xhtml-lat1-modified.ent [new file with mode: 0644]
java/java-tests/testData/structureView/expandElementWithExitingName/test.xml [new file with mode: 0644]
java/java-tests/testData/structureView/javaClassStructure/src/com/package1/Class1.java [new file with mode: 0644]
java/java-tests/testData/structureView/membersOrder/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/structureView/showClassMembers/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testData/structureView/visibilitySorter/src/com/package1/Class2.java [new file with mode: 0644]
java/java-tests/testSrc/com/intellij/projectView/BaseProjectViewTestCase.java [moved from java/testFramework/src/com/intellij/projectView/BaseProjectViewTestCase.java with 96% similarity]
java/java-tests/testSrc/com/intellij/projectView/JavaTreeStructureTest.java
java/java-tests/testSrc/com/intellij/projectView/ProjectTreeStructureTest.java
java/java-tests/testSrc/com/intellij/projectView/ProjectViewSwitchingTest.java
java/java-tests/testSrc/com/intellij/projectView/StructureViewUpdatingTest.java
platform/lang-impl/src/com/intellij/psi/impl/file/PsiBinaryFileImpl.java
plugins/ui-designer/ui-designer.iml

index f44bd5635196648a505369889c9987fa2edd638f..5dfaca0c7933a9878e9ddb8ec59e539547ea76ed 100644 (file)
@@ -265,6 +265,21 @@ public class JavaSdkImpl extends JavaSdk {
     return jdk;
   }
 
+  public static Sdk getMockJdkCE() {
+    File mockJdkCEPath = new File(PathManager.getHomePath(), "java/mockJDK");
+    if (mockJdkCEPath.exists()) {
+      return createMockJdk(mockJdkCEPath.getPath(), "java 1.5", getInstance());
+    }
+
+    mockJdkCEPath = new File(PathManager.getHomePath(), "community/java/mockJDK");
+    if (mockJdkCEPath.exists()) {
+      return createMockJdk(mockJdkCEPath.getPath(), "java 1.5", getInstance());
+    }
+
+    return getMockJdk("java 1.5");
+
+  }
+
   public static Sdk getMockJdk(@NonNls String versionName) {
     File mockJdkCEPath = new File(PathManager.getHomePath(), "java/mockJDK");
     if (mockJdkCEPath.exists()) {
diff --git a/java/java-tests/testData/projectView/1/src/com/package1/Class2.java b/java/java-tests/testData/projectView/1/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/java/java-tests/testData/projectView/1/src/com/package1/Form1.form b/java/java-tests/testData/projectView/1/src/com/package1/Form1.form
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/java/java-tests/testData/projectView/1/src/com/package1/Form1.java b/java/java-tests/testData/projectView/1/src/com/package1/Form1.java
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/java/java-tests/testData/projectView/1/src/com/package1/Form2.form b/java/java-tests/testData/projectView/1/src/com/package1/Form2.form
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/java/java-tests/testData/projectView/annoyingScrolling/src/com/package1/Class1.java b/java/java-tests/testData/projectView/annoyingScrolling/src/com/package1/Class1.java
new file mode 100644 (file)
index 0000000..b50e374
--- /dev/null
@@ -0,0 +1,15 @@
+package com.package1;
+
+public class Class1 {
+  private boolean myField1;
+  public boolean myField2;
+  
+  public int getValue(){
+   return 0;
+  }
+  
+  public class InnerClass{
+    public int myInnerClassField;
+  }
+  
+}
diff --git a/java/java-tests/testData/projectView/fileStructureForClass/src/com/package1/Class1.java b/java/java-tests/testData/projectView/fileStructureForClass/src/com/package1/Class1.java
new file mode 100644 (file)
index 0000000..8d9b926
--- /dev/null
@@ -0,0 +1,22 @@
+package com.package1;
+
+public class Class1 {
+
+  private String _myField2;
+  
+
+  class Inner2{
+
+  }
+
+  int _myField1;
+
+  class Inner1{
+
+  }
+
+  private void __method() {
+
+  }
+
+}
diff --git a/java/java-tests/testData/projectView/getParentObject/src/com/package1/Class1.java b/java/java-tests/testData/projectView/getParentObject/src/com/package1/Class1.java
new file mode 100644 (file)
index 0000000..92d4ea7
--- /dev/null
@@ -0,0 +1,12 @@
+package com.package1;
+
+public class Class1 {
+
+  private String myField;
+  
+  private void method() {
+  
+  }
+  
+
+}
diff --git a/java/java-tests/testData/projectView/getParentObject/src/com/package1/Class2.java b/java/java-tests/testData/projectView/getParentObject/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..00c893c
--- /dev/null
@@ -0,0 +1,8 @@
+package com.package1;
+
+public class Class2 {
+}
+
+class Class3 {
+
+}
diff --git a/java/java-tests/testData/projectView/getParentObject/src/com/package1/Class4.java b/java/java-tests/testData/projectView/getParentObject/src/com/package1/Class4.java
new file mode 100644 (file)
index 0000000..73eeb93
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public Class4 {
+}
diff --git a/java/java-tests/testData/projectView/getParentObject/src/com/package1/Form1.form b/java/java-tests/testData/projectView/getParentObject/src/com/package1/Form1.form
new file mode 100644 (file)
index 0000000..1407ffe
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.package1.Form1"/>
diff --git a/java/java-tests/testData/projectView/getParentObject/src/com/package1/Form1.java b/java/java-tests/testData/projectView/getParentObject/src/com/package1/Form1.java
new file mode 100644 (file)
index 0000000..24fb0ad
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Form1 {
+}
diff --git a/java/java-tests/testData/projectView/getParentObject/src/com/package1/Form2.form b/java/java-tests/testData/projectView/getParentObject/src/com/package1/Form2.form
new file mode 100644 (file)
index 0000000..43535f5
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<form version="1" xmlns="http://www.intellij.com/uidesigner/form/"/>
\ No newline at end of file
diff --git a/java/java-tests/testData/projectView/packageView/src/com/package1/Class1.java b/java/java-tests/testData/projectView/packageView/src/com/package1/Class1.java
new file mode 100644 (file)
index 0000000..9fc5f3f
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Class1 {
+}
diff --git a/java/java-tests/testData/projectView/packageView/src/com/package1/Class2.java b/java/java-tests/testData/projectView/packageView/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..00c893c
--- /dev/null
@@ -0,0 +1,8 @@
+package com.package1;
+
+public class Class2 {
+}
+
+class Class3 {
+
+}
diff --git a/java/java-tests/testData/projectView/packageView/src/com/package1/Class4.java b/java/java-tests/testData/projectView/packageView/src/com/package1/Class4.java
new file mode 100644 (file)
index 0000000..73eeb93
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public Class4 {
+}
diff --git a/java/java-tests/testData/projectView/packageView/src/com/package1/Form1.form b/java/java-tests/testData/projectView/packageView/src/com/package1/Form1.form
new file mode 100644 (file)
index 0000000..1407ffe
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.package1.Form1"/>
diff --git a/java/java-tests/testData/projectView/packageView/src/com/package1/Form1.java b/java/java-tests/testData/projectView/packageView/src/com/package1/Form1.java
new file mode 100644 (file)
index 0000000..24fb0ad
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Form1 {
+}
diff --git a/java/java-tests/testData/projectView/packageView/src/com/package1/Form2.form b/java/java-tests/testData/projectView/packageView/src/com/package1/Form2.form
new file mode 100644 (file)
index 0000000..43535f5
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<form version="1" xmlns="http://www.intellij.com/uidesigner/form/"/>
\ No newline at end of file
diff --git a/java/java-tests/testData/projectView/packageView/src/java/Class1.java b/java/java-tests/testData/projectView/packageView/src/java/Class1.java
new file mode 100644 (file)
index 0000000..9fc5f3f
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Class1 {
+}
diff --git a/java/java-tests/testData/projectView/packageView/src/javax/servlet/Class1.java b/java/java-tests/testData/projectView/packageView/src/javax/servlet/Class1.java
new file mode 100644 (file)
index 0000000..9fc5f3f
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Class1 {
+}
diff --git a/java/java-tests/testData/projectView/selectProject/src/com/package1/Class1.java b/java/java-tests/testData/projectView/selectProject/src/com/package1/Class1.java
new file mode 100644 (file)
index 0000000..92d4ea7
--- /dev/null
@@ -0,0 +1,12 @@
+package com.package1;
+
+public class Class1 {
+
+  private String myField;
+  
+  private void method() {
+  
+  }
+  
+
+}
diff --git a/java/java-tests/testData/projectView/selectProject/src/com/package1/Class2.java b/java/java-tests/testData/projectView/selectProject/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..00c893c
--- /dev/null
@@ -0,0 +1,8 @@
+package com.package1;
+
+public class Class2 {
+}
+
+class Class3 {
+
+}
diff --git a/java/java-tests/testData/projectView/selectProject/src/com/package1/Class4.java b/java/java-tests/testData/projectView/selectProject/src/com/package1/Class4.java
new file mode 100644 (file)
index 0000000..73eeb93
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public Class4 {
+}
diff --git a/java/java-tests/testData/projectView/selectProject/src/com/package1/Form1.java b/java/java-tests/testData/projectView/selectProject/src/com/package1/Form1.java
new file mode 100644 (file)
index 0000000..24fb0ad
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Form1 {
+}
diff --git a/java/java-tests/testData/projectView/showClassMembers/src/com/package1/Class1.java b/java/java-tests/testData/projectView/showClassMembers/src/com/package1/Class1.java
new file mode 100644 (file)
index 0000000..b50e374
--- /dev/null
@@ -0,0 +1,15 @@
+package com.package1;
+
+public class Class1 {
+  private boolean myField1;
+  public boolean myField2;
+  
+  public int getValue(){
+   return 0;
+  }
+  
+  public class InnerClass{
+    public int myInnerClassField;
+  }
+  
+}
diff --git a/java/java-tests/testData/projectView/showClassMembers/src/com/package1/Class2.java b/java/java-tests/testData/projectView/showClassMembers/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..c9d2aab
--- /dev/null
@@ -0,0 +1,53 @@
+package com.package1;
+
+public class Class2 {
+  private boolean myField1;
+  public boolean myField2;
+  public boolean myField3;
+  public boolean myField4;
+
+  public int getValue() {
+    return 0;
+  }
+
+  public class InnerClass1 {
+    public int myInnerClassField;
+
+    public class InnerClass12 {
+      public int myInnerClassField;
+
+      public class InnerClass13 {
+        public int myInnerClassField;
+
+        public class InnerClass14 {
+          public int myInnerClassField;
+
+          public class InnerClass15 {
+            public int myInnerClassField;
+          }
+        }
+      }
+    }
+  }
+
+  public class InnerClass2 {
+    public int myInnerClassField;
+
+    public class InnerClass22 {
+      public int myInnerClassField;
+
+      public class InnerClass23 {
+        public int myInnerClassField;
+
+        public class InnerClass24 {
+          public int myFieldToSelect;
+
+          public class InnerClass25 {
+            public int myInnerClassField;
+          }
+        }
+      }
+    }
+  }
+
+}
diff --git a/java/java-tests/testData/projectView/standardProviders/src/com/package1/Class1.java b/java/java-tests/testData/projectView/standardProviders/src/com/package1/Class1.java
new file mode 100644 (file)
index 0000000..9fc5f3f
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Class1 {
+}
diff --git a/java/java-tests/testData/projectView/standardProviders/src/com/package1/Class2.java b/java/java-tests/testData/projectView/standardProviders/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..00c893c
--- /dev/null
@@ -0,0 +1,8 @@
+package com.package1;
+
+public class Class2 {
+}
+
+class Class3 {
+
+}
diff --git a/java/java-tests/testData/projectView/standardProviders/src/com/package1/Class4.java b/java/java-tests/testData/projectView/standardProviders/src/com/package1/Class4.java
new file mode 100644 (file)
index 0000000..73eeb93
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public Class4 {
+}
diff --git a/java/java-tests/testData/projectView/standardProviders/src/com/package1/Form1.form b/java/java-tests/testData/projectView/standardProviders/src/com/package1/Form1.form
new file mode 100644 (file)
index 0000000..1407ffe
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.package1.Form1"/>
diff --git a/java/java-tests/testData/projectView/standardProviders/src/com/package1/Form1.java b/java/java-tests/testData/projectView/standardProviders/src/com/package1/Form1.java
new file mode 100644 (file)
index 0000000..24fb0ad
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Form1 {
+}
diff --git a/java/java-tests/testData/projectView/standardProviders/src/com/package1/Form2.form b/java/java-tests/testData/projectView/standardProviders/src/com/package1/Form2.form
new file mode 100644 (file)
index 0000000..43535f5
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<form version="1" xmlns="http://www.intellij.com/uidesigner/form/"/>
\ No newline at end of file
diff --git a/java/java-tests/testData/projectView/toDo/src/package1/JavaClass.java b/java/java-tests/testData/projectView/toDo/src/package1/JavaClass.java
new file mode 100644 (file)
index 0000000..546b0f0
--- /dev/null
@@ -0,0 +1,11 @@
+package src.package1;
+
+public class JavaClass {
+
+ //todo: Class body
+  protected Object clone() throws CloneNotSupportedException {
+//todo: Method body
+    return super.clone();
+  }
+
+}
diff --git a/java/java-tests/testData/projectView/toDo/src/package1/package2/JavaClass.java b/java/java-tests/testData/projectView/toDo/src/package1/package2/JavaClass.java
new file mode 100644 (file)
index 0000000..dd78422
--- /dev/null
@@ -0,0 +1,11 @@
+package src.package1.package2;
+
+public class JavaClass {
+
+  //todo: Class body
+   protected Object clone() throws CloneNotSupportedException {
+//todo: Method body
+     return super.clone();
+   }
+
+}
diff --git a/java/java-tests/testData/projectView/toDo/src/package3/JavaClass.java b/java/java-tests/testData/projectView/toDo/src/package3/JavaClass.java
new file mode 100644 (file)
index 0000000..bc77625
--- /dev/null
@@ -0,0 +1,11 @@
+package src.package3;
+
+public class JavaClass {
+
+  //todo: Class body
+   protected Object clone() throws CloneNotSupportedException {
+//todo: Method body
+     return super.clone();
+   }
+
+}
diff --git a/java/java-tests/testData/projectView/toDo/xmlFile.xml b/java/java-tests/testData/projectView/toDo/xmlFile.xml
new file mode 100644 (file)
index 0000000..02040a4
--- /dev/null
@@ -0,0 +1,3 @@
+<tag>
+  <!--todo-->
+</tag>
\ No newline at end of file
diff --git a/java/java-tests/testData/projectView/toDo1/src/package1/package2/JavaClass.java b/java/java-tests/testData/projectView/toDo1/src/package1/package2/JavaClass.java
new file mode 100644 (file)
index 0000000..dd78422
--- /dev/null
@@ -0,0 +1,11 @@
+package src.package1.package2;
+
+public class JavaClass {
+
+  //todo: Class body
+   protected Object clone() throws CloneNotSupportedException {
+//todo: Method body
+     return super.clone();
+   }
+
+}
diff --git a/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Class1.java b/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Class1.java
new file mode 100644 (file)
index 0000000..9fc5f3f
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Class1 {
+}
diff --git a/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Class2.java b/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..00c893c
--- /dev/null
@@ -0,0 +1,8 @@
+package com.package1;
+
+public class Class2 {
+}
+
+class Class3 {
+
+}
diff --git a/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Class4.java b/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Class4.java
new file mode 100644 (file)
index 0000000..73eeb93
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public Class4 {
+}
diff --git a/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Form1.form b/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Form1.form
new file mode 100644 (file)
index 0000000..1407ffe
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.package1.Form1"/>
diff --git a/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Form1.java b/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Form1.java
new file mode 100644 (file)
index 0000000..24fb0ad
--- /dev/null
@@ -0,0 +1,4 @@
+package com.package1;
+
+public class Form1 {
+}
diff --git a/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Form2.form b/java/java-tests/testData/projectView/updateProjectView/src/com/package1/Form2.form
new file mode 100644 (file)
index 0000000..43535f5
--- /dev/null
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<form version="1" xmlns="http://www.intellij.com/uidesigner/form/"/>
\ No newline at end of file
diff --git a/java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Class2.java b/java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Form1.form b/java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Form1.form
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Form1.java b/java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Form1.java
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Form2.form b/java/java-tests/testData/projectView/updatingAfterRename/src/com/package1/Form2.form
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/java/java-tests/testData/projectView/xmlStructureView/file1.dtd b/java/java-tests/testData/projectView/xmlStructureView/file1.dtd
new file mode 100644 (file)
index 0000000..5a34555
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!ELEMENT myplugin (helpset)>
+<!ATTLIST myplugin
+    url CDATA #IMPLIED
+    version CDATA #IMPLIED>
+<!ELEMENT helpset EMPTY>
+<!ATTLIST helpset
+  file CDATA #REQUIRED
+  path CDATA #REQUIRED>
+
+<!ENTITY % draft 'IGNORE'>
+ <!ENTITY % final 'INCLUDE'>
+
+<![%draft;[
+<!ELEMENT book (comments*, title, body, supplements?)>
+<!ELEMENT comments EMPTY>
+]]>
+<![%final;[
+<!ELEMENT book (price,title, body, supplements?)>
+<!ELEMENT price EMPTY>
+]]>
\ No newline at end of file
diff --git a/java/java-tests/testData/projectView/xmlStructureView/file1.html b/java/java-tests/testData/projectView/xmlStructureView/file1.html
new file mode 100644 (file)
index 0000000..98dff75
--- /dev/null
@@ -0,0 +1,11 @@
+<HEAD>
+<TITLE>CSS Example</TITLE>
+<STYLE TYPE="text/css">
+  H1 { font-size: x-large; color: red }
+  H2 { font-size: large; color: blue }
+</STYLE>
+<BODY>
+  <P>text
+  <BR>text2
+</BODY>
+</HEAD>
diff --git a/java/java-tests/testData/projectView/xmlStructureView/file1.xml b/java/java-tests/testData/projectView/xmlStructureView/file1.xml
new file mode 100644 (file)
index 0000000..d58fb0e
--- /dev/null
@@ -0,0 +1,11 @@
+<root name="IDEA_ZKM" default="all_dist" basedir=".">
+  <a attr1="value1" attr2="value2">
+    text
+    <a attr1="value1" attr2="value2">
+      text2
+    <text><![CDATA[Text with
+a new line]]></text>      
+      <b/>
+    </a>
+  </a>
+</root>
diff --git a/java/java-tests/testData/projectView/xmlStructureView/file2.dtd b/java/java-tests/testData/projectView/xmlStructureView/file2.dtd
new file mode 100644 (file)
index 0000000..3dbaa54
--- /dev/null
@@ -0,0 +1,4 @@
+<!ENTITY % HTMLlat1 PUBLIC
+  "-//W3C//ENTITIES Latin 1 for XHTML//EN"
+  "xhtml-lat1-modified.ent">
+%HTMLlat1;
diff --git a/java/java-tests/testData/projectView/xmlStructureView/file2.xml b/java/java-tests/testData/projectView/xmlStructureView/file2.xml
new file mode 100644 (file)
index 0000000..52306bc
--- /dev/null
@@ -0,0 +1,8 @@
+<!DOCTYPE title 
+  [
+<!ELEMENT title (#PCDATA | body)* >
+<!ELEMENT body EMPTY>
+<!ELEMENT supplements EMPTY>
+  ]>
+
+<title/>
\ No newline at end of file
diff --git a/java/java-tests/testData/projectView/xmlStructureView/xhtml-lat1-modified.ent b/java/java-tests/testData/projectView/xmlStructureView/xhtml-lat1-modified.ent
new file mode 100644 (file)
index 0000000..22bee77
--- /dev/null
@@ -0,0 +1,2 @@
+<!ENTITY nbsp   "&#160;"> <!-- no-break space = non-breaking space,
+                                  U+00A0 ISOnum -->
\ No newline at end of file
diff --git a/java/java-tests/testData/structureView/expandElementWithExitingName/test.xml b/java/java-tests/testData/structureView/expandElementWithExitingName/test.xml
new file mode 100644 (file)
index 0000000..7428882
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+
+<test>
+       <level1>
+               <level2>
+                       <level3></level3>
+               </level2>
+       </level1>
+       <level1>
+               <level2>
+                       <level3></level3>
+               </level2>
+       </level1>
+       <level1>
+               <level2>
+                       <level3></level3>
+               </level2>
+       </level1>
+       <level1>
+               <level2>
+                       <level3></level3>
+               </level2>
+       </level1>
+</test>
diff --git a/java/java-tests/testData/structureView/javaClassStructure/src/com/package1/Class1.java b/java/java-tests/testData/structureView/javaClassStructure/src/com/package1/Class1.java
new file mode 100644 (file)
index 0000000..8376a92
--- /dev/null
@@ -0,0 +1,10 @@
+package com.package1;
+
+public class Class1 {
+  public boolean myField1;
+  public boolean myField2;
+  
+  public int getValue(){
+   return 0;
+  }  
+}
diff --git a/java/java-tests/testData/structureView/membersOrder/src/com/package1/Class2.java b/java/java-tests/testData/structureView/membersOrder/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..3ecb098
--- /dev/null
@@ -0,0 +1,7 @@
+public class Class2 {
+  private int ab;
+  protected int z;
+  public void af(){}
+  public void zf(){}
+  public Class2(){}
+}
\ No newline at end of file
diff --git a/java/java-tests/testData/structureView/showClassMembers/src/com/package1/Class2.java b/java/java-tests/testData/structureView/showClassMembers/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..c9d2aab
--- /dev/null
@@ -0,0 +1,53 @@
+package com.package1;
+
+public class Class2 {
+  private boolean myField1;
+  public boolean myField2;
+  public boolean myField3;
+  public boolean myField4;
+
+  public int getValue() {
+    return 0;
+  }
+
+  public class InnerClass1 {
+    public int myInnerClassField;
+
+    public class InnerClass12 {
+      public int myInnerClassField;
+
+      public class InnerClass13 {
+        public int myInnerClassField;
+
+        public class InnerClass14 {
+          public int myInnerClassField;
+
+          public class InnerClass15 {
+            public int myInnerClassField;
+          }
+        }
+      }
+    }
+  }
+
+  public class InnerClass2 {
+    public int myInnerClassField;
+
+    public class InnerClass22 {
+      public int myInnerClassField;
+
+      public class InnerClass23 {
+        public int myInnerClassField;
+
+        public class InnerClass24 {
+          public int myFieldToSelect;
+
+          public class InnerClass25 {
+            public int myInnerClassField;
+          }
+        }
+      }
+    }
+  }
+
+}
diff --git a/java/java-tests/testData/structureView/visibilitySorter/src/com/package1/Class2.java b/java/java-tests/testData/structureView/visibilitySorter/src/com/package1/Class2.java
new file mode 100644 (file)
index 0000000..8031464
--- /dev/null
@@ -0,0 +1,5 @@
+public class Class2 {
+  private int __myPrivateFiield;
+  protected int _myProtectedField;
+  public int myPublicField;
+}
\ No newline at end of file
similarity index 96%
rename from java/testFramework/src/com/intellij/projectView/BaseProjectViewTestCase.java
rename to java/java-tests/testSrc/com/intellij/projectView/BaseProjectViewTestCase.java
index df81c6468b2c9b63ed8650179cb774e07f6d3fd5..dcc7ae2531c06f7ee5896245e0048134034ad23f 100644 (file)
@@ -15,6 +15,7 @@
  */
 package com.intellij.projectView;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.ide.SelectInTarget;
 import com.intellij.ide.projectView.BaseProjectTreeBuilder;
 import com.intellij.ide.projectView.ProjectView;
@@ -23,6 +24,8 @@ import com.intellij.ide.projectView.impl.*;
 import com.intellij.ide.projectView.impl.nodes.PackageElementNode;
 import com.intellij.ide.projectView.impl.nodes.PsiDirectoryNode;
 import com.intellij.ide.util.treeView.*;
+import com.intellij.openapi.projectRoots.Sdk;
+import com.intellij.openapi.projectRoots.impl.JavaSdkImpl;
 import com.intellij.openapi.ui.Queryable;
 import com.intellij.testFramework.IdeaTestUtil;
 import com.intellij.openapi.project.DumbAwareRunnable;
@@ -276,4 +279,14 @@ public abstract class BaseProjectViewTestCase extends TestSourceBasedTestCase {
 
     }
   }
+
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath();
+  }
+
+  @Override
+  protected Sdk getTestProjectJdk() {
+    return JavaSdkImpl.getMockJdkCE();
+  }
 }
index 9397acc1e38439eefb847c05ba94ff9887f406c5..63e696a320a2ffe136cee1ea8e765e8237aeda6a 100644 (file)
  */
 package com.intellij.projectView;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.ide.structureView.impl.java.InheritedMembersFilter;
 import com.intellij.ide.structureView.impl.java.PublicElementsFilter;
 import com.intellij.ide.structureView.impl.java.VisibilitySorter;
 import com.intellij.ide.structureView.newStructureView.StructureViewComponent;
+import com.intellij.openapi.projectRoots.Sdk;
+import com.intellij.openapi.projectRoots.impl.JavaSdkImpl;
 import com.intellij.testFramework.IdeaTestUtil;
 import com.intellij.openapi.fileEditor.FileEditor;
 import com.intellij.openapi.fileEditor.FileEditorManager;
@@ -54,20 +57,21 @@ public class JavaTreeStructureTest extends TestSourceBasedTestCase {
   public void testJavaClassStructure() throws Exception {
     dotest(new CheckAction() {
       public void testClassStructure(StructureViewComponent structureViewComponent) {
-        IdeaTestUtil.assertTreeEqual(structureViewComponent.getTree(), "-Class1.java\n" +
+        IdeaTestUtil.assertTreeEqual(structureViewComponent.getTree(),
+                                                                 "-Class1.java\n" +
                                                                  " -Class1\n" +
                                                                  "  getValue():int\n" +
+                                                                 "  getClass():Class<? extends Object>\n" +
                                                                  "  hashCode():int\n" +
-                                                                 "  finalize():void\n" +
+                                                                 "  equals(Object):boolean\n" +
+                                                                 "  clone():Object\n" +
+                                                                 "  toString():String\n" +
                                                                  "  notify():void\n" +
                                                                  "  notifyAll():void\n" +
-                                                                 "  wait():void\n" +
                                                                  "  wait(long):void\n" +
                                                                  "  wait(long, int):void\n" +
-                                                                 "  getClass():Class\n" +
-                                                                 "  clone():Object\n" +
-                                                                 "  equals(Object):boolean\n" +
-                                                                 "  toString():String\n" +
+                                                                 "  wait():void\n" +
+                                                                 "  finalize():void\n" +
                                                                  "  myField1:boolean\n" +
                                                                  "  myField2:boolean\n");
 
@@ -110,17 +114,17 @@ public class JavaTreeStructureTest extends TestSourceBasedTestCase {
                                            "  +InnerClass1\n" +
                                            "  +InnerClass2\n" +
                                            "  getValue():int\n" +
+                                           "  getClass():Class<? extends Object>\n" +
                                            "  hashCode():int\n" +
-                                           "  finalize():void\n" +
+                                           "  equals(Object):boolean\n" +
+                                           "  clone():Object\n" +
+                                           "  toString():String\n" +
                                            "  notify():void\n" +
                                            "  notifyAll():void\n" +
-                                           "  wait():void\n" +
                                            "  wait(long):void\n" +
                                            "  wait(long, int):void\n" +
-                                           "  getClass():Class\n" +
-                                           "  clone():Object\n" +
-                                           "  equals(Object):boolean\n" +
-                                           "  toString():String\n" +
+                                           "  wait():void\n" +
+                                           "  finalize():void\n" +
                                            "  myField1:boolean\n" +
                                            "  myField2:boolean\n" +
                                            "  myField3:boolean\n" +
@@ -201,4 +205,14 @@ public class JavaTreeStructureTest extends TestSourceBasedTestCase {
     }
   }
 
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath();
+  }
+
+  @Override
+  protected Sdk getTestProjectJdk() {
+    return JavaSdkImpl.getMockJdkCE();
+  }
+
 }
index 8e98c92febdff66c8a6abb595f3fed4888fce381..67f1e0a34eed6a158f94cc9d2d30ca955af4bf57 100644 (file)
@@ -35,21 +35,21 @@ public class ProjectTreeStructureTest extends BaseProjectViewTestCase {
                                                 " Class4.java\n");
     assertStructureEqual("Project\n" +
            " External Libraries\n" +
-           "  Library: < java 1.4 >\n" +
-           "   jsp-api.jar\n" +
+           "  Library: < java 1.5 >\n" +
+           "   annotations.jar\n" +
+           "    classpath.index\n" +
            "    META-INF\n" +
            "     MANIFEST.MF\n" +
-           "    javax\n" +
-           "     servlet\n" +
-           "      jsp\n" +
-           "       ErrorData\n" +
-           "       HttpJspPage\n" +
-           "       JspContext\n" +
-           "       JspEngineInfo\n" +
-           "       JspException\n" +
-           "       JspFactory\n" +
-           "       JspPage\n" +
-           "       JspTagException\n"
+           "    org\n" +
+           "     intellij\n" +
+           "      lang\n" +
+           "       annotations\n" +
+           "        Identifier\n" +
+           "        Language\n" +
+           "        Pattern\n" +
+           "        PrintFormat\n" +
+           "        PrintFormatPattern\n" +
+           "        RegExp\n"
     );
 
     getProjectTreeStructure().setProviders();
@@ -65,21 +65,22 @@ public class ProjectTreeStructureTest extends BaseProjectViewTestCase {
 
     assertStructureEqual("Project\n" +
            " External Libraries\n" +
-           "  Library: < java 1.4 >\n" +
-           "   jsp-api.jar\n" +
+           "  Library: < java 1.5 >\n" +
+           "   annotations.jar\n" +
+           "    classpath.index\n" +
            "    META-INF\n" +
            "     MANIFEST.MF\n" +
-           "    javax\n" +
-           "     servlet\n" +
-           "      jsp\n" +
-           "       el\n" +
-           "        ELException.class\n" +
-           "        ELParseException.class\n" +
-           "        Expression.class\n" +
-           "        ExpressionEvaluator.class\n" +
-           "        FunctionMapper.class\n" +
-           "        VariableResolver.class\n" +
-           "       resources\n");
+           "    org\n" +
+           "     intellij\n" +
+           "      lang\n" +
+           "       annotations\n" +
+           "        Identifier.class\n" +
+           "        Language.class\n" +
+           "        Pattern.class\n" +
+           "        PrintFormat.class\n" +
+           "        PrintFormatPattern.class\n" +
+           "        RegExp.class\n"
+);
   }
 
   public void testShowClassMembers() {
index 25738d1eb1b0fbd59db7c58a91054cc5ae82abb5..02e14bd7565fb0215c6b725c02e370b4fb6ae5d7 100644 (file)
@@ -1,11 +1,14 @@
 package com.intellij.projectView;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.ide.favoritesTreeView.FavoritesManager;
 import com.intellij.ide.favoritesTreeView.FavoritesProjectViewPane;
 import com.intellij.ide.projectView.ProjectView;
 import com.intellij.ide.projectView.impl.AbstractProjectViewPane;
 import com.intellij.ide.projectView.impl.ProjectViewImpl;
 import com.intellij.ide.projectView.impl.ProjectViewPane;
+import com.intellij.openapi.projectRoots.Sdk;
+import com.intellij.openapi.projectRoots.impl.JavaSdkImpl;
 import com.intellij.testFramework.TestSourceBasedTestCase;
 
 public class ProjectViewSwitchingTest extends TestSourceBasedTestCase {
@@ -53,4 +56,15 @@ public class ProjectViewSwitchingTest extends TestSourceBasedTestCase {
     assertEquals(FavoritesProjectViewPane.ID, currentPane.getId());
     assertEquals("yyyy", currentPane.getSubId());
   }
+
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath();
+  }
+
+  @Override
+  protected Sdk getTestProjectJdk() {
+    return JavaSdkImpl.getMockJdkCE();
+  }
+
 }
index a87538f52a41085676cb1c5c791016a3bf95eaa5..53309e3f43d61d5c7b3048fd4582412cef389ca9 100644 (file)
  */
 package com.intellij.projectView;
 
+import com.intellij.JavaTestUtil;
 import com.intellij.ide.structureView.impl.java.InheritedMembersFilter;
 import com.intellij.ide.structureView.newStructureView.StructureViewComponent;
+import com.intellij.openapi.projectRoots.Sdk;
+import com.intellij.openapi.projectRoots.impl.JavaSdkImpl;
 import com.intellij.testFramework.IdeaTestUtil;
 import com.intellij.openapi.application.ApplicationManager;
 import com.intellij.openapi.command.CommandProcessor;
@@ -65,13 +68,23 @@ public class StructureViewUpdatingTest extends TestSourceBasedTestCase {
       final StructureViewComponent structureViewComponent =
         (StructureViewComponent)fileEditor.getStructureViewBuilder().createStructureView(fileEditor, myProject);
       final Document document = PsiDocumentManager.getInstance(myProject).getDocument(psiClass.getContainingFile());
-      IdeaTestUtil.assertTreeEqual(structureViewComponent.getTree(), "-Class1.java\n" + " -Class1\n" + "  getValue():int\n" +
-                                                                     "  hashCode():int\n" + "  finalize():void\n" + "  notify():void\n" +
-                                                                     "  notifyAll():void\n" + "  wait():void\n" + "  wait(long):void\n" +
-                                                                     "  wait(long, int):void\n" + "  getClass():Class\n" +
-                                                                     "  clone():Object\n" + "  equals(Object):boolean\n" +
-                                                                     "  toString():String\n" + "  myField1:boolean\n" +
-                                                                     "  myField2:boolean\n");
+      IdeaTestUtil.assertTreeEqual(structureViewComponent.getTree(),
+                                   "-Class1.java\n" +
+                                   " -Class1\n" +
+                                   "  getValue():int\n" +
+                                   "  getClass():Class<? extends Object>\n" +
+                                   "  hashCode():int\n" +
+                                   "  equals(Object):boolean\n" +
+                                   "  clone():Object\n" +
+                                   "  toString():String\n" +
+                                   "  notify():void\n" +
+                                   "  notifyAll():void\n" +
+                                   "  wait(long):void\n" +
+                                   "  wait(long, int):void\n" +
+                                   "  wait():void\n" +
+                                   "  finalize():void\n" +
+                                   "  myField1:boolean\n" +
+                                   "  myField2:boolean\n");
 
       CommandProcessor.getInstance().executeCommand(myProject, new Runnable() {
         public void run() {
@@ -89,17 +102,17 @@ public class StructureViewUpdatingTest extends TestSourceBasedTestCase {
 
       IdeaTestUtil.assertTreeEqual(structureViewComponent.getTree(), "-Class1.java\n" +
                                                                      " -Class1\n" + "  getValue():int\n" +
+                                                                     "  getClass():Class<? extends Object>\n" +
                                                                      "  hashCode():int\n" +
-                                                                     "  finalize():void\n" +
+                                                                     "  equals(Object):boolean\n" +
+                                                                     "  clone():Object\n" +
+                                                                     "  toString():String\n" +
                                                                      "  notify():void\n" +
                                                                      "  notifyAll():void\n" +
-                                                                     "  wait():void\n" +
                                                                      "  wait(long):void\n" +
                                                                      "  wait(long, int):void\n" +
-                                                                     "  getClass():Class\n" +
-                                                                     "  clone():Object\n" +
-                                                                     "  equals(Object):boolean\n" +
-                                                                     "  toString():String\n" +
+                                                                     "  wait():void\n" +
+                                                                     "  finalize():void\n" +
                                                                      "  myField1:boolean\n" +
                                                                      "  myField2:boolean\n" +
                                                                      "  myNewField:boolean = false\n");
@@ -224,4 +237,15 @@ public class StructureViewUpdatingTest extends TestSourceBasedTestCase {
     }
 
   }
+
+  @Override
+  protected String getTestDataPath() {
+    return JavaTestUtil.getJavaTestDataPath();
+  }
+
+  @Override
+  protected Sdk getTestProjectJdk() {
+    return JavaSdkImpl.getMockJdkCE();
+  }
+
 }
index 435d2a7da125fbc1c2f1059eed3777fa2ab7b992..2aa556247856d1ed1da25e13757dd41c14717ebf 100644 (file)
@@ -19,6 +19,7 @@ package com.intellij.psi.impl.file;
 import com.intellij.lang.ASTNode;
 import com.intellij.lang.Language;
 import com.intellij.openapi.fileTypes.FileType;
+import com.intellij.openapi.ui.Queryable;
 import com.intellij.openapi.util.TextRange;
 import com.intellij.openapi.vfs.VirtualFile;
 import com.intellij.psi.*;
@@ -34,8 +35,9 @@ import org.jetbrains.annotations.NotNull;
 import org.jetbrains.annotations.Nullable;
 
 import java.io.IOException;
+import java.util.Map;
 
-public class PsiBinaryFileImpl extends PsiElementBase implements PsiBinaryFile, Cloneable {
+public class PsiBinaryFileImpl extends PsiElementBase implements PsiBinaryFile, Cloneable, Queryable {
   private final PsiManagerImpl myManager;
   private String myName; // for myFile == null only
   private byte[] myContents; // for myFile == null only
@@ -263,4 +265,9 @@ public class PsiBinaryFileImpl extends PsiElementBase implements PsiBinaryFile,
   public PsiElement getContext() {
     return FileContextUtil.getFileContext(this);
   }
+
+  public void putInfo(Map<String, String> info) {
+    info.put("fileName", getName());
+    info.put("fileType", getFileType().getName());
+  }
 }
index 3b447671e11139d3f64f89551f8ebf5de475732c..acbcd5b208a6abc3a2767c6091580036cf85f52d 100644 (file)
@@ -25,6 +25,7 @@
     <orderEntry type="module" module-name="idea-ui" />
     <orderEntry type="module" module-name="testFramework-java" scope="TEST" />
     <orderEntry type="module" module-name="java-impl" />
+    <orderEntry type="module" module-name="java-tests" />
   </component>
   <component name="copyright">
     <Base>