ca.cbc.sportwire.servlet.data
Class TestVelocityCalendar

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--ca.cbc.sportwire.servlet.data.TestVelocityCalendar
All Implemented Interfaces:
junit.framework.Test

public class TestVelocityCalendar
extends junit.framework.TestCase

File TestVelocityCalendar.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:


Field Summary
protected  VelocityCalendar varVelocityCalendar
          Instance of tested class.
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
TestVelocityCalendar(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 testFromString1195259493()
          Method for testing how works original method: java.util.Date fromString(java.lang.String) from tested class
 void testGetFormat()
          Method for testing how works original method: java.text.DateFormat getFormat() from tested class
 void testGetInstance()
          Method for testing how works original method: java.util.Calendar getInstance() from tested class
 void testGetInstance1195259493()
          Method for testing how works original method: java.util.Calendar getInstance(java.lang.String) from tested class
 void testGetLocale()
          Method for testing how works original method: java.util.Locale getLocale() from tested class
 void testGetStyle()
          Method for testing how works original method: int getStyle() from tested class
 void testSetFormat1165211622()
          Method for testing how works original method: void setFormat(java.util.Locale) from tested class
 void testSetLocale1165211622()
          Method for testing how works original method: void setLocale(java.util.Locale) from tested class
 void testSetStyle104431()
          Method for testing how works original method: void setStyle(int) from tested class
 void testToString()
          Method for testing how works original method: java.lang.String toString() 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
 

Field Detail

varVelocityCalendar

protected VelocityCalendar varVelocityCalendar
Instance of tested class.
Constructor Detail

TestVelocityCalendar

public TestVelocityCalendar(java.lang.String name)
Public constructor for creating testing class.
Method Detail

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.

testToString

public void testToString()
Method for testing how works original method: java.lang.String toString() from tested class

testFromString1195259493

public void testFromString1195259493()
Method for testing how works original method: java.util.Date fromString(java.lang.String) from tested class

testGetInstance1195259493

public void testGetInstance1195259493()
Method for testing how works original method: java.util.Calendar getInstance(java.lang.String) from tested class

testGetInstance

public void testGetInstance()
Method for testing how works original method: java.util.Calendar getInstance() from tested class

testSetFormat1165211622

public void testSetFormat1165211622()
Method for testing how works original method: void setFormat(java.util.Locale) from tested class

testSetStyle104431

public void testSetStyle104431()
Method for testing how works original method: void setStyle(int) from tested class

testGetStyle

public void testGetStyle()
Method for testing how works original method: int getStyle() from tested class

testGetFormat

public void testGetFormat()
Method for testing how works original method: java.text.DateFormat getFormat() from tested class

testSetLocale1165211622

public void testSetLocale1165211622()
Method for testing how works original method: void setLocale(java.util.Locale) from tested class

testGetLocale

public void testGetLocale()
Method for testing how works original method: java.util.Locale getLocale() from tested class