commit | 816977987d1236fa66a197185f766a6e3a47c71c | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Fri May 08 11:09:38 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri May 08 23:08:36 2015 +0000 |
tree | 35be8642004c74333d164a657d3d33b037066458 | |
parent | 63939a369f35b9742bab5c406c370320f3b42efc [diff] [blame] |
Define Bandwidth class to represent bandwidth with explicit its unit Change-Id: I863fea61fa5e70edfa53d11e720e400d100131c8
diff --git a/core/store/serializers/src/test/java/org/onosproject/store/serializers/KryoSerializerTest.java b/core/store/serializers/src/test/java/org/onosproject/store/serializers/KryoSerializerTest.java index c93da2c..98ee193 100644 --- a/core/store/serializers/src/test/java/org/onosproject/store/serializers/KryoSerializerTest.java +++ b/core/store/serializers/src/test/java/org/onosproject/store/serializers/KryoSerializerTest.java
@@ -366,6 +366,11 @@ } @Test + public void testBandwidth() { + testSerializedEquals(org.onlab.util.Bandwidth.mbps(1000.0)); + } + + @Test public void testLambdaConstraint() { testSerializable(new LambdaConstraint(LambdaResource.valueOf(1))); }