org.hd.d.pg2k.test.dev
Class IndexTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.hd.d.pg2k.test.dev.IndexTest
All Implemented Interfaces:
junit.framework.Test

public final class IndexTest
extends junit.framework.TestCase

Simple tests of the by-word index, including building an index.


Field Summary
private static java.util.Random rnd
          Private source of OK pseudo-random numbers.
 
Constructor Summary
IndexTest(java.lang.String name)
           
 
Method Summary
static void testBasicIndexBuild()
          Test basic construction of an index.
static void testIndexBuilding()
          Check basic building of index on a representative snapshot of our exhibit data.
 
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

rnd

private static final java.util.Random rnd
Private source of OK pseudo-random numbers.

Constructor Detail

IndexTest

public IndexTest(java.lang.String name)
Method Detail

testIndexBuilding

public static void testIndexBuilding()
                              throws java.lang.Exception
Check basic building of index on a representative snapshot of our exhibit data.

Throws:
java.lang.Exception

testBasicIndexBuild

public static void testBasicIndexBuild()
                                throws java.lang.Exception
Test basic construction of an index.

Throws:
java.lang.Exception

DHD Multimedia Gallery V1.60.69

Copyright (c) 1996-2012, Damon Hart-Davis. All rights reserved.