info.magnolia.testframework
Class AbstractMagnoliaIntegrationTest

java.lang.Object
  extended by info.magnolia.testframework.AbstractMagnoliaIntegrationTest
Direct Known Subclasses:
AbstractMagnoliaHtmlUnitTest

public abstract class AbstractMagnoliaIntegrationTest
extends Object

A base class for Magnolia integration tests. Allows to overwrite context paths and domain via system properties in case you want to run them e.g. against webapps served from your IDE.


Nested Class Summary
static class AbstractMagnoliaIntegrationTest.Instance
          A simple way of referring to one of the two test instances deployed during ITs.
static class AbstractMagnoliaIntegrationTest.User
          Pre-configured users available for tests.
 
Field Summary
static String AUTHOR_CONTEXT_PATH_PROPERTY
          Name of the property that can be used to overwrite the context path for the author instance.
static String DEFAULT_DOMAIN
          Default domain, should never be used.
static String DOMAIN_PROPERTY
          Name of the property that can be used to overwrite the domain for the webapps.
static String PUBLIC_CONTEXT_PATH_PROPERTY
          Name of the property that can be used to overwrite the context path for the public instance.
 
Constructor Summary
AbstractMagnoliaIntegrationTest()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHOR_CONTEXT_PATH_PROPERTY

public static final String AUTHOR_CONTEXT_PATH_PROPERTY
Name of the property that can be used to overwrite the context path for the author instance.

See Also:
Constant Field Values

PUBLIC_CONTEXT_PATH_PROPERTY

public static final String PUBLIC_CONTEXT_PATH_PROPERTY
Name of the property that can be used to overwrite the context path for the public instance.

See Also:
Constant Field Values

DOMAIN_PROPERTY

public static final String DOMAIN_PROPERTY
Name of the property that can be used to overwrite the domain for the webapps.

See Also:
Constant Field Values

DEFAULT_DOMAIN

public static final String DEFAULT_DOMAIN
Default domain, should never be used.

See Also:
Constant Field Values
Constructor Detail

AbstractMagnoliaIntegrationTest

public AbstractMagnoliaIntegrationTest()


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.