站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

WSRPBaseTest - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.wsrp
Class WSRPBaseTest

java.lang.Object
  extended byTestCase
      extended byorg.jboss.portal.test.wsrp.WSRPBaseTest
Direct Known Subclasses:
WSRPConsumerBaseTest, WSRPProducerBaseTest

public abstract class WSRPBaseTest
extends TestCase

Base Class for all WSRP Test Cases

Since:
2.4 (Feb 20, 2006)
Author:
Anil Saldhana, Chris Laprun, Boleslaw Dawidowicz
See Also:
Serialized Form

Nested Class Summary
static class WSRPBaseTest.DecoratedObject
           
static interface WSRPBaseTest.Decorator
           
 
Field Summary
(package private)  org.jboss.logging.Logger log
           
 
Constructor Summary
protected WSRPBaseTest(java.lang.String name)
           
 
Method Summary
static void assertEquals(java.lang.Object[] expected, java.lang.Object[] tested, boolean isOrderRelevant, java.lang.String failMessage)
           
static void assertEquals(java.lang.Object[] expected, java.lang.Object[] tested, boolean isOrderRelevant, java.lang.String failMessage, WSRPBaseTest.Decorator decorator)
           
static void assertString1ContainsString2(java.lang.String string1, java.lang.String string2)
           
private static java.lang.Object[] decorate(java.lang.Object[] toBeDecorated, WSRPBaseTest.Decorator decorator)
           
protected  void deploy(java.lang.String archiveId)
           
protected  void log(java.lang.String message)
           
 void setUp()
          Make it accessible from outter packages.
protected  void undeploy(java.lang.String archiveId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

org.jboss.logging.Logger log
Constructor Detail

WSRPBaseTest

protected WSRPBaseTest(java.lang.String name)
                throws java.lang.Exception
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Make it accessible from outter packages.

Throws:
java.lang.Exception

log

protected void log(java.lang.String message)

assertEquals

public static void assertEquals(java.lang.Object[] expected,
                                java.lang.Object[] tested,
                                boolean isOrderRelevant,
                                java.lang.String failMessage)

assertEquals

public static void assertEquals(java.lang.Object[] expected,
                                java.lang.Object[] tested,
                                boolean isOrderRelevant,
                                java.lang.String failMessage,
                                WSRPBaseTest.Decorator decorator)

decorate

private static java.lang.Object[] decorate(java.lang.Object[] toBeDecorated,
                                           WSRPBaseTest.Decorator decorator)

assertString1ContainsString2

public static void assertString1ContainsString2(java.lang.String string1,
                                                java.lang.String string2)

deploy

protected void deploy(java.lang.String archiveId)
               throws java.lang.Exception
Throws:
java.lang.Exception

undeploy

protected void undeploy(java.lang.String archiveId)
                 throws java.lang.Exception
Throws:
java.lang.Exception