org.xbill.DNS
Class NameTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.xbill.DNS.NameTest
All Implemented Interfaces:
junit.framework.Test

public class NameTest
extends junit.framework.TestCase


Nested Class Summary
static class NameTest.Test_compareTo
           
static class NameTest.Test_DNSInput_init
           
static class NameTest.Test_equals
           
static class NameTest.Test_String_init
           
static class NameTest.Test_toWire
           
static class NameTest.Test_toWireCanonical
           
 
Constructor Summary
NameTest()
           
 
Method Summary
static junit.framework.Test suite()
           
 void test_concatenate_abs_prefix()
           
 void test_concatenate_basic()
           
 void test_concatenate_too_long()
           
 void test_fromDNAME_disjoint()
           
 void test_fromDNAME_toobig()
           
 void test_fromDNAME()
           
 void test_init_from_name_empty()
           
 void test_init_from_name_root()
           
 void test_init_from_name()
           
 void test_relativize_disjoint()
           
 void test_relativize_null_origin()
           
 void test_relativize_root()
           
 void test_relativize()
           
 void test_subdomain_abs()
           
 void test_subdomain_equal()
           
 void test_subdomain_rel()
           
 void test_toString_abs()
           
 void test_toString_at()
           
 void test_toString_escaped()
           
 void test_toString_rel()
           
 void test_toString_root()
           
 void test_toString_special_char()
           
 void test_toString_wild()
           
 void test_wild_abs()
           
 void test_wild_toobig()
           
 void test_wild_toosmall()
           
 void test_wild()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NameTest

public NameTest()
Method Detail

test_init_from_name

public void test_init_from_name()
                         throws TextParseException
Throws:
TextParseException

test_init_from_name_root

public void test_init_from_name_root()
                              throws TextParseException
Throws:
TextParseException

test_init_from_name_empty

public void test_init_from_name_empty()
                               throws TextParseException
Throws:
TextParseException

test_concatenate_basic

public void test_concatenate_basic()
                            throws NameTooLongException,
                                   TextParseException
Throws:
NameTooLongException
TextParseException

test_concatenate_abs_prefix

public void test_concatenate_abs_prefix()
                                 throws NameTooLongException,
                                        TextParseException
Throws:
NameTooLongException
TextParseException

test_concatenate_too_long

public void test_concatenate_too_long()
                               throws TextParseException
Throws:
TextParseException

test_relativize

public void test_relativize()
                     throws TextParseException
Throws:
TextParseException

test_relativize_null_origin

public void test_relativize_null_origin()
                                 throws TextParseException
Throws:
TextParseException

test_relativize_disjoint

public void test_relativize_disjoint()
                              throws TextParseException
Throws:
TextParseException

test_relativize_root

public void test_relativize_root()
                          throws TextParseException
Throws:
TextParseException

test_wild

public void test_wild()
               throws TextParseException
Throws:
TextParseException

test_wild_abs

public void test_wild_abs()
                   throws TextParseException
Throws:
TextParseException

test_wild_toobig

public void test_wild_toobig()
                      throws TextParseException
Throws:
TextParseException

test_wild_toosmall

public void test_wild_toosmall()
                        throws TextParseException
Throws:
TextParseException

test_fromDNAME

public void test_fromDNAME()
                    throws NameTooLongException,
                           TextParseException
Throws:
NameTooLongException
TextParseException

test_fromDNAME_toobig

public void test_fromDNAME_toobig()
                           throws NameTooLongException,
                                  TextParseException
Throws:
NameTooLongException
TextParseException

test_fromDNAME_disjoint

public void test_fromDNAME_disjoint()
                             throws NameTooLongException,
                                    TextParseException
Throws:
NameTooLongException
TextParseException

test_subdomain_abs

public void test_subdomain_abs()
                        throws TextParseException
Throws:
TextParseException

test_subdomain_rel

public void test_subdomain_rel()
                        throws TextParseException
Throws:
TextParseException

test_subdomain_equal

public void test_subdomain_equal()
                          throws TextParseException
Throws:
TextParseException

test_toString_abs

public void test_toString_abs()
                       throws TextParseException
Throws:
TextParseException

test_toString_rel

public void test_toString_rel()
                       throws TextParseException
Throws:
TextParseException

test_toString_at

public void test_toString_at()
                      throws TextParseException
Throws:
TextParseException

test_toString_root

public void test_toString_root()
                        throws TextParseException
Throws:
TextParseException

test_toString_wild

public void test_toString_wild()
                        throws TextParseException
Throws:
TextParseException

test_toString_escaped

public void test_toString_escaped()
                           throws TextParseException
Throws:
TextParseException

test_toString_special_char

public void test_toString_special_char()
                                throws TextParseException,
                                       WireParseException
Throws:
TextParseException
WireParseException

suite

public static junit.framework.Test suite()


Copyright © 2011. All Rights Reserved.