net.obsearch.storage
Class StorageValidationFloat

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.obsearch.storage.StorageValidationFloat
All Implemented Interfaces:
junit.framework.Test

public class StorageValidationFloat
extends junit.framework.TestCase


Field Summary
static int NUM_OF_ITEMS
          Create a vector of pairs of size NUM_OF_ITEMS so that we can test the storage sub-system.
static int STORAGE_SIZE
           
 
Constructor Summary
StorageValidationFloat()
           
 
Method Summary
static void validate(OBStoreFloat storage)
          Validates a Storage for shorts.
static void validateDuplicates(OBStoreFloat storage)
          Validates a Storage for shorts.
 
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, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NUM_OF_ITEMS

public static final int NUM_OF_ITEMS
Create a vector of pairs of size NUM_OF_ITEMS so that we can test the storage sub-system.

See Also:
Constant Field Values

STORAGE_SIZE

public static final int STORAGE_SIZE
See Also:
Constant Field Values
Constructor Detail

StorageValidationFloat

public StorageValidationFloat()
Method Detail

validate

public static void validate(OBStoreFloat storage)
                     throws net.obsearch.exception.OBStorageException,
                            net.obsearch.exception.OBException
Validates a Storage for shorts. Makes sure that insertions and deletions and the iterators are working well.

Parameters:
storage -
Throws:
net.obsearch.exception.OBStorageException
net.obsearch.exception.OBException

validateDuplicates

public static void validateDuplicates(OBStoreFloat storage)
                               throws net.obsearch.exception.OBStorageException,
                                      net.obsearch.exception.OBException
Validates a Storage for shorts. Makes sure that insertions and deletions and the iterators are working well.

Parameters:
storage -
Throws:
net.obsearch.exception.OBStorageException
net.obsearch.exception.OBException


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.