org.springframework.web.servlet.view.json.writer.xstream
Class OtherXStreamJsonStringWriterTest

java.lang.Object
  extended by org.springjson.test.TestBase
      extended by org.springframework.web.servlet.view.json.writer.xstream.OtherXStreamJsonStringWriterTest

public class OtherXStreamJsonStringWriterTest
extends TestBase


Field Summary
protected static String COMMAND_BEAN_NAME
           
protected  Date date1
           
protected  Date date2
           
static String JSON_STRING_WRITER_BEAN
           
static String JSON_STRING_WRITER_WITH_XSTREAM_CONFIG_SUPORT_BEAN
           
protected  org.springframework.web.servlet.view.json.writer.xstream.XStreamJsonStringWriter jsonStringWriter
           
 
Fields inherited from class org.springjson.test.TestBase
beanFactory, PATH_TO_CONTEXT_PATH
 
Constructor Summary
OtherXStreamJsonStringWriterTest()
           
 
Method Summary
 org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getConfiguratorTemplateRegistry()
           
 MockBindingResult getEmptyBindingResult()
           
 org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getEmptyConfiguratorTemplateRegistry()
           
 Map getModelMap()
           
 void setUp()
           
 void testConvertAndWrite1()
           
 void testConvertAndWrite2()
           
 void testConvertAndWrite3()
           
 void testConvertAndWrite4()
           
 void testStetterAndGetter()
           
 
Methods inherited from class org.springjson.test.TestBase
assertEqualsJson, cleanupTests, getBeanFactory, getBeanFactory, prepareTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMMAND_BEAN_NAME

protected static final String COMMAND_BEAN_NAME
See Also:
Constant Field Values

JSON_STRING_WRITER_BEAN

public static final String JSON_STRING_WRITER_BEAN
See Also:
Constant Field Values

JSON_STRING_WRITER_WITH_XSTREAM_CONFIG_SUPORT_BEAN

public static final String JSON_STRING_WRITER_WITH_XSTREAM_CONFIG_SUPORT_BEAN
See Also:
Constant Field Values

date1

protected Date date1

date2

protected Date date2

jsonStringWriter

protected org.springframework.web.servlet.view.json.writer.xstream.XStreamJsonStringWriter jsonStringWriter
Constructor Detail

OtherXStreamJsonStringWriterTest

public OtherXStreamJsonStringWriterTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

getModelMap

public Map getModelMap()

testStetterAndGetter

public void testStetterAndGetter()

testConvertAndWrite1

public void testConvertAndWrite1()

testConvertAndWrite2

public void testConvertAndWrite2()

testConvertAndWrite3

public void testConvertAndWrite3()

testConvertAndWrite4

public void testConvertAndWrite4()

getEmptyBindingResult

public MockBindingResult getEmptyBindingResult()

getEmptyConfiguratorTemplateRegistry

public org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getEmptyConfiguratorTemplateRegistry()

getConfiguratorTemplateRegistry

public org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getConfiguratorTemplateRegistry()


Copyright © 2010. All Rights Reserved.