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, run
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, runBare, runTest, setName, toString
protected void setUp() throws Exception
setUp
in class AbstractJCRTest
Exception
protected void tearDown() throws Exception
tearDown
in class AbstractJCRTest
Exception
public void testNewStringPropertySession() throws Exception
Node.setProperty(String,
String)
works with Session.save()
Exception
public void testModifyStringPropertySession() throws Exception
Node.setProperty(String,
String)
works with Session.save()
Exception
public void testNewStringPropertyParent() throws Exception
Node.setProperty(String,
String)
works with parentNode.save()
Exception
public void testModifyStringPropertyParent() throws Exception
Node.setProperty(String,
String)
works with parentNode.save()
Exception
public void testRemoveStringPropertySession() throws Exception
String
property with
Node.setProperty(String, null)
works with
Session.save()
Exception
public void testRemoveStringPropertyParent() throws Exception
String
property with
Node.setProperty(String, null)
works with
parentNode.save()
Exception
public void testNewStringPropertySessionWithPropertyType() throws Exception
Node.setProperty(String,
String, int)
works with Session.save()
Exception
public void testModifyStringPropertySessionWithPropertyType() throws Exception
Node.setProperty(String,
String, int)
works with Session.save()
Exception
public void testNewStringPropertyParentWithPropertyType() throws Exception
Node.setProperty(String,
String, int)
works with parentNode.save()
Exception
public void testModifyStringPropertyParentWithPropertyType() throws Exception
Node.setProperty(String,
String, int)
works with parentNode.save()
Exception
public void testRemoveStringPropertySessionWithPropertyType() throws Exception
String
property with
Node.setProperty(String, null, int)
works with
Session.save()
Exception
public void testRemoveStringPropertyParentWithPropertyType() throws Exception
String
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
Exception
public void testNewStringArrayPropertySession() throws Exception
Node.setProperty(String,
String[])
works with Session.save()
Exception
public void testModifyStringArrayPropertySession() throws Exception
Node.setProperty(String,
String[])
works with Session.save()
Exception
public void testNewStringArrayPropertyParent() throws Exception
Node.setProperty(String,
String[])
works with parentNode.save()
Exception
public void testModifyStringArrayPropertyParent() throws Exception
Node.setProperty(String,
String[])
works with parentNode.save()
Exception
public void testRemoveStringArrayPropertySession() throws Exception
String[]
property with
Node.setProperty(String, null)
works with
Session.save()
Exception
public void testRemoveStringArrayPropertyParent() throws Exception
String[]
property with
Node.setProperty(String, null)
works with
parentNode.save()
Exception
public void testSetNullStringArray() throws Exception
Node.setProperty(String, String[])
saves an array
of null values as an empty String[]Exception
public void testNewStringArrayPropertySessionWithPropertyType() throws Exception
Node.setProperty(String, String[],
int)
works with Session.save()
Exception
public void testModifyStringArrayPropertySessionWithPropertyType() throws Exception
Node.setProperty(String,
String[], int)
works with Session.save()
Exception
public void testNewStringArrayPropertyParentWithPropertyType() throws Exception
Node.setProperty(String, String[],
int)
works with parentNode.save()
Exception
public void testModifyStringArrayPropertyParentWithPropertyType() throws Exception
Node.setProperty(String,
String[], int)
works with parentNode.save()
Exception
public void testRemoveStringArrayPropertySessionWithPropertyType() throws Exception
String[]
property with
Node.setProperty(String, null, int)
works with
Session.save()
Exception
public void testRemoveStringArrayPropertyParentWithPropertyType() throws Exception
String[]
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
Exception
Copyright © 2004–2023 The Apache Software Foundation. All rights reserved.