com.atlassian.security.auth.trustedapps
Class TestDefaultIPMatcher

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.atlassian.security.auth.trustedapps.TestDefaultIPMatcher
All Implemented Interfaces:
junit.framework.Test

public class TestDefaultIPMatcher
extends junit.framework.TestCase


Constructor Summary
TestDefaultIPMatcher()
           
 
Method Summary
 void testDefIPMatcher()
           
 void testEmptyIpMatcherMatchesEverything()
           
 void testIpMatcherFailsIllegalWildcard()
           
 void testIpMatcherFailsOutOfRangeNegativeNumber()
           
 void testIpMatcherFailsOutOfRangeNumber()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestDefaultIPMatcher

public TestDefaultIPMatcher()
Method Detail

testIpMatcherFailsOutOfRangeNumber

public void testIpMatcherFailsOutOfRangeNumber()
                                        throws java.lang.Exception
Throws:
java.lang.Exception

testIpMatcherFailsOutOfRangeNegativeNumber

public void testIpMatcherFailsOutOfRangeNegativeNumber()
                                                throws java.lang.Exception
Throws:
java.lang.Exception

testIpMatcherFailsIllegalWildcard

public void testIpMatcherFailsIllegalWildcard()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testDefIPMatcher

public void testDefIPMatcher()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testEmptyIpMatcherMatchesEverything

public void testEmptyIpMatcherMatchesEverything()
                                         throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.