You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2013/12/31 12:52:56 UTC
git commit: updated refs/heads/master to b477e4e
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 <dh...@schubergphilis.com>
Authored: Tue Dec 31 12:52:51 2013 +0100
Committer: Daan Hoogland <dh...@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"));
}
}