1 25 package org.objectweb.easybeans.tests.transaction.containermanaged.stateless; 26 27 import org.objectweb.easybeans.tests.common.ejbs.stateless.containermanaged.transaction.SLSBContainerTransactionNotSupported; 28 import org.objectweb.easybeans.tests.transaction.containermanaged.base.TestNotSupported; 29 import org.testng.annotations.BeforeClass; 30 import org.testng.annotations.BeforeMethod; 31 import org.testng.annotations.Test; 32 33 45 public class TestNotSupportedRemoteSLSB extends TestNotSupported { 46 47 51 @BeforeMethod 52 public void createBean() throws Exception { 53 super.createBean(SLSBContainerTransactionNotSupported.class); 54 } 55 56 60 @BeforeClass 61 @Override 62 public void setup() throws Exception { 63 super.setup(); 64 } 65 66 67 71 @Test(groups = {"not supported attribute features"}) 72 @Override 73 public void testUsingClientTrans() throws Exception { 74 super.testUsingClientTrans(); 75 } 76 77 81 @Test(groups = {"roll back"}, expectedExceptions = java.lang.IllegalStateException .class) 82 @Override 83 public void testSetRollbackOnly() throws Exception { 84 super.testSetRollbackOnly(); 85 } 86 87 91 @Test(groups = {"roll back"}, expectedExceptions = java.lang.IllegalStateException .class) 92 @Override 93 public void testGetRollbackOnly() throws Exception { 94 super.testGetRollbackOnly(); 95 } 96 97 100 @BeforeMethod 101 @Override 102 public void deleteTable() { 103 super.deleteTable(); 104 } 105 106 107 110 @Test(groups = {"genaral attribute features"}, expectedExceptions = java.lang.IllegalStateException .class) 111 @Override 112 public void testGetUserTransactionWithEJBContext() throws Exception { 113 super.testGetUserTransactionWithEJBContext(); 114 } 115 116 119 @Test(groups = {"genral attribute features"}, expectedExceptions = javax.naming.NameNotFoundException .class) 120 @Override 121 public void testGetUserTransactionWithLookup() throws Exception { 122 super.testGetUserTransactionWithLookup(); 123 } 124 125 129 @BeforeMethod 130 @Override 131 public void cleanTransaction() throws Exception { 132 super.cleanTransaction(); 133 } 134 } 135 | Popular Tags |