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

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

public class AnnotationStreamJsonStringWriterTest
extends TestBase


Field Summary
protected static String COMMAND_BEAN_NAME
           
protected  Date date1
           
protected  Date date2
           
static String JSON_STRING_WRITER_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
AnnotationStreamJsonStringWriterTest()
           
 
Method Summary
 org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getConfiguratorTemplateRegistry(int mode)
           
 MockBindingResult getEmptyBindingResult()
           
 Map getModelMap()
           
 void setTearDown()
           
 void setUp()
           
 void testAutodetectAnnotationsClass1_2()
           
 void testAutodetectAnnotationsClass1()
           
 void testAutodetectAnnotationsClass2()
           
 void testAutodetectAnnotationsOn()
           
 void testEnableAnnotationConfOff()
           
 void testEnableAnnotationConfOn()
           
 
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

date1

protected Date date1

date2

protected Date date2

jsonStringWriter

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

AnnotationStreamJsonStringWriterTest

public AnnotationStreamJsonStringWriterTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

setTearDown

public void setTearDown()
                 throws Exception
Throws:
Exception

getModelMap

public Map getModelMap()

testEnableAnnotationConfOff

public void testEnableAnnotationConfOff()

testEnableAnnotationConfOn

public void testEnableAnnotationConfOn()

testAutodetectAnnotationsOn

public void testAutodetectAnnotationsOn()

testAutodetectAnnotationsClass1

public void testAutodetectAnnotationsClass1()

testAutodetectAnnotationsClass2

public void testAutodetectAnnotationsClass2()

testAutodetectAnnotationsClass1_2

public void testAutodetectAnnotationsClass1_2()

getEmptyBindingResult

public MockBindingResult getEmptyBindingResult()

getConfiguratorTemplateRegistry

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


Copyright © 2010. All Rights Reserved.