org.springjson.test
Class TestBase
java.lang.Object
org.springjson.test.TestBase
- Direct Known Subclasses:
- AllwaysMatchingValueProcessorMatcherTest, AnnotationStreamJsonStringWriterTest, BugsTest, BugsTest, ComplexDefaultJsonStringWriterTest, ComplexJsonlibJsonStringWriterTest, ComplexSojoJsonStringWriterTest, ComplexXStreamJsonStringWriterTest, CustomEditorReferenceByXPathMarshallerTest, ExceptionMessageExceptionHandlerTest, FilteredJsonViewTest, HttpStatusErrorTest, IndexBindingJsonlibsonStringWriterTest, IndexBindingSojoJsonStringWriterTest, IndexBindingXStreamJsonStringWriterTest, JsonExceptionResolverTest, JsonlibCommandControllerTest, JsonlibControllerInterfaceImplTest, JsonlibJsonViewTest, JsonlibSimpleFormControllerTest, JsonViewWalkerInterceptorTest, KeepValuesSojoJsonStringWriterTest, KeepValuesXStreamStringWriterTest, MapGraphWalkerTest, ModelFlagErrorTest, OtherXStreamJsonStringWriterTest, SimpleCollectionJsonXStreamStringWriterTest, SimpleDefaultJsonStringWriterTest, SimpleJsonJsonlibStringWriterTest, SimpleJsonXStreamStringWriterTest, SimplePropertyFilterTest, SimpleSojoJsonStringWriterTest, SojoCommandControllerTest, SojoControllerInterfaceImplTest, SojoJsonViewTest, SojoJsonWriterConfiguratorTemplateTest, SojoSimpleFormControllerTest, StackTraceExceptionHandlerTest, XStreamCommandControllerTest, XStreamControllerInterfaceImplTest, XStreamJsonViewTest, XStreamSimpleFormControllerTest
public class TestBase
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATH_TO_CONTEXT_PATH
public static final String PATH_TO_CONTEXT_PATH
- See Also:
- Constant Field Values
beanFactory
protected static org.springframework.beans.factory.BeanFactory beanFactory
TestBase
public TestBase()
getBeanFactory
protected static org.springframework.beans.factory.BeanFactory getBeanFactory()
getBeanFactory
protected org.springframework.beans.factory.BeanFactory getBeanFactory(String pathToContextFile,
Class clazz)
prepareTests
public static void prepareTests()
throws Exception
- Throws:
Exception
cleanupTests
public static void cleanupTests()
throws Exception
- Throws:
Exception
assertEqualsJson
public net.sf.json.JSONObject assertEqualsJson(String expected,
String actual)
Copyright © 2010. All Rights Reserved.