JUnit-addons
version 1.4

junitx.framework
Class NamingAssert

java.lang.Object
  |
  +--junitx.framework.NamingAssert

public class NamingAssert
extends java.lang.Object

A set of assert methods specially targetted to asserting objects found in the javax.naming package.

Version:
$Revision: 1.1 $ $Date: 2003/04/28 03:11:20 $
Author:
Vladimir R. Bossicard

Method Summary
static void assertEquals(javax.naming.directory.Attribute expected, javax.naming.directory.Attribute actual)
          Asserts that two attributes are equal.
static void assertEquals(javax.naming.directory.Attributes expected, javax.naming.directory.Attributes actual)
          Asserts that two Attributes objects are equal.
static void assertEquals(javax.naming.NamingEnumeration expected, javax.naming.NamingEnumeration actual)
          Asserts that two NamingEnumerations are equal.
static void assertEquals(java.lang.String message, javax.naming.directory.Attribute expected, javax.naming.directory.Attribute actual)
          Asserts that two attributes are equal.
static void assertEquals(java.lang.String message, javax.naming.directory.Attributes expected, javax.naming.directory.Attributes actual)
          Asserts that two Attributes objects are equal.
static void assertEquals(java.lang.String message, javax.naming.NamingEnumeration expected, javax.naming.NamingEnumeration actual)
          Asserts that two NamingEnumerations are equal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

assertEquals

public static void assertEquals(javax.naming.directory.Attributes expected,
                                javax.naming.directory.Attributes actual)
Asserts that two Attributes objects are equal. Throws an AssertionFailedError if not.


assertEquals

public static void assertEquals(java.lang.String message,
                                javax.naming.directory.Attributes expected,
                                javax.naming.directory.Attributes actual)
Asserts that two Attributes objects are equal. Throws an AssertionFailedError if not.


assertEquals

public static void assertEquals(javax.naming.directory.Attribute expected,
                                javax.naming.directory.Attribute actual)
Asserts that two attributes are equal. Throws an AssertionFailedError if not.


assertEquals

public static void assertEquals(java.lang.String message,
                                javax.naming.directory.Attribute expected,
                                javax.naming.directory.Attribute actual)
Asserts that two attributes are equal. Throws an AssertionFailedError if not.


assertEquals

public static void assertEquals(javax.naming.NamingEnumeration expected,
                                javax.naming.NamingEnumeration actual)
Asserts that two NamingEnumerations are equal. Throws an AssertionFailedError if not.


assertEquals

public static void assertEquals(java.lang.String message,
                                javax.naming.NamingEnumeration expected,
                                javax.naming.NamingEnumeration actual)
Asserts that two NamingEnumerations are equal. Throws an AssertionFailedError if not.


JUnit-addons
version 1.4

Copyright © 2002-2003 Vladimir R. Bossicard. All Rights Reserved.