org.springframework.web.servlet.view.json.writer.sojo
Class KeepValuesSojoJsonStringWriterTest

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

public class KeepValuesSojoJsonStringWriterTest
extends TestBase


Field Summary
protected static String COMMAND_BEAN_NAME
           
protected  Date date1
           
static String JSON_STRING_WRITER_BEAN
           
protected  org.springframework.web.servlet.view.json.writer.sojo.SojoJsonStringWriter jsonStringWriter
           
 
Fields inherited from class org.springjson.test.TestBase
beanFactory, PATH_TO_CONTEXT_PATH
 
Constructor Summary
KeepValuesSojoJsonStringWriterTest()
           
 
Method Summary
 MockBindingResult getBeanPathBindingResult(String nestedPathDate, String nestedPathNum)
           
 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 testConvertAllSimpleModel1()
           
 void testConvertAllSimpleModel2()
           
 void testConvertAllSimpleModelWithEmptyBindingResult()
           
 void testConvertAllSimpleModelWithTypedPropertyEditor()
           
 void testConvertAllSimpleModelWithTypedPropertyEditor1()
           
 void testConvertAllSimpleModelWithTypedPropertyEditor2()
           
 void testConvertSimpleModel()
           
 void testConvertSimpleModel1()
           
 void testConvertSimpleModel2()
           
 void testConvertSimpleModelWithEmptyBindingResult()
           
 void testConvertSimpleModelWithPathedPropertyEditor()
           
 void testConvertSimpleModelWithPathedPropertyEditor1()
           
 void testConvertSimpleModelWithPathedPropertyEditor2()
           
 void testConvertSimpleModelWithPathedPropertyEditorOutBean()
           
 void testConvertSimpleModelWithPathedPropertyEditorOutBean1()
           
 void testConvertSimpleModelWithPathedPropertyEditorOutBean2()
           
 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

jsonStringWriter

protected org.springframework.web.servlet.view.json.writer.sojo.SojoJsonStringWriter jsonStringWriter
Constructor Detail

KeepValuesSojoJsonStringWriterTest

public KeepValuesSojoJsonStringWriterTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

getModelMap

public Map getModelMap()

testConvertSimpleModel

public void testConvertSimpleModel()

testConvertSimpleModel1

public void testConvertSimpleModel1()

testConvertSimpleModel2

public void testConvertSimpleModel2()

testConvertAllSimpleModel

public void testConvertAllSimpleModel()

testConvertAllSimpleModel1

public void testConvertAllSimpleModel1()

testConvertAllSimpleModel2

public void testConvertAllSimpleModel2()

testConvertSimpleModelWithEmptyBindingResult

public void testConvertSimpleModelWithEmptyBindingResult()

testConvertAllSimpleModelWithEmptyBindingResult

public void testConvertAllSimpleModelWithEmptyBindingResult()

testConvertSimpleModelWithTypedPropertyEditor

public void testConvertSimpleModelWithTypedPropertyEditor()

testConvertAllSimpleModelWithTypedPropertyEditor

public void testConvertAllSimpleModelWithTypedPropertyEditor()

testConvertAllSimpleModelWithTypedPropertyEditor1

public void testConvertAllSimpleModelWithTypedPropertyEditor1()

testConvertAllSimpleModelWithTypedPropertyEditor2

public void testConvertAllSimpleModelWithTypedPropertyEditor2()

testConvertSimpleModelWithPathedPropertyEditor

public void testConvertSimpleModelWithPathedPropertyEditor()

testConvertSimpleModelWithPathedPropertyEditor1

public void testConvertSimpleModelWithPathedPropertyEditor1()

testConvertSimpleModelWithPathedPropertyEditor2

public void testConvertSimpleModelWithPathedPropertyEditor2()

testConvertSimpleModelWithPathedPropertyEditorOutBean

public void testConvertSimpleModelWithPathedPropertyEditorOutBean()

testConvertSimpleModelWithPathedPropertyEditorOutBean1

public void testConvertSimpleModelWithPathedPropertyEditorOutBean1()

testConvertSimpleModelWithPathedPropertyEditorOutBean2

public void testConvertSimpleModelWithPathedPropertyEditorOutBean2()

getEmptyBindingResult

public MockBindingResult getEmptyBindingResult()

getTypedBindingResult

public MockBindingResult getTypedBindingResult()

getBeanPathBindingResult

public MockBindingResult getBeanPathBindingResult(String nestedPathDate,
                                                  String nestedPathNum)

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.