de.oio.bugkilla.comparator.test
Class TestResponseTitleComparator

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--de.oio.bugkilla.comparator.test.TestResponseTitleComparator
All Implemented Interfaces:
junit.framework.Test

public class TestResponseTitleComparator
extends junit.framework.TestCase

Author:
mniete To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Constructor Summary
TestResponseTitleComparator(java.lang.String arg)
           
 
Method Summary
 void setRecorder(java.lang.String response)
          Method setRecorder initialize RecorderResponse.
 void setServer(java.lang.String response)
          Method setServer initialize ServerResponse.
protected  void setUp()
           
 void testBadResponse()
          Method testBadResponse test for invalid respone.
 void testDifferentResponseTitle()
          Method testDifferentResponseTitle test for titles <>.
 void testEqualResponseTitle()
          Method testEqualResponseTitle test for titles ==.
 void testNullResponseObject()
          Method testNullResponseObject test for one response null.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestResponseTitleComparator

public TestResponseTitleComparator(java.lang.String arg)
See Also:
TestCase.TestCase(java.lang.String)
Method Detail

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase
See Also:
TestCase.setUp()

setServer

public void setServer(java.lang.String response)
Method setServer initialize ServerResponse.

Parameters:
response - String with html-content

setRecorder

public void setRecorder(java.lang.String response)
Method setRecorder initialize RecorderResponse.

Parameters:
response - String with html-content

testEqualResponseTitle

public void testEqualResponseTitle()
Method testEqualResponseTitle test for titles ==.


testDifferentResponseTitle

public void testDifferentResponseTitle()
Method testDifferentResponseTitle test for titles <>.


testNullResponseObject

public void testNullResponseObject()
Method testNullResponseObject test for one response null.


testBadResponse

public void testBadResponse()
Method testBadResponse test for invalid respone.



Copyright © Orientation in Objects GmbH. All Rights Reserved.