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.Comm
engine
-
Constructor Summary
Constructors Constructor Description DistHashTableMPITest(java.lang.String name)
Constructs aDistHashTableMPITest
object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
main.protected void
setUp()
static junit.framework.Test
suite()
suite.protected void
tearDown()
void
testDistHashTable3()
Tests if the two created DistHashTables have #n objects as content.void
xtestDistHashTable1()
Tests create and terminate DistHashTableMPI.void
xtestDistHashTable2()
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 aDistHashTableMPITest
object.- Parameters:
name
- String.
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException, mpi.MPIException
main.- Throws:
java.io.IOException
mpi.MPIException
-
suite
public static junit.framework.Test suite()
suite.- Returns:
- a test suite.
-
setUp
protected void setUp()
- Overrides:
setUp
in classjunit.framework.TestCase
-
tearDown
protected void tearDown()
- Overrides:
tearDown
in classjunit.framework.TestCase
-
xtestDistHashTable1
public void xtestDistHashTable1() throws mpi.MPIException, java.io.IOException
Tests create and terminate DistHashTableMPI.- Throws:
mpi.MPIException
java.io.IOException
-
xtestDistHashTable2
public void xtestDistHashTable2() throws mpi.MPIException, java.io.IOException
Tests if the created DistHashTable has #n objects as content.- Throws:
mpi.MPIException
java.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.MPIException
java.io.IOException
-
-