ca.cbc.sportwire.xmldbms
Class TestESPNKeyGenerator
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--ca.cbc.sportwire.xmldbms.TestESPNKeyGenerator
- All Implemented Interfaces:
- junit.framework.Test
- public class TestESPNKeyGenerator
- extends junit.framework.TestCase
File TestESPNKeyGenerator.java
is automaticaly generated by
'unittestsgen' application. Code generator is created for java
sources and for 'junit' package by "Artur Hefczyc"
You should fulfil test methods with proper code for testing
purpose. All methods where you should put your code are below and
their names starts with 'test'.
You can run unit tests in many ways, however prefered are:
Fields inherited from class junit.framework.TestCase |
fName |
Constructor Summary |
TestESPNKeyGenerator(java.lang.String name)
Public constructor for creating testing class. |
Method Summary |
static void |
main(java.lang.String[] args)
This main method is used for run tests for this class only
from command line. |
protected void |
setUp()
This method is called every time before particular test execution. |
static junit.framework.Test |
suite()
Returns all tests which should be performed for testing class. |
void |
testClose()
Method for testing how works original method:
void close()
from tested class |
void |
testGenerateKey()
Method for testing how works original method:
java.lang.Object[] generateKey()
from tested class |
void |
testGetInstance()
Method for testing how works original method:
ca.cbc.sportwire.xmldbms.ESPNKeyGenerator getInstance()
from tested class |
void |
testInitialize126936819()
Method for testing how works original method:
void initialize(java.util.Properties)
from tested class |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
varESPNKeyGenerator
protected ESPNKeyGenerator varESPNKeyGenerator
- Instance of tested class.
TestESPNKeyGenerator
public TestESPNKeyGenerator(java.lang.String name)
- Public constructor for creating testing class.
main
public static void main(java.lang.String[] args)
- This main method is used for run tests for this class only
from command line.
setUp
protected void setUp()
- This method is called every time before particular test execution.
It creates new instance of tested class and it can perform some more
actions which are necessary for performs tests.
- Overrides:
setUp
in class junit.framework.TestCase
suite
public static junit.framework.Test suite()
- Returns all tests which should be performed for testing class.
By default it returns only name of testing class. Instance of this
is then created with its constructor.
testInitialize126936819
public void testInitialize126936819()
- Method for testing how works original method:
void initialize(java.util.Properties)
from tested class
testGenerateKey
public void testGenerateKey()
- Method for testing how works original method:
java.lang.Object[] generateKey()
from tested class
testClose
public void testClose()
- Method for testing how works original method:
void close()
from tested class
testGetInstance
public void testGetInstance()
- Method for testing how works original method:
ca.cbc.sportwire.xmldbms.ESPNKeyGenerator getInstance()
from tested class