summaryrefslogtreecommitdiff
path: root/src/test/java/com/amazon/carbonado/spi
diff options
context:
space:
mode:
authorBrian S. O'Neill <bronee@gmail.com>2006-10-07 22:27:25 +0000
committerBrian S. O'Neill <bronee@gmail.com>2006-10-07 22:27:25 +0000
commit6dd20a4b23592c0a9a6be23a2123fef410981a2e (patch)
tree2af894f5335c26115d2f92cdf26d01614dfdc1b6 /src/test/java/com/amazon/carbonado/spi
parentebc282a22ddc2cb97bc1af4fe3fa0fedc290fe1b (diff)
Added TriggerFactory.
Deprecated wrapped storage and query.
Diffstat (limited to 'src/test/java/com/amazon/carbonado/spi')
-rw-r--r--src/test/java/com/amazon/carbonado/spi/TestTriggerManager.java8
1 files changed, 4 insertions, 4 deletions
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<TestTrigger> failedTriggers;
public void testAddAndRemove() {
- TriggerManager<Dummy> set = new TriggerManager<Dummy>();
+ TriggerManager<Dummy> set = new TriggerManager<Dummy>(null, null);
Trigger<Dummy> trigger = new TestTrigger<Dummy>();
assertNull(set.getInsertTrigger());
@@ -109,7 +109,7 @@ public class TestTriggerManager extends TestCase {
}
public void testBeforeAndAfterOps() throws Exception {
- TriggerManager<Dummy> set = new TriggerManager<Dummy>();
+ TriggerManager<Dummy> set = new TriggerManager<Dummy>(null, null);
TestTrigger<Dummy> trigger = new TestTrigger<Dummy>();
set.addTrigger(trigger);
Dummy d = new Dummy();
@@ -140,7 +140,7 @@ public class TestTriggerManager extends TestCase {
}
public void testBeforeAndFailedOps() throws Exception {
- TriggerManager<Dummy> set = new TriggerManager<Dummy>();
+ TriggerManager<Dummy> set = new TriggerManager<Dummy>(null, null);
TestTrigger<Dummy> trigger = new TestTrigger<Dummy>();
set.addTrigger(trigger);
Dummy d = new Dummy();
@@ -171,7 +171,7 @@ public class TestTriggerManager extends TestCase {
}
public void testExecutionOrder() throws Exception {
- TriggerManager<Dummy> set = new TriggerManager<Dummy>();
+ TriggerManager<Dummy> set = new TriggerManager<Dummy>(null, null);
TestTrigger<Dummy> trigger = new TestTrigger<Dummy>(null);
TestTrigger<Dummy> trigger2 = new TestTrigger<Dummy>();
set.addTrigger(trigger);