public class WarriorTest
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static Warrior[] |
tester
This array of tester warriors is created to insure individual tests don't
fatally interfere with each other.
|
| Constructor and Description |
|---|
WarriorTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
setUpBeforeClass()
Creating all the Test Warriors.
|
void |
testAddMeta()
Test method for
Warrior.addMeta(java.lang.String, java.lang.String). |
void |
testContainsMetaTag()
Test method for
Warrior.containsMetaTag(java.lang.String). |
void |
testGetInstruction()
Test method for
redHandling.Warrior#getInstruction(java.lang.int)
. |
void |
testGetInstructionSize()
Test method for
Warrior.getInstructionSize(). |
void |
testGetMeta()
Test method for
redHandling.Warrior#getMeta(java.lang.int). |
void |
testGetMetaByTag()
Test method for
Warrior.getMetaByTag(java.lang.String). |
void |
testGetMetaSize()
Test method for
redHandling.Warrior#getMetaSize(java.lang.String, java.lang.String)
. |
void |
testGetMetaTag()
Test method for
redHandling.Warrior#getMetaTag(java.lang.int). |
void |
testRemoveMetaById()
Test method for
redHandling.Warrior#removeMetaById(java.lang.int)
. |
void |
testRemoveMetaByTag()
Test method for
Warrior.removeMetaByTag(java.lang.String). |
void |
testRenameTag()
Test method for
Warrior.renameTag(java.lang.String, java.lang.String)
. |
void |
testSetMetaByTag()
Test method for
Warrior.setMetaByTag(java.lang.String, java.lang.String)
. |
static Warrior[] tester
public static void setUpBeforeClass()
throws java.lang.Exception
java.lang.Exceptionpublic void testAddMeta()
throws java.io.IOException
Warrior.addMeta(java.lang.String, java.lang.String).java.io.IOExceptionpublic void testGetMetaSize()
throws java.io.IOException
redHandling.Warrior#getMetaSize(java.lang.String, java.lang.String)
.java.io.IOExceptionpublic void testGetMetaByTag()
Warrior.getMetaByTag(java.lang.String).public void testContainsMetaTag()
Warrior.containsMetaTag(java.lang.String).public void testGetMetaTag()
redHandling.Warrior#getMetaTag(java.lang.int).java.io.IOExceptionpublic void testGetMeta()
redHandling.Warrior#getMeta(java.lang.int).java.io.IOExceptionpublic void testRenameTag()
Warrior.renameTag(java.lang.String, java.lang.String)
.java.io.IOExceptionpublic void testRemoveMetaByTag()
throws java.io.IOException
Warrior.removeMetaByTag(java.lang.String).java.io.IOExceptionpublic void testRemoveMetaById()
throws java.io.IOException
redHandling.Warrior#removeMetaById(java.lang.int)
.java.io.IOExceptionpublic void testSetMetaByTag()
throws java.io.IOException
Warrior.setMetaByTag(java.lang.String, java.lang.String)
.java.io.IOExceptionpublic void testGetInstructionSize()
Warrior.getInstructionSize().public void testGetInstruction()
throws java.io.IOException
redHandling.Warrior#getInstruction(java.lang.int)
.java.io.IOException