ca.cbc.sportwire.servlet.data
Class TestDBCacheBean
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--ca.cbc.sportwire.servlet.data.TestDBCacheBean
- All Implemented Interfaces:
- junit.framework.Test
- public class TestDBCacheBean
- extends junit.framework.TestCase
File TestDBCacheBean.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 |
TestDBCacheBean(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 |
testClass$1195259493()
Method for testing how works original method:
java.lang.Class class$(java.lang.String)
from tested class |
void |
testGetColumns()
Method for testing how works original method:
java.util.List getColumns()
from tested class |
void |
testGetQuery()
Method for testing how works original method:
java.lang.String getQuery()
from tested class |
void |
testGetResults()
Method for testing how works original method:
java.util.List getResults()
from tested class |
void |
testRefresh()
Method for testing how works original method:
void refresh()
from tested class |
void |
testSetColumns65821278()
Method for testing how works original method:
void setColumns(java.util.List)
from tested class |
void |
testSetQuery1195259493()
Method for testing how works original method:
void setQuery(java.lang.String)
from tested class |
void |
testSetResults()
Method for testing how works original method:
void setResults()
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 |
varDBCacheBean
protected DBCacheBean varDBCacheBean
- Instance of tested class.
TestDBCacheBean
public TestDBCacheBean(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.
testClass$1195259493
public void testClass$1195259493()
- Method for testing how works original method:
java.lang.Class class$(java.lang.String)
from tested class
testSetResults
public void testSetResults()
- Method for testing how works original method:
void setResults()
from tested class
testGetResults
public void testGetResults()
- Method for testing how works original method:
java.util.List getResults()
from tested class
testSetColumns65821278
public void testSetColumns65821278()
- Method for testing how works original method:
void setColumns(java.util.List)
from tested class
testGetColumns
public void testGetColumns()
- Method for testing how works original method:
java.util.List getColumns()
from tested class
testRefresh
public void testRefresh()
- Method for testing how works original method:
void refresh()
from tested class
testSetQuery1195259493
public void testSetQuery1195259493()
- Method for testing how works original method:
void setQuery(java.lang.String)
from tested class
testGetQuery
public void testGetQuery()
- Method for testing how works original method:
java.lang.String getQuery()
from tested class