View gist:768579
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input jbossHome = integration-tests/target/integ-dist/jboss/ | |
converted return new File(jbossHome).getAbsolutePath(); | |
jbossHome = C:\Users\bob\torquebox\torquebox\integration-tests\ | |
protected String getStartClasspath() | |
{ | |
File runjar = new File(jbossHome + "/bin/run.jar"); | |
File javaJar = new File(javaHome + "/lib/tools.jar"); | |
return runjar.toString() + File.pathSeparator + javaJar.toString(); | |
} |
View ArquillianContainerSPI_1.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface Container | |
{ | |
} | |
public interface ControllableContainer extends Container | |
{ | |
void setup(); | |
void start(); | |
void stop(); |
View ContextualDeploymentFromDifferentContainer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RunWith(Arquillian.class) | |
public class ContextualDeploymentFromDifferentContainer | |
{ | |
@Deployment(name = "Dep-1") @TargetsContainer("Cont-1") | |
public static WebArchive create() | |
{ | |
return ShrinkWrap.create(WebArchive.class) | |
.addClass(RESTServlet.class); | |
} | |
View CustomerResourceClientTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RunWith(Arquillian.class) | |
public class CustomerResourceClientTest | |
{ | |
private static final String REST_PATH = "rest"; | |
@Deployment(testable = false) | |
public static Archive<?> createDeployment() | |
{ | |
return ShrinkWrap.create(WebArchive.class) | |
.addPackage(Customer.class.getPackage()) |
View arquillian.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<arquillian | |
xmlns="http://jboss.org/schema/arquillian" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd"> | |
<container qualifier="glassfish" default="true"> | |
<configuration> | |
<property name="sunResourcesXml">src/test/resources/sun-resources.xml</property> | |
<property name="bindHttpPort">7070</property> |
View gist:884933
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Repositories: | |
arquillian-container-jbossas | |
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?jboss.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all | |
arquillian-container-weld | |
git filter-branch --index-filter 'git ls-tree -r --name-only --full-tree $GIT_COMMIT | grep -v "^\(container.\?/\?weld.*\)" | xargs -I {} git rm --cached -r {}' --tag-name-filter cat --prune-empty -- --all |
View ironjacamar-arq-alpha5.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: embedded/src/main/java/org/jboss/jca/embedded/arquillian/EmbeddedJCAContainerConfiguration.java | |
=================================================================== | |
--- embedded/src/main/java/org/jboss/jca/embedded/arquillian/EmbeddedJCAContainerConfiguration.java (revision 111054) | |
+++ embedded/src/main/java/org/jboss/jca/embedded/arquillian/EmbeddedJCAContainerConfiguration.java (working copy) | |
@@ -21,8 +21,7 @@ | |
*/ | |
package org.jboss.jca.embedded.arquillian; | |
-import org.jboss.arquillian.spi.ContainerConfiguration; | |
-import org.jboss.arquillian.spi.ContainerProfile; |
View arquillian_weld_ee_container.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/inject-tck-runner/pom.xml b/inject-tck-runner/pom.xml | |
index 571ccc3..8b76dbb 100644 | |
--- a/inject-tck-runner/pom.xml | |
+++ b/inject-tck-runner/pom.xml | |
@@ -44,7 +44,7 @@ | |
</dependency> | |
<dependency> | |
- <groupId>org.jboss.weld.arquillian.container</groupId> | |
+ <groupId>org.jboss.arquillian.container</groupId> |
View BeforeAfterTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@RunWith(Arquillian.class) | |
public class BeforeAfterTest { | |
@Deployment(name = "X") @TargetsContainer("A") | |
public static void WebArchive create1() {} | |
@Deployment(name = "Y") @TargetsContainer("B") | |
public static void WebArchive create1() {} | |
// executed incontainer with testInContainerOnContainerA |
View IronJacamarDescriptor.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class IronJacamarDescriptor implements Descriptor { | |
private String name; | |
private InputStream content; | |
public IronJacamarDescriptor(String name, InputStream content) | |
{ | |
this.name = name; | |
this.content = content; | |
} |
OlderNewer