Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp.test
Class AspCollectionTest  view AspCollectionTest download AspCollectionTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bycom.tripi.asp.test.AspCollectionTest
All Implemented Interfaces:
junit.framework.Test

public class AspCollectionTest
extends junit.framework.TestCase

This class tests the AspCollection object.


Field Summary
static java.lang.Integer one
           
static java.lang.Integer three
           
static java.lang.Integer two
           
static java.lang.Integer zero
          Caches versions of integers
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
AspCollectionTest(java.lang.String name)
          Constructor.
 
Method Summary
 void testContainsKey()
          Test ContainsKey
 void testElementsEnumeration()
          Test elements enumeration
 void testGetNonExistant()
          Test getting non-existant element
 void testKeysEnumeration()
          Test keys enumeration
 void testPutByIndex()
          Test put by index
 void testPutByKey()
          Test put by key
 void testPutByKeyIndex()
          Test put by key/index mix
 
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
 

Field Detail

zero

public static final java.lang.Integer zero
Caches versions of integers


one

public static final java.lang.Integer one

two

public static final java.lang.Integer two

three

public static final java.lang.Integer three
Constructor Detail

AspCollectionTest

public AspCollectionTest(java.lang.String name)
Constructor.

Method Detail

testPutByIndex

public void testPutByIndex()
                    throws com.tripi.asp.AspException
Test put by index


testPutByKey

public void testPutByKey()
                  throws com.tripi.asp.AspException
Test put by key


testPutByKeyIndex

public void testPutByKeyIndex()
                       throws com.tripi.asp.AspException
Test put by key/index mix


testGetNonExistant

public void testGetNonExistant()
                        throws com.tripi.asp.AspException
Test getting non-existant element


testContainsKey

public void testContainsKey()
                     throws com.tripi.asp.AspException
Test ContainsKey


testKeysEnumeration

public void testKeysEnumeration()
                         throws com.tripi.asp.AspException
Test keys enumeration


testElementsEnumeration

public void testElementsEnumeration()
                             throws com.tripi.asp.AspException
Test elements enumeration