|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.basex.test.storage.BlockAccessTest
public final class BlockAccessTest
This class tests the update functionality of the BlockStorage.
Constructor Summary | |
---|---|
BlockAccessTest()
|
Method Summary | |
---|---|
void |
setUp()
Loads the JUnitTest database. |
static void |
setUpBeforeClass()
Initializes the test class. |
void |
tearDown()
Drops the JUnitTest database. |
void |
testDeleteAtBeginning()
Tests delete at beginning. |
void |
testDeleteAtEnd()
Tests delete at end. |
void |
testDeleteFirstBlock()
Deletes first block. |
void |
testDeleteLastBlock()
Deletes the last block. |
void |
testDeleteOneNode()
Tests delete. |
void |
testDeleteSecondBlock()
Deletes the second block. |
void |
testDeleteSecondBlockAndSurroundingNodes()
Deletes the second block with some surrounding nodes. |
void |
testInsertAtBlockBoundary()
Tests inserting multiple entries. |
void |
testInsertMany()
Tests inserting multiple entries. |
void |
testInsertMultiple()
Tests inserting multiple entries. |
void |
testSimpleInsert()
Tests basic insertion. |
void |
testSize()
Tests size of file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockAccessTest()
Method Detail |
---|
public static void setUpBeforeClass()
public void setUp()
public void tearDown()
public void testSize()
public void testDeleteOneNode()
public void testDeleteAtBeginning()
public void testDeleteAtEnd()
public void testDeleteFirstBlock()
public void testDeleteSecondBlock()
public void testDeleteLastBlock()
public void testDeleteSecondBlockAndSurroundingNodes()
public void testSimpleInsert()
public void testInsertMultiple()
public void testInsertMany()
public void testInsertAtBlockBoundary()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |