org.springframework.web.servlet.view.json.converter
Class ComplexDefaultJsonStringWriterTest

java.lang.Object
  extended by org.springjson.test.TestBase
      extended by org.springframework.web.servlet.view.json.converter.ComplexDefaultJsonStringWriterTest

public class ComplexDefaultJsonStringWriterTest
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.DefaultJsonStringWriter jsonStringWriter
           
 
Fields inherited from class org.springjson.test.TestBase
beanFactory, PATH_TO_CONTEXT_PATH
 
Constructor Summary
ComplexDefaultJsonStringWriterTest()
           
 
Method Summary
 MockBindingResult getBeanPathBindingResult(String nestedPath)
           
 org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getConfiguratorTemplateRegistry()
           
 MockBindingResult getEmptyBindingResult()
           
 org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getEmptyConfiguratorTemplateRegistry()
           
 Map getModelMap()
           
 MockBindingResult getTypedBindingResult()
           
 void setUp()
           
 void testConvertAllSimpleModel()
           
 void testConvertAllSimpleModelWithEmptyBindingResult()
           
 void testConvertAllSimpleModelWithPathedPropertyEditor1()
           
 void testConvertAllSimpleModelWithPathedPropertyEditor2()
           
 void testConvertAllSimpleModelWithPathedPropertyEditor3()
           
 void testConvertAllSimpleModelWithPathedPropertyEditor4()
           
 void testConvertAllSimpleModelWithPathedPropertyEditorOutBean()
           
 void testConvertAllSimpleModelWithTypedPropertyEditor()
           
 void testConvertSimpleModel()
           
 void testConvertSimpleModelWithEmptyBindingResult()
           
 void testConvertSimpleModelWithPathedPropertyEditor1()
           
 void testConvertSimpleModelWithPathedPropertyEditor2()
           
 void testConvertSimpleModelWithPathedPropertyEditor3()
           
 void testConvertSimpleModelWithPathedPropertyEditor4()
           
 void testConvertSimpleModelWithPathedPropertyEditorOutBean()
           
 void testConvertSimpleModelWithTypedPropertyEditor()
           
 
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.DefaultJsonStringWriter jsonStringWriter
Constructor Detail

ComplexDefaultJsonStringWriterTest

public ComplexDefaultJsonStringWriterTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

getModelMap

public Map getModelMap()

testConvertSimpleModel

public void testConvertSimpleModel()

testConvertAllSimpleModel

public void testConvertAllSimpleModel()

testConvertSimpleModelWithEmptyBindingResult

public void testConvertSimpleModelWithEmptyBindingResult()

testConvertAllSimpleModelWithEmptyBindingResult

public void testConvertAllSimpleModelWithEmptyBindingResult()

testConvertSimpleModelWithTypedPropertyEditor

public void testConvertSimpleModelWithTypedPropertyEditor()

testConvertAllSimpleModelWithTypedPropertyEditor

public void testConvertAllSimpleModelWithTypedPropertyEditor()

testConvertSimpleModelWithPathedPropertyEditor1

public void testConvertSimpleModelWithPathedPropertyEditor1()

testConvertSimpleModelWithPathedPropertyEditor2

public void testConvertSimpleModelWithPathedPropertyEditor2()

testConvertSimpleModelWithPathedPropertyEditor3

public void testConvertSimpleModelWithPathedPropertyEditor3()

testConvertSimpleModelWithPathedPropertyEditor4

public void testConvertSimpleModelWithPathedPropertyEditor4()

testConvertAllSimpleModelWithPathedPropertyEditor1

public void testConvertAllSimpleModelWithPathedPropertyEditor1()

testConvertAllSimpleModelWithPathedPropertyEditor2

public void testConvertAllSimpleModelWithPathedPropertyEditor2()

testConvertAllSimpleModelWithPathedPropertyEditor3

public void testConvertAllSimpleModelWithPathedPropertyEditor3()

testConvertAllSimpleModelWithPathedPropertyEditor4

public void testConvertAllSimpleModelWithPathedPropertyEditor4()

testConvertSimpleModelWithPathedPropertyEditorOutBean

public void testConvertSimpleModelWithPathedPropertyEditorOutBean()

testConvertAllSimpleModelWithPathedPropertyEditorOutBean

public void testConvertAllSimpleModelWithPathedPropertyEditorOutBean()

getEmptyBindingResult

public MockBindingResult getEmptyBindingResult()

getTypedBindingResult

public MockBindingResult getTypedBindingResult()

getBeanPathBindingResult

public MockBindingResult getBeanPathBindingResult(String nestedPath)

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.