org.apache.wink.client
Class BaseTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.wink.client.BaseTest
All Implemented Interfaces:
junit.framework.Test

public abstract class BaseTest
extends junit.framework.TestCase


Field Summary
static java.lang.String RECEIVED_MESSAGE
           
static java.lang.String SENT_MESSAGE
           
 MockHttpServer server
           
 int serverPort
           
static java.lang.String SERVICE_URL
           
 java.lang.String serviceURL
           
 
Constructor Summary
BaseTest()
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SERVICE_URL

public static java.lang.String SERVICE_URL

RECEIVED_MESSAGE

public static java.lang.String RECEIVED_MESSAGE

SENT_MESSAGE

public static java.lang.String SENT_MESSAGE

serviceURL

public java.lang.String serviceURL

server

public MockHttpServer server

serverPort

public int serverPort
Constructor Detail

BaseTest

public BaseTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception


Copyright © 2009 The Apache Software Foundation. All Rights Reserved.