Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ISSUE:
[controller.git]
/
opendaylight
/
sal
/
api
/
src
/
test
/
java
/
org
/
opendaylight
/
controller
/
sal
/
action
/
ActionTest.java
diff --git
a/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/action/ActionTest.java
b/opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/action/ActionTest.java
index eeddc0b9b0dc33df0424936535907ef651b13d4f..954e07b16a80b31fb8345c1daffe54c6ed4ef055 100644
(file)
--- a/
opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/action/ActionTest.java
+++ b/
opendaylight/sal/api/src/test/java/org/opendaylight/controller/sal/action/ActionTest.java
@@
-163,9
+163,12
@@
public class ActionTest {
action = new SetNwTos(0xf);
Assert.assertTrue(action.isValid());
action = new SetNwTos(0xf);
Assert.assertTrue(action.isValid());
- action = new SetNwTos(0x
f
f);
+ action = new SetNwTos(0x
3
f);
Assert.assertTrue(action.isValid());
Assert.assertTrue(action.isValid());
+ action = new SetNwTos(0x40);
+ Assert.assertFalse(action.isValid());
+
action = new SetNwTos(0xff1);
Assert.assertFalse(action.isValid());
action = new SetNwTos(0xff1);
Assert.assertFalse(action.isValid());