mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-09 15:41:26 +07:00
java highlighting tests moved to community
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module relativePaths="true" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntryProperties />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package bug.test;
|
||||
|
||||
/**
|
||||
* Created by IntelliJ IDEA.
|
||||
* Date: Dec 13, 2007
|
||||
* Time: 4:12:50 PM
|
||||
* To change this template use File | Settings | File Templates.
|
||||
*/
|
||||
public class BaseClass {
|
||||
|
||||
public void doSomething(String arg1){
|
||||
System.out.println("In BaseClass::doSomething(int arg1)");
|
||||
}
|
||||
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module relativePaths="true" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="Override" />
|
||||
<orderEntryProperties />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
import bug.test.BaseClass;
|
||||
|
||||
/**
|
||||
* Created by IntelliJ IDEA.
|
||||
* Date: Dec 13, 2007
|
||||
* Time: 4:15:48 PM
|
||||
* To change this template use File | Settings | File Templates.
|
||||
*/
|
||||
public class BugTest {
|
||||
public static void main(){
|
||||
BaseClass testClass = new BaseClass();
|
||||
|
||||
testClass.doSomething(5);
|
||||
|
||||
testClass.doSomethingElse(5);
|
||||
}
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module relativePaths="true" type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
<orderEntry type="module" module-name="Base" exported="" />
|
||||
<orderEntryProperties />
|
||||
</component>
|
||||
</module>
|
||||
|
||||
+18
@@ -0,0 +1,18 @@
|
||||
package bug.test;
|
||||
|
||||
/**
|
||||
* Created by IntelliJ IDEA.
|
||||
* Date: Dec 13, 2007
|
||||
* Time: 4:14:49 PM
|
||||
*/
|
||||
public class BaseClass {
|
||||
|
||||
public void doSomething(int arg1) {
|
||||
System.out.println("In OVERRIDDEN BaseClass::doSomething(int arg1)");
|
||||
}
|
||||
|
||||
|
||||
public void doSomethingElse(int arg1) {
|
||||
System.out.println("In OVERRIDDEN BaseClass::doSomethingElse(int arg1)");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user