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 String RECEIVED_MESSAGE
           
static String SENT_MESSAGE
           
 MockHttpServer server
           
 int serverPort
           
static String SERVICE_URL
           
 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 String SERVICE_URL

RECEIVED_MESSAGE

public static String RECEIVED_MESSAGE

SENT_MESSAGE

public static String SENT_MESSAGE

serviceURL

public String serviceURL

server

public MockHttpServer server

serverPort

public int serverPort
Constructor Detail

BaseTest

public BaseTest()
Method Detail

setUp

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

tearDown

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


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