public class SetValueStringTest extends AbstractJCRTest
Property.setValue(Value) methods.
Configuration requirements:
The node at AbstractJCRTest.testRoot must allow a child node of type
AbstractJCRTest.testNodeType with name AbstractJCRTest.nodeName1. The node type
AbstractJCRTest.testNodeType must define a single value string property with
name AbstractJCRTest.propertyName1 and a multi value string property with name
AbstractJCRTest.propertyName2.
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 |
|---|
SetValueStringTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
protected void |
tearDown() |
void |
testEmptyMultiStringParent()
Test the assignment of an empty property by assigning it a null array,
saved from the parent Node
|
void |
testEmptyMultiStringSession()
Test the assignment of an empty property by assigning it a null array,
saved from the Session
|
void |
testMultiString()
Test the modification of a single-value property updated with a
multi-value parameter Requires a multi-value String (mv)
|
void |
testMultiStringParent()
Test the persistence of a property modified with an multi-value String
parameter and saved from the parent Node Requires a multi-value String
(mv)
|
void |
testMultiStringSession()
Test the persistence of a property modified with an multi-value String
parameter and saved from the Session Requires a multi-value String (mv)
|
void |
testMultiStringSingle()
Test the assignment of a single-value to a multi-value property Requires
a single-value String (PROP_VALUE_1)
|
void |
testMultiValue()
Test the modification of a single-value property updated with a
multi-value parameter Requires a multi-value Value (mv)
|
void |
testMultiValueParent()
Test the persistence of a property modified with an multi-value Value
parameter and saved from the parent Node Requires a multi-value Value
(mv2)
|
void |
testMultiValueSession()
Test the persistence of a property modified with an multi-value Value
parameter and saved from the Session Requires a multi-value Value (mv2)
|
void |
testMultiValueSingle()
Test the assignment of a single-value to a multi-value property Requires
a single-value Value (sv1)
|
void |
testNullMultiValue()
Test the deletion of a value in a multi-value property
|
void |
testRemoveMultiStringParent()
Test the deletion of a property by assigning it a null value, saved from
the parent Node
|
void |
testRemoveMultiStringSession()
Test the deletion of a property by assigning it a null value, saved from
the Session
|
void |
testRemoveMultiValueParent()
Test the deletion of a property by assigning it a null value, saved from
the parent Node
|
void |
testRemoveMultiValueSession()
Test the deletion of a property by assigning it a null value, saved from
the Session
|
void |
testRemoveStringParent()
Test the deletion of a property by assigning it a null value, saved from
the parent Node
|
void |
testRemoveStringSession()
Test the deletion of a property by assigning it a null value, saved from
the Session
|
void |
testRemoveValueParent()
Test the deletion of a property by assigning it a null value, saved from
the parent Node
|
void |
testRemoveValueSession()
Test the deletion of a property by assigning it a null value, saved from
the Session
|
void |
testStringParent()
Test the persistence of a property modified with a String parameter and
saved from the parent Node Requires a single-value String (PROP_VALUE_2)
|
void |
testStringSession()
Test the persistence of a property modified with a String parameter and
saved from the Session Requires a single-value String (PROP_VALUE_2)
|
void |
testValueParent()
Test the persistence of a property modified with a Value parameter, and
saved from the parent Node Requires a single-value Value (sv2)
|
void |
testValueSession()
Test the persistence of a property modified with a Value parameter and
saved from the Session Requires a single-value Value (sv2)
|
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 testValueSession()
throws RepositoryException
RepositoryExceptionpublic void testValueParent()
throws RepositoryException
RepositoryExceptionpublic void testMultiValue()
throws RepositoryException
RepositoryExceptionpublic void testRemoveValueSession()
throws RepositoryException
RepositoryExceptionpublic void testRemoveValueParent()
throws RepositoryException
RepositoryExceptionpublic void testStringSession()
throws RepositoryException
RepositoryExceptionpublic void testStringParent()
throws RepositoryException
RepositoryExceptionpublic void testMultiString()
throws RepositoryException
RepositoryExceptionpublic void testRemoveStringSession()
throws RepositoryException
RepositoryExceptionpublic void testRemoveStringParent()
throws RepositoryException
RepositoryExceptionpublic void testMultiValueSession()
throws RepositoryException
RepositoryExceptionpublic void testMultiValueParent()
throws RepositoryException
RepositoryExceptionpublic void testMultiValueSingle()
throws RepositoryException
RepositoryExceptionpublic void testRemoveMultiValueSession()
throws RepositoryException
RepositoryExceptionpublic void testRemoveMultiValueParent()
throws RepositoryException
RepositoryExceptionpublic void testNullMultiValue()
throws RepositoryException
RepositoryExceptionpublic void testMultiStringSession()
throws RepositoryException
RepositoryExceptionpublic void testMultiStringParent()
throws RepositoryException
RepositoryExceptionpublic void testMultiStringSingle()
throws RepositoryException
RepositoryExceptionpublic void testRemoveMultiStringSession()
throws RepositoryException
RepositoryExceptionpublic void testRemoveMultiStringParent()
throws RepositoryException
RepositoryExceptionpublic void testEmptyMultiStringParent()
throws RepositoryException
RepositoryExceptionpublic void testEmptyMultiStringSession()
throws RepositoryException
RepositoryExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.