cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: updated refs/heads/master to b477e4e
Date Tue, 31 Dec 2013 11:52:56 GMT
Updated Branches:
  refs/heads/master 2cf356e04 -> b477e4e83


some xtra cases

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b477e4e8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b477e4e8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b477e4e8

Branch: refs/heads/master
Commit: b477e4e830597100f0c0171dd8e56f4033bd07aa
Parents: 2cf356e
Author: Daan Hoogland <dhoogland@schubergphilis.com>
Authored: Tue Dec 31 12:52:51 2013 +0100
Committer: Daan Hoogland <dhoogland@schubergphilis.com>
Committed: Tue Dec 31 12:52:51 2013 +0100

----------------------------------------------------------------------
 utils/test/com/cloud/utils/net/NetUtilsTest.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b477e4e8/utils/test/com/cloud/utils/net/NetUtilsTest.java
----------------------------------------------------------------------
diff --git a/utils/test/com/cloud/utils/net/NetUtilsTest.java b/utils/test/com/cloud/utils/net/NetUtilsTest.java
index 53a1f2e..6d14593 100644
--- a/utils/test/com/cloud/utils/net/NetUtilsTest.java
+++ b/utils/test/com/cloud/utils/net/NetUtilsTest.java
@@ -179,5 +179,8 @@ public class NetUtilsTest extends TestCase {
     public void testSameIsolationId() {
         assertTrue(NetUtils.isSameIsolationId("1", "vlan://1"));
         assertTrue(NetUtils.isSameIsolationId("", null));
+        assertTrue(NetUtils.isSameIsolationId("UnTagged", "vlan://uNtAGGED"));
+        assertFalse(NetUtils.isSameIsolationId("2", "vlan://uNtAGGED"));
+        assertFalse(NetUtils.isSameIsolationId("2", "vlan://3"));
     }
 }


Mime
View raw message