Package edu.jas.util
Class DistHashTableMPITest
- java.lang.Object
-
- junit.framework.Assert
-
- junit.framework.TestCase
-
- edu.jas.util.DistHashTableMPITest
-
- All Implemented Interfaces:
junit.framework.Test
public class DistHashTableMPITest extends junit.framework.TestCase
DistHashTableMPI test with JUnit.- Author:
- Heinz Kredel
-
-
Field Summary
Fields Modifier and Type Field Description protected static mpi.Commengine
-
Constructor Summary
Constructors Constructor Description DistHashTableMPITest(java.lang.String name)Constructs aDistHashTableMPITestobject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)main.protected voidsetUp()static junit.framework.Testsuite()suite.protected voidtearDown()voidtestDistHashTable3()Tests if the two created DistHashTables have #n objects as content.voidxtestDistHashTable1()Tests create and terminate DistHashTableMPI.voidxtestDistHashTable2()Tests if the created DistHashTable has #n objects as content.-
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
-
-
-
Field Detail
-
engine
protected static mpi.Comm engine
-
-
Constructor Detail
-
DistHashTableMPITest
public DistHashTableMPITest(java.lang.String name)
Constructs aDistHashTableMPITestobject.- Parameters:
name- String.
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException, mpi.MPIException
main.- Throws:
java.io.IOExceptionmpi.MPIException
-
suite
public static junit.framework.Test suite()
suite.- Returns:
- a test suite.
-
setUp
protected void setUp()
- Overrides:
setUpin classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDownin classjunit.framework.TestCase
-
xtestDistHashTable1
public void xtestDistHashTable1() throws mpi.MPIException, java.io.IOException
Tests create and terminate DistHashTableMPI.- Throws:
mpi.MPIExceptionjava.io.IOException
-
xtestDistHashTable2
public void xtestDistHashTable2() throws mpi.MPIException, java.io.IOException
Tests if the created DistHashTable has #n objects as content.- Throws:
mpi.MPIExceptionjava.io.IOException
-
testDistHashTable3
public void testDistHashTable3() throws mpi.MPIException, java.io.IOException
Tests if the two created DistHashTables have #n objects as content.- Throws:
mpi.MPIExceptionjava.io.IOException
-
-