Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Move jolokia to top-level directory
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
TransactionContextWrapperTest.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/TransactionContextWrapperTest.java
b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/TransactionContextWrapperTest.java
index 058968c33992d27dc10e88cc0c76229dedd5d128..e899ad0f288f20571599807978113a1126566dc7 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/TransactionContextWrapperTest.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/TransactionContextWrapperTest.java
@@
-16,11
+16,11
@@
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import org.junit.Test;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
-import org.opendaylight.controller.cluster.datastore.utils.Actor
Context
;
+import org.opendaylight.controller.cluster.datastore.utils.Actor
Utils
;
public class TransactionContextWrapperTest {
@Mock
public class TransactionContextWrapperTest {
@Mock
- private Actor
Context actorContext
;
+ private Actor
Utils actorUtils
;
@Mock
private TransactionContext transactionContext;
@Mock
private TransactionContext transactionContext;
@@
-30,9
+30,9
@@
public class TransactionContextWrapperTest {
@Before
public void setUp() {
MockitoAnnotations.initMocks(this);
@Before
public void setUp() {
MockitoAnnotations.initMocks(this);
- doReturn(DatastoreContext.newBuilder().build()).when(actor
Context
).getDatastoreContext();
+ doReturn(DatastoreContext.newBuilder().build()).when(actor
Utils
).getDatastoreContext();
transactionContextWrapper = new TransactionContextWrapper(MockIdentifiers.transactionIdentifier(
transactionContextWrapper = new TransactionContextWrapper(MockIdentifiers.transactionIdentifier(
- TransactionContextWrapperTest.class, "mock"), actor
Context
);
+ TransactionContextWrapperTest.class, "mock"), actor
Utils, "mock"
);
}
@Test
}
@Test