ca.cbc.sportwire
Class TestWireFeeder

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

public class TestWireFeeder
extends junit.framework.TestCase

File TestWireFeeder.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  WireFeeder varWireFeeder
          Instance of tested class.
 
Fields inherited from class junit.framework.TestCase
fName
 
Constructor Summary
TestWireFeeder(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 testGetDocHandler()
          Method for testing how works original method: ca.cbc.sportwire.dochandler.DocHandler getDocHandler() from tested class
 void testGetFeed()
          Method for testing how works original method: ca.cbc.sportwire.feed.SportwireFeed getFeed() from tested class
 void testMain1888107655()
          Method for testing how works original method: void main(java.lang.String[]) from tested class
 void testReadFeed()
          Method for testing how works original method: void readFeed() from tested class
 void testSetDocHandler1195259493()
          Method for testing how works original method: void setDocHandler(java.lang.String) from tested class
 void testSetFeed1195259493()
          Method for testing how works original method: void setFeed(java.lang.String) from tested class
 void testUsage()
          Method for testing how works original method: void usage() 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

varWireFeeder

protected WireFeeder varWireFeeder
Instance of tested class.
Constructor Detail

TestWireFeeder

public TestWireFeeder(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.

testClass$1195259493

public void testClass$1195259493()
Method for testing how works original method: java.lang.Class class$(java.lang.String) from tested class

testMain1888107655

public void testMain1888107655()
Method for testing how works original method: void main(java.lang.String[]) from tested class

testUsage

public void testUsage()
Method for testing how works original method: void usage() from tested class

testReadFeed

public void testReadFeed()
Method for testing how works original method: void readFeed() from tested class

testSetFeed1195259493

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

testGetFeed

public void testGetFeed()
Method for testing how works original method: ca.cbc.sportwire.feed.SportwireFeed getFeed() from tested class

testSetDocHandler1195259493

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

testGetDocHandler

public void testGetDocHandler()
Method for testing how works original method: ca.cbc.sportwire.dochandler.DocHandler getDocHandler() from tested class