Author: scabanovich
Date: 2011-03-30 20:52:51 -0400 (Wed, 30 Mar 2011)
New Revision: 30171
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.classpath
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.project
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/META-INF/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/META-INF/MANIFEST.MF
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/solder/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/solder/core/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/solder/core/test/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/solder/core/test/BeanNamingTest.class
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/solder/core/test/CDISolderCoreAllTests.class
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/build.properties
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/plugin.xml
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/pom.xml
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.classpath
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.project
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.eclipse.jdt.core.prefs
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.jboss.ide.eclipse.as.core.prefs
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/META-INF/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/META-INF/beans.xml
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/bin/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/cdi-api.jar
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/javax.inject.jar
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/seam-solder.jar
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Cat.java
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Mouse.java
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/package-info.java
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Dog.java
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Racoon.java
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/package-info.java
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/BeanNamingTest.java
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/CDISolderCoreAllTests.java
Log:
Share project "org.jboss.tools.cdi.solder.core.test" into
"https://svn.jboss.org/repos/jbosstools"
JBIDE-3120
https://issues.jboss.org/browse/JBIDE-3120
Added: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.classpath
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.classpath
(rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.classpath 2011-03-31 00:52:51
UTC (rev 30171)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="con"
path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.project
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.project
(rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.project 2011-03-31 00:52:51 UTC
(rev 30171)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.cdi.solder.core.test</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
+ </natures>
+</projectDescription>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/META-INF/MANIFEST.MF 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,24 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Contexts and Dependency Injection Test
+Bundle-SymbolicName: org.jboss.tools.cdi.solder.core.test;singleton:=true
+Bundle-Version: 1.2.0.qualifier
+Bundle-Vendor: JBoss by Red Hat
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
+Require-Bundle: org.jboss.tools.tests,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.junit,
+ org.jboss.tools.cdi.core,
+ org.jboss.tools.cdi.solder.core,
+ org.jboss.tools.common,
+ org.eclipse.ui,
+ org.eclipse.jdt.core,
+ org.jboss.tools.common.el.core,
+ org.jboss.tools.common.model.ui,
+ org.eclipse.ltk.core.refactoring,
+ org.jboss.tools.jst.web.kb,
+ org.jboss.tools.cdi.xml,
+ org.eclipse.jst.standard.schemas
+Export-Package: org.jboss.tools.cdi.solder.core.test
+
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/META-INF/MANIFEST.MF
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/solder/core/test/BeanNamingTest.class
===================================================================
(Binary files differ)
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/solder/core/test/BeanNamingTest.class
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/solder/core/test/CDISolderCoreAllTests.class
===================================================================
(Binary files differ)
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/bin/org/jboss/tools/cdi/solder/core/test/CDISolderCoreAllTests.class
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/build.properties
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/build.properties
(rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/build.properties 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,5 @@
+source.. = src/
+bin.includes = META-INF/,\
+ projects/,\
+ .
+jars.compile.order = .
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/build.properties
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/plugin.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/plugin.xml
(rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/plugin.xml 2011-03-31 00:52:51
UTC (rev 30171)
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+<plugin>
+</plugin>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/plugin.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/pom.xml
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/pom.xml
(rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/pom.xml 2011-03-31 00:52:51 UTC
(rev 30171)
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.jboss.tools</groupId>
+ <artifactId>org.jboss.tools.parent.pom</artifactId>
+ <version>0.0.2-SNAPSHOT</version>
+ </parent>
+ <groupId>org.jboss.tools.cdi.tests</groupId>
+ <artifactId>org.jboss.tools.cdi.solder.core.test</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <packaging>eclipse-test-plugin</packaging>
+
+ <properties>
+ <emma.filter>org.jboss.tools.cdi.solder.core*</emma.filter>
+ <emma.instrument.bundles>org.jboss.tools.cdi.solder.core</emma.instrument.bundles>
+ </properties>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-test-plugin</artifactId>
+ <configuration>
+ <explodedBundles>
+ <bundle>org.jboss.tools.cdi.solder.core.test</bundle>
+ </explodedBundles>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/pom.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.classpath
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.classpath
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.classpath 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+ <classpathentry kind="lib" path="lib/cdi-api.jar"/>
+ <classpathentry kind="lib" path="lib/javax.inject.jar"/>
+ <classpathentry kind="lib" path="lib/seam-solder.jar"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.classpath
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.project
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.project
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.project 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>CDISolderTest</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.cdi.core.cdibuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.jboss.tools.jst.web.kb.kbbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.jboss.tools.cdi.core.cdinature</nature>
+ <nature>org.jboss.tools.jst.web.kb.kbnature</nature>
+ </natures>
+</projectDescription>
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.project
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.eclipse.jdt.core.prefs
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.eclipse.jdt.core.prefs
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.eclipse.jdt.core.prefs 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,12 @@
+#Thu Sep 02 19:40:42 MSD 2010
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.eclipse.jdt.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.jboss.ide.eclipse.as.core.prefs
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.jboss.ide.eclipse.as.core.prefs
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.jboss.ide.eclipse.as.core.prefs 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,3 @@
+#Tue Sep 21 16:45:15 MSD 2010
+eclipse.preferences.version=1
+org.jboss.ide.eclipse.as.core.singledeployable.deployableList=
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/.settings/org.jboss.ide.eclipse.as.core.prefs
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/META-INF/beans.xml
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/META-INF/beans.xml
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/META-INF/beans.xml 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,36 @@
+<?xml version="1.0"?>
+<beans
xmlns="http://java.sun.com/xml/ns/javaee"
+ xmlns:drools="urn:java:org.jboss.seam.drools:org.jboss.seam.drools.config"
+ xmlns:plidm="urn:java:org.jboss.seam.security.management.picketlink"
+ xmlns:s="urn:java:ee"
+ xmlns:security="urn:java:org.jboss.seam.security.permission"
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://java.sun.com/xml/ns/javaee
http://jboss.org/schema/cdi/beans_1_0.xsd">
+ <drools:RuleResources>
+ <s:replaces/>
+ <security:SecurityRulesConfig/>
+ <drools:resources>
+ <s:value>classpath;security-rules.drl;DRL</s:value>
+ </drools:resources>
+ </drools:RuleResources>
+ <drools:DroolsConfig>
+ <s:modifies/>
+ <security:SecurityRulesConfig/>
+ <drools:ruleResources>
+ <s:Inject/>
+ <security:SecurityRulesConfig/>
+ </drools:ruleResources>
+ </drools:DroolsConfig>
+ <plidm:JpaIdentityStoreConfiguration>
+ <s:replaces/>
+
<plidm:identityClass>org.jboss.seam.example.ticketmonster.model.IdentityObject</plidm:identityClass>
+
<plidm:credentialClass>org.jboss.seam.example.ticketmonster.model.IdentityObjectCredential</plidm:credentialClass>
+
<plidm:relationshipClass>org.jboss.seam.example.ticketmonster.model.IdentityObjectRelationship</plidm:relationshipClass>
+
<plidm:roleTypeClass>org.jboss.seam.example.ticketmonster.model.IdentityRoleName</plidm:roleTypeClass>
+ </plidm:JpaIdentityStoreConfiguration>
+ <decorators>
+ <class>c</class>
+ </decorators>
+ <alternatives>
+ <stereotype>s</stereotype>
+ </alternatives>
+</beans>
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/META-INF/beans.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/cdi-api.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/cdi-api.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/javax.inject.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/javax.inject.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/seam-solder.jar
===================================================================
(Binary files differ)
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/lib/seam-solder.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Cat.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Cat.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Cat.java 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,5 @@
+package org.jboss.fullyqualified;
+
+public class Cat {
+
+}
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Cat.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,9 @@
+package org.jboss.fullyqualified;
+
+import org.jboss.named.Dog;
+import org.jboss.seam.solder.core.FullyQualified;
+
+(a)FullyQualified(Dog.class)
+public class Elephant {
+
+}
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Mouse.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Mouse.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Mouse.java 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,7 @@
+package org.jboss.fullyqualified;
+
+import javax.inject.Named;
+
+@Named("rodent")
+public class Mouse {
+}
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/Mouse.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/package-info.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/package-info.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/package-info.java 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,6 @@
+@Named
+@FullyQualified
+package org.jboss.fullyqualified;
+
+import javax.inject.Named;
+import org.jboss.seam.solder.core.FullyQualified;
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/fullyqualified/package-info.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Dog.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Dog.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Dog.java 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,5 @@
+package org.jboss.named;
+
+public class Dog {
+
+}
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Dog.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Racoon.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Racoon.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Racoon.java 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,8 @@
+package org.jboss.named;
+
+import javax.inject.Named;
+
+@Named("little")
+public class Racoon {
+
+}
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/Racoon.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/package-info.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/package-info.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/package-info.java 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,5 @@
+@Named
+package org.jboss.named;
+
+import javax.inject.Named;
+import org.jboss.seam.solder.core.FullyQualified;
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/projects/CDISolderTest/src/org/jboss/named/package-info.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/BeanNamingTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/BeanNamingTest.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/BeanNamingTest.java 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,84 @@
+package org.jboss.tools.cdi.solder.core.test;
+
+import java.io.IOException;
+import java.util.Set;
+
+import junit.framework.TestCase;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
+import org.eclipse.core.runtime.Path;
+import org.jboss.tools.cdi.core.CDICorePlugin;
+import org.jboss.tools.cdi.core.IBean;
+import org.jboss.tools.cdi.core.ICDIProject;
+import org.jboss.tools.test.util.JobUtils;
+import org.jboss.tools.test.util.ResourcesUtils;
+
+/**
+ *
+ * @author Viacheslav Kabanovich
+ *
+ */
+public class BeanNamingTest extends TestCase {
+ protected static String PLUGIN_ID = "org.jboss.tools.cdi.solder.core.test";
+ IProject project = null;
+
+ public BeanNamingTest() {}
+
+ public void setUp() throws Exception {
+ project = ResourcesUtils.importProject(PLUGIN_ID,
"/projects/CDISolderTest");
+ JobUtils.waitForIdle();
+ project.refreshLocal(IResource.DEPTH_INFINITE, new NullProgressMonitor());
+ JobUtils.waitForIdle();
+ }
+
+ public void testNamedPackage() throws CoreException, IOException {
+ ICDIProject cdi = CDICorePlugin.getCDIProject(project, true);
+
+ //1. package @Named; class not annotated
+ Set<IBean> bs = cdi.getBeans(new
Path("/CDISolderTest/src/org/jboss/named/Dog.java"));
+ assertFalse(bs.isEmpty());
+ IBean b = bs.iterator().next();
+ assertEquals("dog", b.getName());
+
+ //2. package@Named; class @Named("little")
+ bs = cdi.getBeans(new
Path("/CDISolderTest/src/org/jboss/named/Racoon.java"));
+ assertFalse(bs.isEmpty());
+ b = bs.iterator().next();
+ assertEquals("little", b.getName());
+ }
+
+ public void testFullyQualifiedPackage() throws CoreException, IOException {
+ ICDIProject cdi = CDICorePlugin.getCDIProject(project, true);
+
+ //1. package @FullyQualified and @Named; class not annotated
+ Set<IBean> bs = cdi.getBeans(new
Path("/CDISolderTest/src/org/jboss/fullyqualified/Cat.java"));
+ assertFalse(bs.isEmpty());
+ IBean b = bs.iterator().next();
+ assertEquals("org.jboss.fullyqualified.cat", b.getName());
+
+ //2. package @FullyQualified and @Named; class @Named("rodent")
+ bs = cdi.getBeans(new
Path("/CDISolderTest/src/org/jboss/fullyqualified/Mouse.java"));
+ assertFalse(bs.isEmpty());
+ b = bs.iterator().next();
+ assertEquals("org.jboss.fullyqualified.rodent", b.getName());
+
+ //3. package @FullyQualified and @Named; class @FullyQualified(Dog.class)
+ bs = cdi.getBeans(new
Path("/CDISolderTest/src/org/jboss/fullyqualified/Elephant.java"));
+ assertFalse(bs.isEmpty());
+ b = bs.iterator().next();
+ assertEquals("org.jboss.named.elephant", b.getName());
+
+ }
+
+ public void tearDown() throws Exception {
+ boolean saveAutoBuild = ResourcesUtils.setBuildAutomatically(false);
+ JobUtils.waitForIdle();
+ project.delete(true, true, null);
+ JobUtils.waitForIdle();
+ ResourcesUtils.setBuildAutomatically(saveAutoBuild);
+ JobUtils.waitForIdle();
+ }
+}
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/BeanNamingTest.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/CDISolderCoreAllTests.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/CDISolderCoreAllTests.java
(rev 0)
+++
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/CDISolderCoreAllTests.java 2011-03-31
00:52:51 UTC (rev 30171)
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2011 Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at
http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/
+package org.jboss.tools.cdi.solder.core.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.eclipse.jdt.internal.core.JavaModelManager;
+/**
+ * @author Viacheslav Kabanovich
+ */
+public class CDISolderCoreAllTests {
+
+ public static Test suite() {
+ // it could be done here because it is not needed to be enabled back
+ JavaModelManager.getIndexManager().disable();
+
+ TestSuite suiteAll = new TestSuite("CDI Solder Core Tests");
+
+ suiteAll.addTestSuite(BeanNamingTest.class);
+
+ return suiteAll;
+ }
+}
Property changes on:
trunk/cdi/tests/org.jboss.tools.cdi.solder.core.test/src/org/jboss/tools/cdi/solder/core/test/CDISolderCoreAllTests.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain