commit | 7e6d18ec9dabb05c6d4bbb74217619c37eb3e8ff | [log] [tgz] |
---|---|---|
author | Sho SHIMIZU <sshimizu@us.fujitsu.com> | Thu Jan 07 18:44:33 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Jan 11 22:08:15 2016 +0000 |
tree | 3736e43d20c12102e2210308540e7e90f08f618b | |
parent | 9caa3a066bc7bbf35c935083d4d5669f8b2d0092 [diff] [blame] |
Introduce ResourcePath.Key Change-Id: I4efd5c13a12f2bad5482f5b432e2f1ef2c337805
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 7df518e..0d88e9f 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
@@ -1,5 +1,5 @@ /* - * Copyright 2014-2015 Open Networking Laboratory + * Copyright 2014-2016 Open Networking Laboratory * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -378,6 +378,11 @@ } @Test + public void testResourceKey() { + testSerializedEquals(ResourcePath.discrete(DID1, P1).key()); + } + + @Test public void testResourceAllocation() { testSerializedEquals(new org.onosproject.net.newresource.ResourceAllocation( ResourcePath.discrete(DID1, P1, VLAN1),