Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Updated xpath pointing to a module instance under services subtree."
[controller.git]
/
opendaylight
/
forwardingrulesmanager
/
api
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
forwardingrulesmanager
/
frmTest.java
diff --git
a/opendaylight/forwardingrulesmanager/api/src/test/java/org/opendaylight/controller/forwardingrulesmanager/frmTest.java
b/opendaylight/forwardingrulesmanager/api/src/test/java/org/opendaylight/controller/forwardingrulesmanager/frmTest.java
index a3e1ded14178ff8d00a3efe21d02ea798fa19af2..48e1f07716ec267ddb52340e3ea21ef64ac8cebd 100644
(file)
--- a/
opendaylight/forwardingrulesmanager/api/src/test/java/org/opendaylight/controller/forwardingrulesmanager/frmTest.java
+++ b/
opendaylight/forwardingrulesmanager/api/src/test/java/org/opendaylight/controller/forwardingrulesmanager/frmTest.java
@@
-469,13
+469,14
@@
public class frmTest {
@Test
public void testStatusToggle() throws UnknownHostException {
@Test
public void testStatusToggle() throws UnknownHostException {
+ // default is install in Hw
FlowConfig fc = new FlowConfig();
fc.toggleInstallation();
FlowConfig fc = new FlowConfig();
fc.toggleInstallation();
- Assert.assertTrue(fc.installInHw());
- fc.toggleInstallation();
Assert.assertFalse(fc.installInHw());
fc.toggleInstallation();
Assert.assertTrue(fc.installInHw());
Assert.assertFalse(fc.installInHw());
fc.toggleInstallation();
Assert.assertTrue(fc.installInHw());
+ fc.toggleInstallation();
+ Assert.assertFalse(fc.installInHw());
}
}
@@
-545,11
+546,6
@@
public class frmTest {
fc.setCookie("100");
Assert.assertTrue(fc.validate(null).isSuccess());
fc.setCookie("100");
Assert.assertTrue(fc.validate(null).isSuccess());
- fc.setIngressPort("-1");
- status = fc.validate(null);
- Assert.assertFalse(status.isSuccess());
- Assert.assertTrue(status.getDescription().contains("is not valid for the Switch"));
-
fc.setIngressPort("100");
Assert.assertTrue(fc.validate(null).isSuccess());
fc.setIngressPort("100");
Assert.assertTrue(fc.validate(null).isSuccess());