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

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

public class IndexBindingSojoJsonStringWriterTest
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
IndexBindingSojoJsonStringWriterTest()
           
 
Method Summary
 MockBindingResult addBeanPathBindingResult(String nestedPath, MockBindingResult b)
           
 MockBindingResult addTypedBindingResult(MockBindingResult b)
           
 org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getConfiguratorTemplateRegistry(int mode)
           
 MockBindingResult getEmptyBindingResult()
           
 org.springframework.web.servlet.view.json.JsonWriterConfiguratorTemplateRegistry getEmptyConfiguratorTemplateRegistry()
           
 Map getModelMap1()
           
 Map getModelMap2()
           
 void setTearDown()
           
 void setUp()
           
 void testImpleciteModelMap11()
           
 void testImpleciteModelMap12()
           
 void testPathNoneIndexed21()
           
 void testPathNoneIndexed22()
           
 
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

IndexBindingSojoJsonStringWriterTest

public IndexBindingSojoJsonStringWriterTest()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

setTearDown

public void setTearDown()
                 throws Exception
Throws:
Exception

getModelMap1

public Map getModelMap1()

getModelMap2

public Map getModelMap2()

testImpleciteModelMap11

public void testImpleciteModelMap11()

testImpleciteModelMap12

public void testImpleciteModelMap12()

testPathNoneIndexed21

public void testPathNoneIndexed21()

testPathNoneIndexed22

public void testPathNoneIndexed22()

getEmptyBindingResult

public MockBindingResult getEmptyBindingResult()

addTypedBindingResult

public MockBindingResult addTypedBindingResult(MockBindingResult b)

addBeanPathBindingResult

public MockBindingResult addBeanPathBindingResult(String nestedPath,
                                                  MockBindingResult b)

getConfiguratorTemplateRegistry

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

getEmptyConfiguratorTemplateRegistry

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


Copyright © 2010. All Rights Reserved.