public class SetPropertyStringTest extends AbstractJCRTest
SetPropertyStringTest tests the methods
Node.setProperty(String, String), Node.setProperty(String,
String[]) and Node.setProperty(String, String[], int)isReadOnly, jcrBaseVersion, jcrCopiedFrom, jcrCreated, jcrFrozenNode, jcrFrozenUuid, jcrIsCheckedOut, jcrlockIsDeep, jcrLockOwner, jcrMergeFailed, jcrMixinTypes, jcrPredecessors, jcrPrimaryType, jcrRootVersion, jcrSuccessors, jcrSystem, jcrUUID, jcrVersionHistory, mixLockable, mixReferenceable, mixShareable, mixSimpleVersionable, mixTitle, mixVersionable, nodeName1, nodeName2, nodeName3, nodeName4, NS_JCR_URI, NS_MIX_URI, NS_NT_URI, NS_SV_URI, ntActivity, ntBase, ntFrozenNode, ntQuery, ntUnstructured, ntVersion, ntVersionHistory, ntVersionLabels, propertyName1, propertyName2, superuser, testNodeType, testNodeTypeNoChildren, testNodeTypeTestRoot, testPath, testRoot, testRootNode, vf, workspaceName| Constructor and Description |
|---|
SetPropertyStringTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
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[] |
checkSupportedOption, cleanUp, cleanUpTestRoot, createRandomString, ensureCanSetProperty, ensureCanSetProperty, ensureCanSetProperty, ensureKnowsNodeType, ensureLockingSupported, ensureMixinType, ensureMultipleWorkspacesSupported, getHelper, getJcrValue, getLocalName, getNonExistingWorkspaceName, getPrefix, getProperty, getProperty, getQualifiedName, getSize, isSupported, needsMixin, runassertEquals, 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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, runBare, runTest, setName, toStringprotected void setUp()
throws Exception
setUp in class AbstractJCRTestExceptionprotected void tearDown()
throws Exception
tearDown in class AbstractJCRTestExceptionpublic void testNewStringPropertySession()
throws Exception
Node.setProperty(String,
String) works with Session.save()Exceptionpublic void testModifyStringPropertySession()
throws Exception
Node.setProperty(String,
String) works with Session.save()Exceptionpublic void testNewStringPropertyParent()
throws Exception
Node.setProperty(String,
String) works with parentNode.save()Exceptionpublic void testModifyStringPropertyParent()
throws Exception
Node.setProperty(String,
String) works with parentNode.save()Exceptionpublic void testRemoveStringPropertySession()
throws Exception
String property with
Node.setProperty(String, null) works with
Session.save()Exceptionpublic void testRemoveStringPropertyParent()
throws Exception
String property with
Node.setProperty(String, null) works with
parentNode.save()Exceptionpublic void testNewStringPropertySessionWithPropertyType()
throws Exception
Node.setProperty(String,
String, int) works with Session.save()Exceptionpublic void testModifyStringPropertySessionWithPropertyType()
throws Exception
Node.setProperty(String,
String, int) works with Session.save()Exceptionpublic void testNewStringPropertyParentWithPropertyType()
throws Exception
Node.setProperty(String,
String, int) works with parentNode.save()Exceptionpublic void testModifyStringPropertyParentWithPropertyType()
throws Exception
Node.setProperty(String,
String, int) works with parentNode.save()Exceptionpublic void testRemoveStringPropertySessionWithPropertyType()
throws Exception
String property with
Node.setProperty(String, null, int) works with
Session.save()Exceptionpublic void testRemoveStringPropertyParentWithPropertyType()
throws Exception
String property with
Node.setProperty(String, null, int) works with
parentNode.save()Exceptionpublic void testNewStringArrayPropertySession()
throws Exception
Node.setProperty(String,
String[]) works with Session.save()Exceptionpublic void testModifyStringArrayPropertySession()
throws Exception
Node.setProperty(String,
String[]) works with Session.save()Exceptionpublic void testNewStringArrayPropertyParent()
throws Exception
Node.setProperty(String,
String[]) works with parentNode.save()Exceptionpublic void testModifyStringArrayPropertyParent()
throws Exception
Node.setProperty(String,
String[]) works with parentNode.save()Exceptionpublic void testRemoveStringArrayPropertySession()
throws Exception
String[] property with
Node.setProperty(String, null) works with
Session.save()Exceptionpublic void testRemoveStringArrayPropertyParent()
throws Exception
String[] property with
Node.setProperty(String, null) works with
parentNode.save()Exceptionpublic void testSetNullStringArray()
throws Exception
Node.setProperty(String, String[]) saves an array
of null values as an empty String[]Exceptionpublic void testNewStringArrayPropertySessionWithPropertyType()
throws Exception
Node.setProperty(String, String[],
int) works with Session.save()Exceptionpublic void testModifyStringArrayPropertySessionWithPropertyType()
throws Exception
Node.setProperty(String,
String[], int) works with Session.save()Exceptionpublic void testNewStringArrayPropertyParentWithPropertyType()
throws Exception
Node.setProperty(String, String[],
int) works with parentNode.save()Exceptionpublic void testModifyStringArrayPropertyParentWithPropertyType()
throws Exception
Node.setProperty(String,
String[], int) works with parentNode.save()Exceptionpublic void testRemoveStringArrayPropertySessionWithPropertyType()
throws Exception
String[] property with
Node.setProperty(String, null, int) works with
Session.save()Exceptionpublic void testRemoveStringArrayPropertyParentWithPropertyType()
throws Exception
String[] property with
Node.setProperty(String, null, int) works with
parentNode.save()ExceptionCopyright © 2004–2021 The Apache Software Foundation. All rights reserved.