diff options
Diffstat (limited to 'plugins/eclipse/testData/linked')
21 files changed, 236 insertions, 0 deletions
diff --git a/plugins/eclipse/testData/linked/resolvedVars/test/.classpath b/plugins/eclipse/testData/linked/resolvedVars/test/.classpath new file mode 100644 index 000000000000..108282d15d8d --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVars/test/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path=""/> + <classpathentry kind="src" path="variable"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path=""/> +</classpath> diff --git a/plugins/eclipse/testData/linked/resolvedVars/test/.project b/plugins/eclipse/testData/linked/resolvedVars/test/.project new file mode 100644 index 000000000000..ee05fd52e055 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVars/test/.project @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>root</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> + <linkedResources> + <link> + <name>variable</name> + <type>2</type> + <locationURI>variable</locationURI> + </link> + </linkedResources> + +</projectDescription> diff --git a/plugins/eclipse/testData/linked/resolvedVars/variableidea/empty.txt b/plugins/eclipse/testData/linked/resolvedVars/variableidea/empty.txt new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVars/variableidea/empty.txt diff --git a/plugins/eclipse/testData/linked/resolvedVarsInIml/expected/expected.iml b/plugins/eclipse/testData/linked/resolvedVarsInIml/expected/expected.iml new file mode 100644 index 000000000000..7599bf43d825 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInIml/expected/expected.iml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<root inherit-compiler-output="false"> + <output url="file://$MODULE_DIR$/bin" /> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$" isTestSource="false" /> + </content> + <content url="file://$variable$"> + <sourceFolder url="file://$variable$" isTestSource="false" /> + </content> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="inheritedJdk" /> +</root>
\ No newline at end of file diff --git a/plugins/eclipse/testData/linked/resolvedVarsInIml/test/.classpath b/plugins/eclipse/testData/linked/resolvedVarsInIml/test/.classpath new file mode 100644 index 000000000000..2ebfed444d7c --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInIml/test/.classpath @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path=""/> + <classpathentry kind="src" path="variable"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInIml/test/.project b/plugins/eclipse/testData/linked/resolvedVarsInIml/test/.project new file mode 100644 index 000000000000..ee05fd52e055 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInIml/test/.project @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>root</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> + <linkedResources> + <link> + <name>variable</name> + <type>2</type> + <locationURI>variable</locationURI> + </link> + </linkedResources> + +</projectDescription> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInIml/variableidea/empty.txt b/plugins/eclipse/testData/linked/resolvedVarsInIml/variableidea/empty.txt new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInIml/variableidea/empty.txt diff --git a/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/expected/expected.iml b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/expected/expected.iml new file mode 100644 index 000000000000..1026fef7b6f5 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/expected/expected.iml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<root inherit-compiler-output="false"> + <output url="file://$MODULE_DIR$/bin" /> + <exclude-output /> + <content url="file://$MODULE_DIR$" /> + <orderEntry type="inheritedJdk" /> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="module-library" exported=""> + <library name="3rdParty"> + <CLASSES> + <root url="file://$variable$/project1" /> + </CLASSES> + <JAVADOC /> + <SOURCES /> + </library> + </orderEntry> +</root>
\ No newline at end of file diff --git a/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/test/.classpath b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/test/.classpath new file mode 100644 index 000000000000..d28ac786b169 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/test/.classpath @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry exported="true" kind="lib" path="3rdParty"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/test/.project b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/test/.project new file mode 100644 index 000000000000..af1e53c8465b --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/test/.project @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>eclipse_project</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>net.sf.eclipsensis.installoptions.InstallOptionsBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>net.sf.eclipsensis.installoptions.InstallOptionsNature</nature> + </natures> + <linkedResources> + <link> + <name>3rdParty</name> + <type>2</type> + <locationURI>variable/project1</locationURI> + </link> + </linkedResources> +</projectDescription> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/variableidea/project1/empty.txt b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/variableidea/project1/empty.txt new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck/variableidea/project1/empty.txt diff --git a/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck1/test/.classpath b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck1/test/.classpath new file mode 100644 index 000000000000..f116e23ea584 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck1/test/.classpath @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="lib" path="3rdParty/subdir/empty.jar"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck1/test/.project b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck1/test/.project new file mode 100644 index 000000000000..af1e53c8465b --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck1/test/.project @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>eclipse_project</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>net.sf.eclipsensis.installoptions.InstallOptionsBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>net.sf.eclipsensis.installoptions.InstallOptionsNature</nature> + </natures> + <linkedResources> + <link> + <name>3rdParty</name> + <type>2</type> + <locationURI>variable/project1</locationURI> + </link> + </linkedResources> +</projectDescription> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck1/variableidea/project1/subdir/empty.jar b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck1/variableidea/project1/subdir/empty.jar new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInLibImlCheck1/variableidea/project1/subdir/empty.jar diff --git a/plugins/eclipse/testData/linked/resolvedVarsInOutput/test/.classpath b/plugins/eclipse/testData/linked/resolvedVarsInOutput/test/.classpath new file mode 100644 index 000000000000..96c3908a9d3d --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInOutput/test/.classpath @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path=""/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path="linked_resource_variable_alias"/> +</classpath> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInOutput/test/.project b/plugins/eclipse/testData/linked/resolvedVarsInOutput/test/.project new file mode 100644 index 000000000000..55b7dd6f025e --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInOutput/test/.project @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>root</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> + <linkedResources> + <link> + <name>linked_resource_variable_alias</name> + <type>2</type> + <locationURI>variable/project1</locationURI> + </link> + </linkedResources> + +</projectDescription> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInOutput/variableidea/project1/empty.txt b/plugins/eclipse/testData/linked/resolvedVarsInOutput/variableidea/project1/empty.txt new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInOutput/variableidea/project1/empty.txt diff --git a/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/expected/expected.iml b/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/expected/expected.iml new file mode 100644 index 000000000000..d99fb199d68d --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/expected/expected.iml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<root inherit-compiler-output="false"> + <output url="file://$variable$/project1" /> + <exclude-output /> + <content url="file://$MODULE_DIR$"> + <sourceFolder url="file://$MODULE_DIR$" isTestSource="false" /> + </content> + <orderEntry type="sourceFolder" forTests="false" /> + <orderEntry type="inheritedJdk" /> +</root>
\ No newline at end of file diff --git a/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/test/.classpath b/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/test/.classpath new file mode 100644 index 000000000000..96c3908a9d3d --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/test/.classpath @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path=""/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> + <classpathentry kind="output" path="linked_resource_variable_alias"/> +</classpath> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/test/.project b/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/test/.project new file mode 100644 index 000000000000..55b7dd6f025e --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/test/.project @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>root</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.jdt.core.javabuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.jdt.core.javanature</nature> + </natures> + <linkedResources> + <link> + <name>linked_resource_variable_alias</name> + <type>2</type> + <locationURI>variable/project1</locationURI> + </link> + </linkedResources> + +</projectDescription> diff --git a/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/variableidea/project1/empty.txt b/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/variableidea/project1/empty.txt new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/plugins/eclipse/testData/linked/resolvedVarsInOutputImlCheck/variableidea/project1/empty.txt |