|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.testing.mock.JCRMockUtils
public class JCRMockUtils
| Constructor Summary | |
|---|---|
JCRMockUtils()
|
|
| Method Summary | |
|---|---|
static javax.jcr.Node |
mockNode()
Stubs a JCR Node |
static void |
stubNullProperty(javax.jcr.Node node,
String propName)
Stubs a node with a null property. |
static void |
stubProperty(javax.jcr.Node node,
String propName,
String... svalues)
Stub a multi value Strng property |
static javax.jcr.Value |
stubValue(String sValue)
Stub a JCR String value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JCRMockUtils()
| Method Detail |
|---|
public static javax.jcr.Node mockNode()
public static void stubNullProperty(javax.jcr.Node node,
String propName)
throws Exception
node - propName -
Exception
public static void stubProperty(javax.jcr.Node node,
String propName,
String... svalues)
throws Exception
node - propName - name of the propertysvalues - values to
Exception
public static javax.jcr.Value stubValue(String sValue)
throws Exception
sValue -
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||