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

StateConverterV0TestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.portlet.state
Class StateConverterV0TestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.portal.test.portlet.state.StateConverterV0TestCase

public class StateConverterV0TestCase
extends TestCase

Version:
$Revision: 1.1 $
Author:
Julien Viet
See Also:
Serialized Form

Field Summary
private  StateConverter converter
           
 
Constructor Summary
StateConverterV0TestCase()
           
 
Method Summary
private  void assertWorks(ProducerState expectedState)
           
 void testAlteredMagic()
           
 void testBadVersionNumber()
           
 void testIAE()
           
 void testWorks()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

converter

private final StateConverter converter
Constructor Detail

StateConverterV0TestCase

public StateConverterV0TestCase()
Method Detail

testIAE

public void testIAE()
             throws StateConversionException
Throws:
StateConversionException

testAlteredMagic

public void testAlteredMagic()
                      throws StateConversionException
Throws:
StateConversionException

testBadVersionNumber

public void testBadVersionNumber()
                          throws StateConversionException
Throws:
StateConversionException

testWorks

public void testWorks()
               throws java.lang.Exception
Throws:
java.lang.Exception

assertWorks

private void assertWorks(ProducerState expectedState)
                  throws java.lang.Exception
Throws:
java.lang.Exception