org.springframework.web.servlet.view.json.writer.sojo
Class ComplexSojoJsonStringWriterTest
java.lang.Object
org.springjson.test.TestBase
org.springframework.web.servlet.view.json.writer.sojo.ComplexSojoJsonStringWriterTest
public class ComplexSojoJsonStringWriterTest
- extends TestBase
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.sojo.SojoJsonStringWriter jsonStringWriter
ComplexSojoJsonStringWriterTest
public ComplexSojoJsonStringWriterTest()
setUp
public void setUp()
throws Exception
- Throws:
Exception
setTearDown
public void setTearDown()
throws Exception
- Throws:
Exception
getModelMap
public Map getModelMap()
testNoneMode
public void testNoneMode()
testAllMapValuesMode
public void testAllMapValuesMode()
testIgnoreNullValues
public void testIgnoreNullValues()
testExcludedProperties
public void testExcludedProperties()
testKeepValueTypesMode
public void testKeepValueTypesMode()
testInterceptorList
public void testInterceptorList()
throws Exception
- Throws:
Exception
getEmptyBindingResult
public MockBindingResult getEmptyBindingResult()
getTypedBindingResult
public MockBindingResult getTypedBindingResult()
getConfiguratorTemplateRegistry
public org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getConfiguratorTemplateRegistry(int mode)
Copyright © 2010. All Rights Reserved.