Moved general JPS test data to common directory.

This commit is contained in:
Evgeny Gerashchenko
2014-01-22 20:08:45 +04:00
parent 55e888604e
commit 9e22c29825
97 changed files with 2 additions and 2 deletions
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<module 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="module3" />
</component>
</module>
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<option name="DEFAULT_COMPILER" value="Javac" />
</component>
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/kotlinProject.iml" filepath="$PROJECT_DIR$/kotlinProject.iml" />
<module fileurl="file://$PROJECT_DIR$/module2/module2.iml" filepath="$PROJECT_DIR$/module2/module2.iml" />
<module fileurl="file://$PROJECT_DIR$/module3/module3.iml" filepath="$PROJECT_DIR$/module3/module3.iml" />
</modules>
</component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="IDEA_JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
<component name="libraryTable">
<library name="lib">
<ANNOTATIONS>
<root url="file://$PROJECT_DIR$/module2/lib" />
</ANNOTATIONS>
<CLASSES>
<root url="file://$PROJECT_DIR$/module2/lib" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="file://$PROJECT_DIR$/module2/lib" />
</SOURCES>
</library>
</component>
</project>
@@ -0,0 +1,9 @@
package j;
import java.lang.String;
public class J {
public String foo() {
return "";
}
}
@@ -0,0 +1,5 @@
<root>
<item name='j.J java.lang.String foo()'>
<annotation name='org.jetbrains.annotations.NotNull'/>
</item>
</root>
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<module 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="library" exported="" name="KotlinRuntime" level="project" />
<orderEntry type="library" exported="" name="lib" level="project" />
</component>
</module>
@@ -0,0 +1,2 @@
public class JSecond {
}
@@ -0,0 +1 @@
class K2
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<module 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="module2" exported="" />
</component>
</module>
@@ -0,0 +1,8 @@
fun f() {
JSecond()
K2()
println("Hi")
takeNN(j.J().foo())
}
fun takeNN(a: Any) {}
@@ -0,0 +1,7 @@
fun main() {
f()
JSecond()
K2()
println("Hi")
takeNN(j.J().foo())
}