Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix unit test CS warnings in sal-distributed-datastore
[controller.git]
/
opendaylight
/
md-sal
/
sal-distributed-datastore
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
cluster
/
datastore
/
messages
/
CloseTransactionChainTest.java
diff --git
a/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionChainTest.java
b/opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionChainTest.java
index 6ef0c887d8d90a117f57c0b427ef0bd9e2b45e8e..b13fa95d052e81c26575b417dbeb17f1b901f6eb 100644
(file)
--- a/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionChainTest.java
+++ b/
opendaylight/md-sal/sal-distributed-datastore/src/test/java/org/opendaylight/controller/cluster/datastore/messages/CloseTransactionChainTest.java
@@
-8,6
+8,7
@@
package org.opendaylight.controller.cluster.datastore.messages;
import static org.junit.Assert.assertEquals;
package org.opendaylight.controller.cluster.datastore.messages;
import static org.junit.Assert.assertEquals;
+
import java.io.Serializable;
import org.apache.commons.lang.SerializationUtils;
import org.junit.Test;
import java.io.Serializable;
import org.apache.commons.lang.SerializationUtils;
import org.junit.Test;
@@
-30,7
+31,7
@@
public class CloseTransactionChainTest extends AbstractTest {
CloseTransactionChain actual = CloseTransactionChain.fromSerializable(
SerializationUtils.clone((Serializable) serialized));
CloseTransactionChain actual = CloseTransactionChain.fromSerializable(
SerializationUtils.clone((Serializable) serialized));
- assertEquals("get
TransactionChainId", expected.getTransactionChainId(), actual.getTransactionChainId
());
+ assertEquals("get
Identifier", expected.getIdentifier(), actual.getIdentifier
());
assertEquals("getVersion", DataStoreVersions.CURRENT_VERSION, actual.getVersion());
}
assertEquals("getVersion", DataStoreVersions.CURRENT_VERSION, actual.getVersion());
}