|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.jackrabbit.test.JUnitTest
org.apache.jackrabbit.test.AbstractJCRTest
org.apache.jackrabbit.test.api.SetPropertyStringTest
SetPropertyStringTest
tests the methods
Node.setProperty(String, String)
, Node.setProperty(String,
String[])
and Node.setProperty(String, String[], int)
Field Summary |
Fields inherited from class org.apache.jackrabbit.test.AbstractJCRTest |
helper, isReadOnly, jcrBaseVersion, jcrCreated, jcrFrozenNode, jcrlockIsDeep, jcrLockOwner, jcrMergeFailed, jcrMixinTypes, jcrPredecessors, jcrPrimaryType, jcrRootVersion, jcrSuccessors, jcrSystem, jcrUUID, jcrVersionHistory, mixLockable, mixReferenceable, mixVersionable, nodeName1, nodeName2, nodeName3, nodeName4, NS_JCR_URI, NS_MIX_URI, NS_NT_URI, NS_SV_URI, ntBase, ntFrozenNode, ntQuery, ntVersion, ntVersionHistory, ntVersionLabels, propertyName1, propertyName2, superuser, testNodeType, testPath, testRoot, testRootNode, workspaceName |
Fields inherited from class org.apache.jackrabbit.test.JUnitTest |
log |
Constructor Summary | |
SetPropertyStringTest()
|
Method Summary | |
protected void |
setUp()
|
void |
testModifyStringArrayPropertyParent()
Tests if modifying properties with Node.setProperty(String,
String[]) works with parentNode.save() |
void |
testModifyStringArrayPropertyParentWithPropertyType()
Tests if modifying properties with Node.setProperty(String,
String[], int) works with parentNode.save() |
void |
testModifyStringArrayPropertySession()
Tests if modifying properties with Node.setProperty(String,
String[]) works with Session.save() |
void |
testModifyStringArrayPropertySessionWithPropertyType()
Tests if modifying properties with Node.setProperty(String,
String[], int) works with Session.save() |
void |
testModifyStringPropertyParent()
Tests if modifying a property with Node.setProperty(String,
String) works with parentNode.save() |
void |
testModifyStringPropertyParentWithPropertyType()
Tests if modifying a property with Node.setProperty(String,
String, int) works with parentNode.save() |
void |
testModifyStringPropertySession()
Tests if modifying a property with Node.setProperty(String,
String) works with Session.save() |
void |
testModifyStringPropertySessionWithPropertyType()
Tests if modifying a property with Node.setProperty(String,
String, int) works with Session.save() |
void |
testNewStringArrayPropertyParent()
Tests if adding properties with Node.setProperty(String,
String[]) works with parentNode.save() |
void |
testNewStringArrayPropertyParentWithPropertyType()
Tests if adding properties with Node.setProperty(String, String[],
int) works with parentNode.save() |
void |
testNewStringArrayPropertySession()
Tests if adding properties with Node.setProperty(String,
String[]) works with Session.save() |
void |
testNewStringArrayPropertySessionWithPropertyType()
Tests if adding properties with Node.setProperty(String, String[],
int) works with Session.save() |
void |
testNewStringPropertyParent()
Tests if adding a property with Node.setProperty(String,
String) works with parentNode.save() |
void |
testNewStringPropertyParentWithPropertyType()
Tests if adding a property with Node.setProperty(String,
String, int) works with parentNode.save() |
void |
testNewStringPropertySession()
Tests if adding a property with Node.setProperty(String,
String) works with Session.save() |
void |
testNewStringPropertySessionWithPropertyType()
Tests if adding a property with Node.setProperty(String,
String, int) works with Session.save() |
void |
testRemoveStringArrayPropertyParent()
Tests if removing a String[] property with
Node.setProperty(String, null) works with
parentNode.save() |
void |
testRemoveStringArrayPropertyParentWithPropertyType()
Tests if removing a String[] property with
Node.setProperty(String, null, int) works with
parentNode.save() |
void |
testRemoveStringArrayPropertySession()
Tests if removing a String[] property with
Node.setProperty(String, null) works with
Session.save() |
void |
testRemoveStringArrayPropertySessionWithPropertyType()
Tests if removing a String[] property with
Node.setProperty(String, null, int) works with
Session.save() |
void |
testRemoveStringPropertyParent()
Tests if removing a String property with
Node.setProperty(String, null) works with
parentNode.save() |
void |
testRemoveStringPropertyParentWithPropertyType()
Tests if removing a String property with
Node.setProperty(String, null, int) works with
parentNode.save() |
void |
testRemoveStringPropertySession()
Tests if removing a String property with
Node.setProperty(String, null) works with
Session.save() |
void |
testRemoveStringPropertySessionWithPropertyType()
Tests if removing a String property with
Node.setProperty(String, null, int) works with
Session.save() |
void |
testSetNullStringArray()
Tests if Node.setProperty(String, String[]) saves an array
of null values as an empty String[] |
void |
testSetNullStringArrayWithPropertyType()
Tests if Node.setProperty(String, String[], int) saves an
array of null values as an empty String[] |
void |
testSetSingleStringArrayValueFormatException()
Tests if Node.setProperty(String, String[]) throws a ValueFormatException when trying to set an existing
single-valued property to a multi-value |
void |
testSetSingleStringArrayValueFormatExceptionWithPropertyType()
Tests if Node.setProperty(String, String[], int) throws a
ValueFormatException when trying to set an existing
single-value property to a multi-value |
Methods inherited from class org.apache.jackrabbit.test.AbstractJCRTest |
createRandomString, getNonExistingWorkspaceName, getProperty, getSize, run, tearDown |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SetPropertyStringTest()
Method Detail |
protected void setUp() throws java.lang.Exception
setUp
in class AbstractJCRTest
java.lang.Exception
public void testNewStringPropertySession() throws java.lang.Exception
Node.setProperty(String,
String)
works with Session.save()
java.lang.Exception
public void testModifyStringPropertySession() throws java.lang.Exception
Node.setProperty(String,
String)
works with Session.save()
java.lang.Exception
public void testNewStringPropertyParent() throws java.lang.Exception
Node.setProperty(String,
String)
works with parentNode.save()
java.lang.Exception
public void testModifyStringPropertyParent() throws java.lang.Exception
Node.setProperty(String,
String)
works with parentNode.save()
java.lang.Exception
public void testRemoveStringPropertySession() throws java.lang.Exception
String
property with
Node.setProperty(String, null)
works with
Session.save()
java.lang.Exception
public void testRemoveStringPropertyParent() throws java.lang.Exception
String
property with
Node.setProperty(String, null)
works with
parentNode.save()
java.lang.Exception
public void testNewStringPropertySessionWithPropertyType() throws java.lang.Exception
Node.setProperty(String,
String, int)
works with Session.save()
java.lang.Exception
public void testModifyStringPropertySessionWithPropertyType() throws java.lang.Exception
Node.setProperty(String,
String, int)
works with Session.save()
java.lang.Exception
public void testNewStringPropertyParentWithPropertyType() throws java.lang.Exception
Node.setProperty(String,
String, int)
works with parentNode.save()
java.lang.Exception
public void testModifyStringPropertyParentWithPropertyType() throws java.lang.Exception
Node.setProperty(String,
String, int)
works with parentNode.save()
java.lang.Exception
public void testRemoveStringPropertySessionWithPropertyType() throws java.lang.Exception
String
property with
Node.setProperty(String, null, int)
works with
Session.save()
java.lang.Exception
public void testRemoveStringPropertyParentWithPropertyType() throws java.lang.Exception
String
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
java.lang.Exception
public void testNewStringArrayPropertySession() throws java.lang.Exception
Node.setProperty(String,
String[])
works with Session.save()
java.lang.Exception
public void testModifyStringArrayPropertySession() throws java.lang.Exception
Node.setProperty(String,
String[])
works with Session.save()
java.lang.Exception
public void testNewStringArrayPropertyParent() throws java.lang.Exception
Node.setProperty(String,
String[])
works with parentNode.save()
java.lang.Exception
public void testModifyStringArrayPropertyParent() throws java.lang.Exception
Node.setProperty(String,
String[])
works with parentNode.save()
java.lang.Exception
public void testSetSingleStringArrayValueFormatException() throws java.lang.Exception
Node.setProperty(String, String[])
throws a ValueFormatException
when trying to set an existing
single-valued property to a multi-value
java.lang.Exception
public void testRemoveStringArrayPropertySession() throws java.lang.Exception
String[]
property with
Node.setProperty(String, null)
works with
Session.save()
java.lang.Exception
public void testRemoveStringArrayPropertyParent() throws java.lang.Exception
String[]
property with
Node.setProperty(String, null)
works with
parentNode.save()
java.lang.Exception
public void testSetNullStringArray() throws java.lang.Exception
Node.setProperty(String, String[])
saves an array
of null values as an empty String[]
java.lang.Exception
public void testNewStringArrayPropertySessionWithPropertyType() throws java.lang.Exception
Node.setProperty(String, String[],
int)
works with Session.save()
java.lang.Exception
public void testModifyStringArrayPropertySessionWithPropertyType() throws java.lang.Exception
Node.setProperty(String,
String[], int)
works with Session.save()
java.lang.Exception
public void testNewStringArrayPropertyParentWithPropertyType() throws java.lang.Exception
Node.setProperty(String, String[],
int)
works with parentNode.save()
java.lang.Exception
public void testModifyStringArrayPropertyParentWithPropertyType() throws java.lang.Exception
Node.setProperty(String,
String[], int)
works with parentNode.save()
java.lang.Exception
public void testSetSingleStringArrayValueFormatExceptionWithPropertyType() throws java.lang.Exception
Node.setProperty(String, String[], int)
throws a
ValueFormatException
when trying to set an existing
single-value property to a multi-value
java.lang.Exception
public void testRemoveStringArrayPropertySessionWithPropertyType() throws java.lang.Exception
String[]
property with
Node.setProperty(String, null, int)
works with
Session.save()
java.lang.Exception
public void testRemoveStringArrayPropertyParentWithPropertyType() throws java.lang.Exception
String[]
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
java.lang.Exception
public void testSetNullStringArrayWithPropertyType() throws java.lang.Exception
Node.setProperty(String, String[], int)
saves an
array of null values as an empty String[]
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |