8000 commenting Arquillian dependencies till it is sorted out · javaee-samples/javaee7-samples@ede3878 · GitHub
[go: up one dir, main page]

Skip to content

Commit ede3878

Browse files
committed
commenting Arquillian dependencies till it is sorted out
1 parent bc5d6e0 commit ede3878

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

ejb/stateless/src/test/java/org/javaee7/ejb/stateless/AccountSessionBeanTest.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
/**
2020
* @author Arun Gupta
2121
*/
22-
@RunWith(Arquillian.class)
22+
//@RunWith(Arquillian.class)
2323
public class AccountSessionBeanTest {
2424
@EJB AccountSessionBean bean;
2525

@@ -29,8 +29,8 @@ public class AccountSessionBeanTest {
2929
*
3030
* @return a war file
3131
*/
32-
@Deployment
33-
@TargetsContainer("wildfly-arquillian")
32+
// @Deployment
33+
// @TargetsContainer("wildfly-arquillian")
3434
public static WebArchive createDeployment() {
3535
WebArchive war = ShrinkWrap.create(WebArchive.class).
3636
addClass(AccountSessionBean.class);
@@ -43,7 +43,6 @@ public static WebArchive createDeployment() {
4343
*/
4444
@Test
4545
public void testWithdraw() {
46-
System.out.println("withdraw");
4746
String result = bean.withdraw((float)5.0);
4847
assertEquals("Withdrawn: 5.0", result);
4948
}
@@ -53,7 +52,6 @@ public void testWithdraw() {
5352
*/
5453
@Test
5554
public void testDeposit() {
56-
System.out.println("deposit");
5755
String result = bean.withdraw((float)10.0);
5856
assertEquals("Deposited: 10.0", result);
5957
}

ejb/stateless/src/test/java/org/javaee7/ejb/stateless/AccountSessionBeanWithInterfaceTest.java

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
/**
2121
* @author Arun Gupta
2222
*/
23-
@RunWith(Arquillian.class)
23+
//@RunWith(Arquillian.class)
2424
public class AccountSessionBeanWithInterfaceTest {
2525
@EJB Account bean;
2626

@@ -30,8 +30,8 @@ public class AccountSessionBeanWithInterfaceTest {
3030
*
3131
* @return a war file
3232
*/
33-
@Deployment< 8000 /span>
34-
@TargetsContainer("wildfly-arquillian")
33+
// @Deployment
34+
// @TargetsContainer("wildfly-arquillian")
3535
public static WebArchive createDeployment() {
3636
WebArchive war = ShrinkWrap.create(WebArchive.class).
3737
addClass(AccountSessionBean.class);
@@ -44,7 +44,6 @@ public static WebArchive createDeployment() {
4444
*/
4545
@Test
4646
public void testWithdraw() {
47-
System.out.println("withdraw");
4847
String result = bean.withdraw((float)5.0);
4948
assertEquals("Withdrawn: 5.0", result);
5049
}
@@ -54,8 +53,7 @@ public void testWithdraw() {
5453
*/
5554
@Test
5655
public void testDeposit() {
57-
System.out.println("deposit");
58-
String result = bean.withdraw((float)10.0);
56+
String result = bean.withdraw((float)10.0);
5957
assertEquals("Deposited: 10.0", result);
6058
}
6159

0 commit comments

Comments
 (0)
0