From 6dd20a4b23592c0a9a6be23a2123fef410981a2e Mon Sep 17 00:00:00 2001 From: "Brian S. O'Neill" Date: Sat, 7 Oct 2006 22:27:25 +0000 Subject: Added TriggerFactory. Deprecated wrapped storage and query. --- src/test/java/com/amazon/carbonado/spi/TestTriggerManager.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test') diff --git a/src/test/java/com/amazon/carbonado/spi/TestTriggerManager.java b/src/test/java/com/amazon/carbonado/spi/TestTriggerManager.java index 62456ab..cad4f0f 100644 --- a/src/test/java/com/amazon/carbonado/spi/TestTriggerManager.java +++ b/src/test/java/com/amazon/carbonado/spi/TestTriggerManager.java @@ -64,7 +64,7 @@ public class TestTriggerManager extends TestCase { List failedTriggers; public void testAddAndRemove() { - TriggerManager set = new TriggerManager(); + TriggerManager set = new TriggerManager(null, null); Trigger trigger = new TestTrigger(); assertNull(set.getInsertTrigger()); @@ -109,7 +109,7 @@ public class TestTriggerManager extends TestCase { } public void testBeforeAndAfterOps() throws Exception { - TriggerManager set = new TriggerManager(); + TriggerManager set = new TriggerManager(null, null); TestTrigger trigger = new TestTrigger(); set.addTrigger(trigger); Dummy d = new Dummy(); @@ -140,7 +140,7 @@ public class TestTriggerManager extends TestCase { } public void testBeforeAndFailedOps() throws Exception { - TriggerManager set = new TriggerManager(); + TriggerManager set = new TriggerManager(null, null); TestTrigger trigger = new TestTrigger(); set.addTrigger(trigger); Dummy d = new Dummy(); @@ -171,7 +171,7 @@ public class TestTriggerManager extends TestCase { } public void testExecutionOrder() throws Exception { - TriggerManager set = new TriggerManager(); + TriggerManager set = new TriggerManager(null, null); TestTrigger trigger = new TestTrigger(null); TestTrigger trigger2 = new TestTrigger(); set.addTrigger(trigger); -- cgit v1.2.3