Page History
...
Here are some of the clases we have for Magnolia testing, you can find more classes in package info.magnolia.test
Type | Remark |
---|---|
MockContext | A mock context where you can add Sessions and set a User. |
ComponentsTestUtil | set Set default implementations or instances when IoC can't be used yet. |
MgnlTestCase | Sets Sets up a basic environment for the test, loads beans and modules properties and initializes a mock context as the local context. |
RepositoryTestCase | Superclass for Tests requiring access to a real jcr repo. |
MockUtil | Util to create mock objects - especially MockContexts. |
MockContext | Context where you can add Sessions and set a User |
MockNode | Mock implementation of a jcr Node |
MockContent | MockImplemenation of a Content |
Overview
Content Tools