Skip to content

Commit

Permalink
Initial ARQ module.
Browse files Browse the repository at this point in the history
  • Loading branch information
alesj committed Sep 10, 2011
1 parent f6f1f1f commit 2b6fffe
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 0 deletions.
34 changes: 34 additions & 0 deletions arquillian/pom.xml
@@ -0,0 +1,34 @@
<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/maven-v4_0_0.xsd">
<!-- Parent -->
<parent>
<groupId>org.jboss.workshop</groupId>
<artifactId>workshop-build</artifactId>
<version>1.0.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>
<artifactId>arquillian-workshop</artifactId>
<packaging>jar</packaging>
<name>JBoss Workshop - Arquillian</name>
<url>http://www.jboss.org/</url>
<description>JBoss Workshop - Arquillian</description>

<dependencies>

<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.jboss.arquillian.junit</groupId>
<artifactId>arquillian-junit-container</artifactId>
<scope>test</scope>
</dependency>

</dependencies>

</project>

@@ -0,0 +1,47 @@
/*
* JBoss, Home of Professional Open Source.
* Copyright 2011, Red Hat, Inc., and individual contributors
* as indicated by the @author tags. See the copyright.txt file in the
* distribution for a full listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/

package org.jboss.test.workshop.arquillian.annotations;

import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.arquillian.junit.Arquillian;
import org.jboss.shrinkwrap.api.Archive;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.JavaArchive;
import org.junit.Test;
import org.junit.runner.RunWith;

/**
* @author <a href="mailto:ales.justin@jboss.org">Ales Justin</a>
*/
// @RunWith(Arquillian.class)
public class AnnotationsTestCase {

@Deployment
public static Archive getDeployment() {
return ShrinkWrap.create(JavaArchive.class);
}

@Test
public void testDefault() throws Exception {
}
}
13 changes: 13 additions & 0 deletions arquillian/src/test/resources/arquillian.xml
@@ -0,0 +1,13 @@
<?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="weld" default="true">
<configuration>
<property name="enableConversationScope">true</property>
</configuration>
</container>

</arquillian>
1 change: 1 addition & 0 deletions pom.xml
Expand Up @@ -15,6 +15,7 @@
<description>JBoss Workshop</description>

<modules>
<module>arquillian</module>
<module>cdi</module>
</modules>

Expand Down

0 comments on commit 2b6fffe

Please sign in to comment.