1 25 package org.objectweb.easybeans.tests.javasesupport; 26 27 import org.testng.annotations.BeforeMethod; 28 import org.testng.annotations.Test; 29 30 39 public class TestResourceLevelTransaction { 40 41 44 private ResourceLevelTransTester resourceLevelTransTester; 45 46 50 @BeforeMethod 51 public void setup() throws Exception { 52 resourceLevelTransTester = new ResourceLevelTransTester(); 53 } 54 55 61 @Test 62 public void testResourceLevelRollback(){ 63 resourceLevelTransTester.resourceLevelRollback(); 64 } 65 66 72 @Test 73 public void testResourceLevelCommit(){ 74 resourceLevelTransTester.resourceLevelCommit(); 75 } 76 77 83 @Test 84 public void testResourceLevelSetRollbackOnly(){ 85 resourceLevelTransTester.setRollbackOnly(); 86 } 87 88 } 89 | Popular Tags |