Uses of Class
org.apache.jackrabbit.test.NotExecutableException
-
Packages that use NotExecutableException Package Description org.apache.jackrabbit.core Contains the core classes that provide the implementation of the JCR API.org.apache.jackrabbit.test org.apache.jackrabbit.test.api org.apache.jackrabbit.test.api.lock org.apache.jackrabbit.test.api.nodetype org.apache.jackrabbit.test.api.observation org.apache.jackrabbit.test.api.query org.apache.jackrabbit.test.api.query.qom org.apache.jackrabbit.test.api.retention org.apache.jackrabbit.test.api.security org.apache.jackrabbit.test.api.version org.apache.jackrabbit.test.api.version.simple -
-
Uses of NotExecutableException in org.apache.jackrabbit.core
Methods in org.apache.jackrabbit.core that throw NotExecutableException Modifier and Type Method Description Principal
JackrabbitRepositoryStub. getUnknownPrincipal(Session session)
-
Uses of NotExecutableException in org.apache.jackrabbit.test
Methods in org.apache.jackrabbit.test that throw NotExecutableException Modifier and Type Method Description protected void
AbstractJCRTest. checkSupportedOption(String descriptorKey)
Throws aNotExecutableException
if the repository does not support the feature identified by the givendiscriptorKey
.protected void
AbstractJCRTest. ensureCanSetProperty(Node node, String propertyName, int propertyType, boolean isMultiple)
Checks that the repository can set the property to the required type, otherwise aborts withNotExecutableException
.protected void
AbstractJCRTest. ensureCanSetProperty(Node node, String propertyName, Value value)
Checks that the repository can set the property to the required type, otherwise aborts withNotExecutableException
.protected void
AbstractJCRTest. ensureCanSetProperty(Node node, String propertyName, Value[] values)
Checks that the repository can set the property to the required type, otherwise aborts withNotExecutableException
.protected void
AbstractJCRTest. ensureKnowsNodeType(Session session, String nodetype)
Checks that the repository supports the specified node type, otherwise aborts withNotExecutableException
protected void
AbstractJCRTest. ensureLockingSupported()
Checks that the repository supports locking, otherwise aborts withNotExecutableException
.protected void
AbstractJCRTest. ensureMixinType(Node node, String mixin)
Ensures that the givennode
is of the given mixin type.protected void
AbstractJCRTest. ensureMultipleWorkspacesSupported()
Checks that the repository supports multiple workspace, otherwise aborts withNotExecutableException
.Principal
JNDIRepositoryStub. getUnknownPrincipal(Session session)
Principal
RepositoryHelper. getUnknownPrincipal(Session session)
Returns aPrincipal
identifiying an unknown user.abstract Principal
RepositoryStub. getUnknownPrincipal(Session session)
Returns aPrincipal
identifiying an unknown user. -
Uses of NotExecutableException in org.apache.jackrabbit.test.api
Methods in org.apache.jackrabbit.test.api that throw NotExecutableException Modifier and Type Method Description protected String
WorkspaceCopyReferenceableTest. getOtherWorkspaceName()
protected String
WorkspaceCopySameNameSibsTest. getOtherWorkspaceName()
protected String
WorkspaceCopyVersionableTest. getOtherWorkspaceName()
protected String
WorkspaceMoveReferenceableTest. getOtherWorkspaceName()
protected String
WorkspaceMoveSameNameSibsTest. getOtherWorkspaceName()
protected String
WorkspaceMoveVersionableTest. getOtherWorkspaceName()
protected Node
SerializationTest. initVersioningException(boolean returnParent)
Creates a simple target tree consisting of a checked-in node and an ordinary child node below.protected void
UndefinedPropertyTest. setUp()
Sets up the fixture for this test.void
NodeAddMixinTest. testAddInheritedMixin()
Test if adding an inherited mixin type has no effect.void
NodeAddMixinTest. testAddMixinReferencable()
Tests if adding mix:referenceable automatically populates the jcr:uuid value.void
NodeAddMixinTest. testAddMixinTwice()
Test if adding the same mixin twice works as expected.void
NodeCanAddMixinTest. testAddMixinTwice()
Test if adding the same mixin twice would be allowed.void
NodeAddMixinTest. testAddSuccessfully()
Tests ifNode.addMixin(String mixinName)
adds the requested mixin and stores it in propertyjcr:mixinTypes
void
ReferencesTest. testAlterReference()
Tests changing a reference propertyvoid
SetPropertyConstraintViolationExceptionTest. testBinaryProperty()
Tests if setProperty(String name, InputStream value) and setProperty(String name, Value value) where value is a BinaryValue throw a ConstraintViolationException either immediately (by setProperty()), or on save, if the change would violate a node type constraintvoid
SetValueConstraintViolationExceptionTest. testBinaryProperty()
Tests if setValue(InputStream value) and setValue(Value value) where value is a BinaryValue throw a ConstraintViolationException if the change would violate a value constraintvoid
SetValueValueFormatExceptionTest. testBoolean()
Tests if setValue(boolean) throws a ValueFormatException immediately (not on save) if a conversion fails.void
SetPropertyConstraintViolationExceptionTest. testBooleanProperty()
Tests if setProperty(String name, boolean value) and setProperty(String name, Value value) where value is a BooleanValue throw a ConstraintViolationException either immediately (by setProperty()), or on save, if the change would violate a node type constraintvoid
SetValueConstraintViolationExceptionTest. testBooleanProperty()
Tests if setValue(boolean value) and setValue(Value value) where value is a BooleanValue throw a ConstraintViolationException if the change would violate a value constraintvoid
SetValueValueFormatExceptionTest. testCalendar()
Tests if setValue(Calendar) throws a ValueFormatException immediately (not on save) if a conversion fails.void
NodeAddMixinTest. testCheckedIn()
Tests ifNode.addMixin(String mixinName)
throws aVersionException
ifNode
is checked-in.void
NodeCanAddMixinTest. testCheckedIn()
Tests ifNode.canAddMixin(String mixinName)
throws aVersionException
ifNode
is checked-invoid
NodeRemoveMixinTest. testCheckedIn()
Tests ifNode.removeMixin(String mixinName)
throws aVersionException
ifNode
is checked-invoid
NodeSetPrimaryTypeTest. testCheckedIn()
Tests ifNode.setPrimaryType(String)
throws aVersionException
ifNode
is checked-in.void
WorkspaceCloneTest. testCloneNodesLocked()
A LockException is thrown if a lock prevents the copy.void
WorkspaceCloneReferenceableTest. testCloneNodesReferenceableAndNonreferenceable()
The clone method clones both referenceable and nonreferenceable nodes.void
WorkspaceCloneReferenceableTest. testCloneNodesReferenceableNodesOriginalUUID()
In the case of referenceable nodes clone preserves the node's UUID so that the new node in the destination workspcace has the same UUID as the node in the source workspace.void
WorkspaceCloneReferenceableTest. testCloneNodesRemoveExistingFalse()
If removeExisting is false then a UUID collision causes this method to throw a ItemExistsException and no changes are made.void
WorkspaceCloneReferenceableTest. testCloneNodesRemoveExistingTrue()
If removeExisting is true then the existing node is removed from its current location and the cloned node with the same UUID from srcWorkspace is copied to this workspace as part of the copied subtree (that is, not into the former location of the old node).void
WorkspaceCloneTest. testCloneNodesTwice()
If successful, the changes are persisted immediately, there is no need to call save.void
WorkspaceCloneVersionableTest. testCloneNodesVersionableAndCheckedIn()
A VersionException is thrown if the parent node of destAbsPath is versionable and checked-in, or is non-versionable but its nearest versionable ancestor is checked-in.void
WorkspaceCopyBetweenWorkspacesTest. testCopyNodesLocked()
A LockException is thrown if a lock prevents the copy.void
WorkspaceCopyTest. testCopyNodesLocked()
A LockException is thrown if a lock prevents the copy.void
WorkspaceCopyReferenceableTest. testCopyNodesNewUUID()
Copies of referenceable nodes (nodes with UUIDs) are automatically given new UUIDs.void
WorkspaceCopyBetweenWorkspacesReferenceableTest. testCopyNodesReferenceableNodesNewUUID()
Copies of referenceable nodes (nodes with UUIDs) are automatically given new UUIDs.void
WorkspaceCopyBetweenWorkspacesVersionableTest. testCopyNodesVersionableAndCheckedIn()
A VersionException is thrown if the parent node of destAbsPath is versionable and checked-in, or is non-versionable but its nearest versionable ancestor is checked-in.void
WorkspaceCopyVersionableTest. testCopyNodesVersionableAndCheckedIn()
A VersionException is thrown if the parent node of destAbsPath is versionable and checked-in, or is non-versionable but its nearest versionable ancestor is checked-in.void
SetPropertyConstraintViolationExceptionTest. testDateProperty()
Tests if setProperty(String name, Calendar value) and setProperty(String name, Value value) where value is a DateValue throw a ConstraintViolationException either immediately (by setProperty()), or on save, if the change would violate a node type constraintvoid
SetValueConstraintViolationExceptionTest. testDateProperty()
Tests if setValue(Calendar value) and setValue(Value value) where value is a DateValue throw a ConstraintViolationException if the change would violate a value constraintvoid
SetValueValueFormatExceptionTest. testDouble()
Tests if setValue(double) throws a ValueFormatException immediately (not on save) if a conversion fails.void
SetPropertyConstraintViolationExceptionTest. testDoubleProperty()
Tests if setProperty(String name, double value) and setProperty(String name, Value value) where value is a DoubleValue throw a ConstraintViolationException either immediately (by setProperty()), or on save, if the change would violate a node type constraintvoid
SetValueConstraintViolationExceptionTest. testDoubleProperty()
Tests if setValue(Double value) and setValue(Value value) where value is a DoubleValue throw a ConstraintViolationException if the change would violate a value constraintvoid
LifecycleTest. testFollowLifecycleTransition()
void
LifecycleTest. testGetAllowedLifecycleTransitions()
void
SessionReadMethodsTest. testGetAttribute()
Tests if getAttribute(String name) returns not null if the requested attribute is existingvoid
NodeTest. testGetCorrespondingNodePath()
Creates a node with same path in both workspaces to check ifNode.getCorrespondingNodePath(String)
works properly.void
NodeTest. testGetCorrespondingNodePathItemNotFoundException()
CallsNode.getCorrespondingNodePath(String)
on a node that has no corresponding node in second workspacevoid
SessionReadMethodsTest. testGetItemFailure()
Tests that session.getItem() throws a PathNotFoundException with a given path to nowhere.void
NodeDiscoveringNodeTypesTest. testGetMixinNodeTypes()
Test if getMixinNodeType returns the node types according to the property "jcr:mixinTypes".void
NodeReadMethodsTest. testGetName()
Tests if getName() returns same as last name returned by getPath()void
BinaryPropertyTest. testGetNode()
Tests the conversion from Binary type to Reference or Path type.void
NodeReadMethodsTest. testGetNode()
Test if getNode(String relPath) returns the correct node and if a PathNotFoundException is thrown when Node at relPath does not existvoid
PropertyReadMethodsTest. testGetNode()
Tests if Property.getNode() fails with ValueFormatException for multivalued properties.void
StringPropertyTest. testGetNode()
Tests conversion from String type to Reference or Path type.void
SessionReadMethodsTest. testGetNodeByIdentifier()
Tests session.getNodeByIdentifier()void
SessionReadMethodsTest. testGetNodeByUUID()
Tests session.getNodeByUUID() using a valid uuid of a referenceable nodevoid
NodeReadMethodsTest. testGetNodesNamePattern()
Test getNodes(String namePattern) with all possible patterns.void
NodeReadMethodsTest. testGetNodesNamePatternArray()
Test getNodes(String[] namePattern) with all possible patterns.void
NodeReadMethodsTest. testGetParent()
Tests if getParent() returns parent nodevoid
NodeReadMethodsTest. testGetPath()
Tests if getPath() returns the correct path.void
PropertyReadMethodsTest. testGetPath()
Tests if getPath() returns the correct path.void
NamespaceRegistryReadMethodsTest. testGetPrefixNamespaceException()
Tests if aNamespaceException
is thrown whenNamespaceRegistry.getPrefix(String)
is called for an unknown URI.void
NodeReadMethodsTest. testGetPrimaryItem()
Test if getPrimaryItem returns the primary item as defined in the primary node type.void
NodeReadMethodsTest. testGetPrimaryItemItemNotFoundException()
Test if getPrimaryItem does throw an ItemNotFoundException if the primary node type does not define a primary item.void
NodeDiscoveringNodeTypesTest. testGetPrimaryNodeType()
Test if getPrimaryNodeType() returns the node type according to the property "jcr:primaryType"void
NodeReadMethodsTest. testGetPropertiesNamePattern()
Test getProperties(String namePattern) with all possible patterns.void
NodeReadMethodsTest. testGetPropertiesNamePatternArray()
Test getProperties(String[] namePattern) with all possible patterns.void
BinaryPropertyTest. testGetProperty()
Tests the conversion from Binary type to Path type.void
NodeReadMethodsTest. testGetProperty()
Test if getProperty(String relPath) returns the correct node and if a PathNotFoundException is thrown when property at relPath does not existvoid
StringPropertyTest. testGetProperty()
Tests conversion from String type to Reference or Path type.void
NodeReadMethodsTest. testGetReferences()
void
ReferencesTest. testGetReferencesWithName()
Tests Node.getReferences(String)void
NodeIteratorTest. testGetSize()
Tests ifRangeIterator.getSize()
returns the correct size.void
NamespaceRegistryReadMethodsTest. testGetURINamespaceException()
Tests if aNamespaceException
is thrown whenNamespaceRegistry.getURI(String)
is called for an unknown prefix.void
NodeReadMethodsTest. testGetUUID()
Test if getUUID() returns the string value of the property "jcr:uuid".void
NodeReadMethodsTest. testGetUUIDOfNonReferenceableNode()
Test if getUUID() throws a UnsupportedRepositoryOperationException if Node is not referenceablevoid
PropertyReadMethodsTest. testGetValue()
Tests failure of Property.getValue() method for a multivalue property.void
PropertyReadMethodsTest. testGetValueCopyStoredValues()
Tests ifProperty.getValues()
returns an array that is a copy of the stored values, so changes to it are not reflected in internal storage.void
PropertyReadMethodsTest. testGetValues()
Tests failure of Property.getValues() method for a single value property.void
NodeReadMethodsTest. testHasNode()
Test if hasNode(String relPath) returns true if the required node exists and false if it doesn't.void
NodeReadMethodsTest. testHasProperty()
Test if hasProperty(String relPath) returns true if a required property exists and false if it doesn't.void
ImpersonateTest. testImpersonate()
Tests ifSession.impersonate(Credentials)
works properlyvoid
SetValueValueFormatExceptionTest. testInputStream()
Tests if setValue(InputStream) throws a ValueFormatException immediately (not on save) if a conversion fails.void
NodeDiscoveringNodeTypesTest. testIsNodeType()
Test if isNodeTye(String nodeTypeName) returns true if nodeTypeName is the name of the primary node type, the name of a mixin node type and the name of a supertype.void
NodeAddMixinTest. testLocked()
Tests ifNode.addMixin(String mixinName)
throws aLockException
ifNode
is lockedvoid
NodeCanAddMixinTest. testLocked()
Tests ifNode.canAddMixin(String mixinName)
throws aLockException
ifNode
is lockedvoid
NodeRemoveMixinTest. testLocked()
Tests ifNode.removeMixin(String mixinName)
throws aLockException
ifNode
is locked.void
NodeSetPrimaryTypeTest. testLocked()
Tests ifNode.setPrimaryType(String)
throws aLockException
ifNode
is locked.void
SetValueValueFormatExceptionTest. testLong()
Tests if setValue(long) throws a ValueFormatException immediately (not on save) if a conversion fails.void
SetPropertyConstraintViolationExceptionTest. testLongProperty()
Tests if setProperty(String name, long value) and setProperty(String name, Value value) where value is a LongValue throw a ConstraintViolationException either immediately (by setProperty()), or on save, if the change would violate a node type constraintvoid
SetValueConstraintViolationExceptionTest. testLongProperty()
Tests if setValue(Long value) and setValue(Value value) where value is a LongValue throw a ConstraintViolationException if the change would violate a value constraintvoid
AddNodeTest. testMixinNodeType()
Tests if addNode() throws a ConstraintViolationException in case of an mixin node type.void
SessionTest. testMoveLockException()
CallsSession.move(String src, String dest)
where the parent node of src is locked.void
WorkspaceMoveTest. testMoveNodesLocked()
A LockException is thrown if a lock prevents the copy.void
WorkspaceMoveReferenceableTest. testMoveNodesReferenceableNodesNewUUID()
Copies of referenceable nodes (nodes with UUIDs) remains their original UUIDs.void
WorkspaceMoveVersionableTest. testMoveNodesVersionableAndCheckedIn()
A VersionException is thrown if the parent node of destAbsPath is versionable and checked-in, or is non-versionable but its nearest versionable ancestor is checked-in.void
SetValueConstraintViolationExceptionTest. testMultipleBinaryProperty()
Tests if setValue(Value[] values) where values are of type BinaryValue throw a ConstraintViolationException if the change would violate a value constraintvoid
SetValueConstraintViolationExceptionTest. testMultipleBooleanProperty()
Tests if setValue(Value[] values) where values are of type BooleanValue throw a ConstraintViolationException if the change would violate a value constraintvoid
SetValueConstraintViolationExceptionTest. testMultipleDateProperty()
Tests if setValue(Value[] values) where values are of type DateValue throw a ConstraintViolationException if the change would violate a value constraintvoid
SetValueConstraintViolationExceptionTest. testMultipleDoubleProperty()
Tests if setValue(Value[] values) where values are of type DoubleValue throw a ConstraintViolationException if the change would violate a value constraintvoid
SetValueConstraintViolationExceptionTest. testMultipleLongProperty()
Tests if setValue(Value[] values) where values are of type LongValue throw a ConstraintViolationException if the change would violate a value constraintvoid
SetValueConstraintViolationExceptionTest. testMultipleReferenceProperty()
Tests if setValue(Value[] values) where values are of type ReferenceValue throw a ConstraintViolationException if the change would violate a value constraintvoid
PropertyReadMethodsTest. testMultiValueType()
Tests that all values of a multivalue property have the same property type.void
SetValueValueFormatExceptionTest. testNode()
Tests if setValue(Node) throws a ValueFormatException immediately (not on save) if the property is not of type REFERENCE.void
SetValueVersionExceptionTest. testNode()
Tests if setValue(Node) throws a VersionException immediately or on save if the parent node of this property is checked-in.void
SetPropertyAssumeTypeTest. testNodeAssumeTypeOfValue()
Tests ifNode.setProperty(String, Node)
if the node type of this node does not indicate a specific property type, then the property type of the supplied Value object is used and if the property already exists (has previously been set) it assumes the new property type.void
SetValueValueFormatExceptionTest. testNodeNotReferenceable()
Tests if setValue(Node) throws a ValueFormatException immediately (not on save) if the specified node is not referencable.void
SetValueReferenceTest. testNodeSession()
Test the persistence of a property modified with an Node parameter and saved from the Session Requires a Node value (node)void
GetWeakReferencesTest. testNonReferenceable()
void
ReferencesTest. testNonReferenceable()
void
NodeRemoveMixinTest. testNotAssigned()
Tests ifNode.removeMixin(String mixinName)
throws a NoSuchNodeTypeExceptionNode
does not have assigned the requested mixinvoid
NodeOrderableChildNodesTest. testOrderBeforeInvalidDest()
Tries to reorder child nodes usingNode.orderBefore(String, String)
with an invalid destination reference.void
NodeOrderableChildNodesTest. testOrderBeforeInvalidSrc()
Tries to reorder child nodes usingNode.orderBefore(String, String)
with an invalid source reference.void
NodeOrderableChildNodesTest. testOrderBeforePlaceAtEndParentSave()
Creates two child nodes, reorders first node to end, uses parentNode'sItem.save()
.void
NodeOrderableChildNodesTest. testOrderBeforePlaceAtEndSessionSave()
Test Creates two child nodes, verifies that they are added propery.void
NodeOrderableChildNodesTest. testOrderBeforeSecondToFirstParentSave()
Creates two child nodes, reorders second node before first, uses parentNode'sItem.save()
.void
NodeOrderableChildNodesTest. testOrderBeforeSecondToFirstSessionSave()
Creates two child nodes than reorders second node before first, saves usingSession.save()
.void
NodeOrderableChildNodesTest. testOrderBeforeUnsupportedRepositoryOperationException()
Tries to reorder on a node usingNode.orderBefore(String, String)
that does not support child reordering.void
ReferenceableRootNodesTest. testReferenceableRootNode()
A repository implementation may make its workspace root nodes mix:referenceable.void
SetPropertyConstraintViolationExceptionTest. testReferenceProperty()
Tests if setProperty(String name, Node value) and setProperty(String name, Value value) where value is a ReferenceValue throw a ConstraintViolationException either immediately (by setProperty()), or on save, if the change would violate a node type constraintvoid
SetValueConstraintViolationExceptionTest. testReferenceProperty()
Tests if setValue(Node value) and setValue(Value value) where value is a ReferenceValue throw a ConstraintViolationException if the change would violate a value constraintvoid
ReferencesTest. testReferences()
Tests Node.getReferences()void
ReferencesTest. testReferenceTarget()
Tests Property.getNode();void
SetValueBinaryTest. testRemoveBinaryParent()
Test the deletion of a property by assigning it a null value, saved from the parent Nodevoid
SetValueBinaryTest. testRemoveBinarySession()
Test the deletion of a property by assigning it a null value, saved from the Sessionvoid
SessionRemoveItemTest. testRemoveCheckedInItem()
void
SessionRemoveItemTest. testRemoveLockedChildItem()
void
SessionRemoveItemTest. testRemoveLockedNode()
void
NodeTest. testRemoveNodeLockedItself()
Tests ifNode.remove()
does not throw aLockException
ifNode
is locked.void
NodeTest. testRemoveNodeParentLocked()
Tests ifNode.remove()
throws aLockException
if the parent node ofNode
is locked.void
NodeRemoveMixinTest. testRemoveSuccessfully()
Tests ifNode.removeMixin(String mixinName)
removes the requested mixin properlyvoid
NodeUUIDTest. testSaveMovedRefNode()
Moves a referencable node usingSession.move(String, String)
with one session and saves afterward changes made with a second session to the moved node usingItem.save()
.void
SessionUUIDTest. testSaveMovedRefNode()
Moves a referencable node usingSession.move(String, String)
with one session and saves afterward changes made with a second session to the moved node usingSession.save()
.void
NodeUUIDTest. testSaveReferentialIntegrityException()
Tries to remove a node that is a reference target usingItem.save()
.
Procedure: Creates two nodes with same session One has a referencing property pointing to the other node Target node gets removed. This should generate aReferentialIntegrityException
upon save.void
SessionUUIDTest. testSaveReferentialIntegrityException()
Tries to remove a node that is a reference target usingSession.save()
.void
SetPropertyAssumeTypeTest. testString()
Tests ifNode.setProperty(String, String, int)
if the node type of this node does not indicate a specific property type, then the type parameter is used.void
SetValueValueFormatExceptionTest. testString()
Tests if setValue(String) throws a ValueFormatException immediately (not on save) if a conversion fails.void
SetValueValueFormatExceptionTest. testStringArray()
Tests if setValue(String[]) throws a ValueFormatException immediately (not on save) if a conversion fails.void
SetPropertyAssumeTypeTest. testStringConstraintViolationExceptionBecauseOfInvalidTypeParameter()
Tests ifNode.setProperty(String, String, int)
throws a ConstraintViolationException if the type parameter and the type of the property do not match.void
NodeTest. testUpdate()
Checks ifNode.update(String)
works properly by creating the same node in two workspaces one with a child node the other with a property set.void
NodeTest. testUpdateInvalidItemStateException()
Tries callingNode.update(String)
after node has changed in first workspace but not been saved yet.void
SetPropertyAssumeTypeTest. testValue()
Tests ifNode.setProperty(String, Value, int)
if the node type of this node does not indicate a specific property type, then the type parameter is used.void
SetValueValueFormatExceptionTest. testValue()
Tests if setValue(Value) throws a ValueFormatException immediately (not on save) if a conversion fails.void
SetValueValueFormatExceptionTest. testValueArray()
Tests if setValue(Value[]) throws a ValueFormatException immediately (not on save) if a conversion fails.void
SetPropertyAssumeTypeTest. testValueAssumeTypeOfValue()
Tests ifNode.setProperty(String, Value)
if the node type of this node does not indicate a specific property type, then the property type of the supplied Value object is used and if the property already exists (has previously been set) it assumes the new property type.void
SetPropertyAssumeTypeTest. testValueConstraintViolationExceptionBecauseOfInvalidTypeParameter()
Tests ifNode.setProperty(String, Value, int)
throws a ConstraintViolationException if the type parameter and the type of the property do not match.void
SetPropertyAssumeTypeTest. testValues()
Tests ifNode.setProperty(String, Value[], int)
if the node type of this node does not indicate a specific property type, then the type parameter is used.void
SetPropertyAssumeTypeTest. testValuesAssumeTypeOfValue()
Tests ifNode.setProperty(String, Value[])
if the node type of this node does not indicate a specific property type, then the property type of the supplied Value object is used and if the property already exists (has previously been set) it assumes the new property type.void
SetPropertyAssumeTypeTest. testValuesConstraintViolationExceptionBecauseOfInvalidTypeParameter()
Tests ifNode.setProperty(String, Value[], int)
throws a ConstraintViolationException or ValueFormatException if the type parameter and the type of the property do not match. -
Uses of NotExecutableException in org.apache.jackrabbit.test.api.lock
Methods in org.apache.jackrabbit.test.api.lock that throw NotExecutableException Modifier and Type Method Description protected void
AbstractLockTest. assertLockable(Node n)
void
LockManagerTest. testAddLockToken()
void
LockManagerTest. testAddLockTokenToAnotherSession()
void
LockTest. testCheckedIn()
Test if it is possible to lock and unlock a checked-in node.void
DeepLockTest. testDeepLockAboveLockedChild()
void
LockManagerTest. testGetLockTokens()
void
LockManagerTest. testGetLockTokensAfterUnlock()
void
LockManagerTest. testGetLockTokensSessionScoped()
void
SessionScopedLockTest. testImplicitUnlock()
Test locks are released when session logs outvoid
SessionScopedLockTest. testImplicitUnlock2()
Test locks are released when session logs outvoid
LockTest. testIsDeep()
Test Lock.isDeep()void
LockTest. testIsSessionScoped()
Test Lock.isSessionScoped()void
AbstractLockTest. testLockExpiration()
Test expiration of the lockvoid
LockManagerTest. testLockNonLockable()
void
LockManagerTest. testLockWithPendingChanges()
void
LockManagerTest. testNullOwnerHint()
void
AbstractLockTest. testOwnerHint()
Test expiration of the lockvoid
DeepLockTest. testParentChildDeepLock()
void
AbstractLockTest. testRemoveMixLockableFromLockedNode()
void
DeepLockTest. testShallowLockAboveLockedChild()
void
AbstractLockTest. testUnlockByOtherSession()
TestLockManager.unlock(String)
for a session that is not lock owner.void
LockTest. testUnlockSameNameSibling()
Tests if unlocking the first of two locked same-name sibling nodes does not unlock the second (JIRA issue JCR-284). -
Uses of NotExecutableException in org.apache.jackrabbit.test.api.nodetype
Methods in org.apache.jackrabbit.test.api.nodetype that throw NotExecutableException Modifier and Type Method Description void
PredefinedNodeTypeTest. testActivity()
Test for the predefined nt:activity node type.void
PredefinedNodeTypeTest. testBase()
Test for the predefined nt:base node type.void
CanAddChildNodeCallWithNodeTypeTest. testCanAddAbstractType()
Tests ifNodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false ifnodeTypeName
represents an abstract node type.void
CanAddChildNodeCallWithNodeTypeTest. testCanAddMixinType()
Tests ifNodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false ifnodeTypeName
represents a mixin.void
PredefinedNodeTypeTest. testChildNodeDef()
Test for the predefined nt:childNodeDef node type.void
PredefinedNodeTypeTest. testConfiguration()
Test for the predefined nt:configuration node type.void
CanSetPropertyBinaryTest. testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to BinaryValue.void
CanSetPropertyBooleanTest. testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to BooleanValue.void
CanSetPropertyDateTest. testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to DateValue.void
CanSetPropertyDoubleTest. testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to DoubleValue.void
CanSetPropertyLongTest. testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to LongValue.void
CanSetPropertyNameTest. testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to NameValue.void
CanSetPropertyPathTest. testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to PathValue.void
CanSetPropertyStringTest. testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertable to StringValue.void
CanSetPropertyBinaryTest. testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to BinaryValue.void
CanSetPropertyBooleanTest. testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to BooleanValue.void
CanSetPropertyDateTest. testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to DateValue.void
CanSetPropertyDoubleTest. testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to DoubleValue.void
CanSetPropertyLongTest. testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to LongValue.void
CanSetPropertyNameTest. testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to NameValue.void
CanSetPropertyPathTest. testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to PathValue.void
CanSetPropertyStringTest. testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to StringValue.void
CanAddChildNodeCallWithNodeTypeTest. testDefinedAndIllegalType()
Tests ifNodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false ifchildNodeName
does andnodeTypeName
does not match theNodeDef
.void
CanAddChildNodeCallWithNodeTypeTest. testDefinedAndLegalType()
Tests ifNodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true ifchildNodeName
andnodeTypeName
match theNodeDef
.void
CanAddChildNodeCallWithoutNodeTypeTest. testDefinedWithDefault()
Tests ifNodeType.canAddChildNode(String childNodeName)
returns true ifNodeType
contains aNodeDef
namedchildNodeName
with a default primary type.void
CanAddChildNodeCallWithoutNodeTypeTest. testDefinedWithoutDefault()
Tests ifNodeType.canAddChildNode(String childNodeName)
returns true ifNodeType
contains aNodeDef
namedchildNodeName
without a default primary type.void
PredefinedNodeTypeTest. testFile()
Test for the predefined nt:file node type.void
PredefinedNodeTypeTest. testFolder()
Test for the predefined nt:folder node type.void
PredefinedNodeTypeTest. testFrozenNode()
Test for the predefined nt:frozenNode node type.void
NodeTypeTest. testGetPrimaryItemName()
Test if node.getPrimaryItemName() returns the same name as node.getPrimaryItem().getName()void
NodeTypeTest. testGetPrimaryItemNameNotExisting()
Test if node.getPrimaryItemName() returns null if no primary item is definedvoid
NodeTypeTest. testGetPropertyDefs()
Test if getPropertyDefs() of a primary node returns also "jcr:primaryType" which is inherited from "nt:base".void
NodeTypeTest. testGetSupertypes()
Test if getSupertypes() of a primary node that is not "nt:base" returns at least "nt:base".void
PredefinedNodeTypeTest. testHierarchyNode()
Test for the predefined nt:hierarchyNode node type.void
NodeDefTest. testIsMandatory()
This test checks if item definitions with mandatory constraints are respected.void
PropertyDefTest. testIsMandatory()
This test checks if item definitions with mandatory constraints are respected.void
PredefinedNodeTypeTest. testLifecycle()
Test for the predefined mix:lifecycle node type.void
PredefinedNodeTypeTest. testLinkedFile()
Test for the predefined nt:linkedFile node type.void
PredefinedNodeTypeTest. testLockable()
Test for the predefined mix:lockable node type.void
CanRemoveItemTest. testMandatoryChildNode()
Tests ifNodeType.canRemoveItem(String)
andNodeType.canRemoveNode(String)
return false if the specified node is a mandatory child node.void
CanRemoveItemTest. testMandatoryProperty()
Tests ifNodeType.canRemoveItem(String)
andNodeType.canRemoveProperty(String)
return false if the specified property is a mandatory property.void
PredefinedNodeTypeTest. testMixCreated()
Test for the predefined mix:created node type.void
PredefinedNodeTypeTest. testMixETag()
Test for the predefined mix:etag node type.void
PredefinedNodeTypeTest. testMixLanguage()
Test for the predefined mix:language node type.void
PredefinedNodeTypeTest. testMixLastModified()
Test for the predefined mix:lastModified node type.void
PredefinedNodeTypeTest. testMixMimeType()
Test for the predefined mix:language node type.void
PredefinedNodeTypeTest. testMixTitle()
Test for the predefined mix:title node type.void
CanSetPropertyMultipleTest. testMultipleValuesNull()
Tests if canSetProperty(String propertyName, Value[] values) where values is null returns the same as canRemoveItemvoid
PredefinedNodeTypeTest. testNodeType()
Test for the predefined nt:nodeType node type.void
PredefinedNodeTypeTest. testNtAddress()
Test for the predefined nt:address node type.void
PredefinedNodeTypeTest. testPropertyDef()
Test for the predefined nt:propertyDef node type.void
CanRemoveItemTest. testProtectedChildNode()
Tests ifNodeType.canRemoveItem(String)
andNodeType.canRemoveNode(String)
return false if the specified node is a protected child node.void
CanRemoveItemTest. testProtectedProperty()
Tests ifNodeType.canRemoveItem(String)
andNodeType.canRemoveProperty(String)
return false if the specified property is a protected property.void
PredefinedNodeTypeTest. testQuery()
Test for the predefined nt:query node type.void
PredefinedNodeTypeTest. testReferenceable()
Test for the predefined mix:referenceable node type.void
CanRemoveItemTest. testRemovableChildNode()
Tests ifNodeType.canRemoveItem(String)
andNodeType.canRemoveNode(String)
return true if the specified node is not a protected nor a mandatory child node.void
CanRemoveItemTest. testRemovableProperty()
Tests thatNodeType.canRemoveItem(String)
andNodeType.canRemoveProperty(String)
return true if the specified property is not a protected nor a mandatory property.void
CanAddChildNodeCallWithNodeTypeTest. testResidualAndIllegalType()
Tests ifNodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false ifchildNodeName
does not match theNodeDef
andnodeTypeName
does not matches the node type of a residualNodeDef
.void
CanAddChildNodeCallWithNodeTypeTest. testResidualAndLegalType()
Tests ifNodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true ifchildNodeName
does not match theNodeDef
butnodeTypeName
matches the node type of a residualNodeDef
.void
CanAddChildNodeCallWithoutNodeTypeTest. testResidualWithDefault()
Tests ifNodeType.canAddChildNode(String childNodeName)
returns true ifNodeType
contains a residualNodeDef
with a default primary type.void
CanAddChildNodeCallWithoutNodeTypeTest. testResidualWithoutDefault()
Tests ifNodeType.canAddChildNode(String childNodeName)
returns true ifNodeType
contains a residualNodeDef
without a default primary type.void
PredefinedNodeTypeTest. testResource()
Test for the predefined nt:resource node type.void
CanSetPropertyTest. testReturnFalseBecauseIsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns false if the property is multiplevoid
CanSetPropertyMultipleTest. testReturnFalseBecauseIsNotMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns false if the property is not multiplevoid
CanSetPropertyMultipleTest. testReturnFalseBecauseIsProtected()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns false if the property is protected.void
CanSetPropertyTest. testReturnFalseBecauseIsProtected()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns false if the property is protected.void
PredefinedNodeTypeTest. testShareable()
Test for the predefined mix:referenceable node type.void
PredefinedNodeTypeTest. testSimpleVersionable()
Test for the predefined mix:simpleVersionable node type.void
CanAddChildNodeCallWithNodeTypeTest. testUndefined()
Tests ifNodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false ifchildNodeName
does not match theNodeDef
.void
CanAddChildNodeCallWithoutNodeTypeTest. testUndefined()
Tests ifNodeType.canAddChildNode(String childNodeName)
returns true ifNodeType
nor does contain aNodeDef
namedchildNodeName
nor a residual definition.void
PredefinedNodeTypeTest. testUnstructured()
Test for the predefined nt:unstructured node type.void
CanSetPropertyBinaryTest. testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property defvoid
CanSetPropertyBooleanTest. testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property defvoid
CanSetPropertyDateTest. testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not match the value constraints of the property defvoid
CanSetPropertyDoubleTest. testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satsfy the value constraints of the property defvoid
CanSetPropertyLongTest. testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property defvoid
CanSetPropertyNameTest. testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property defvoid
CanSetPropertyPathTest. testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property defvoid
CanSetPropertyStringTest. testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property defvoid
CanSetPropertyBinaryTest. testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property defvoid
CanSetPropertyBooleanTest. testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property defvoid
CanSetPropertyDateTest. testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property defvoid
CanSetPropertyDoubleTest. testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property defvoid
CanSetPropertyLongTest. testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property defvoid
CanSetPropertyNameTest. testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property defvoid
CanSetPropertyPathTest. testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property defvoid
CanSetPropertyStringTest. testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property defvoid
CanSetPropertyTest. testValueNull()
Tests if canSetProperty(String propertyName, Value value) where value is null returns the same as canRemoveItemvoid
PredefinedNodeTypeTest. testVersion()
Test for the predefined nt:version node type.void
PredefinedNodeTypeTest. testVersionable()
Test for the predefined mix:versionable node type.void
PredefinedNodeTypeTest. testVersionedChild()
Test for the predefined nt:versionedChild node type.void
PredefinedNodeTypeTest. testVersionHistory()
Test for the predefined nt:versionHistory node type.void
PredefinedNodeTypeTest. testVersionLabels()
Test for the predefined nt:versionLabels node type. -
Uses of NotExecutableException in org.apache.jackrabbit.test.api.observation
Methods in org.apache.jackrabbit.test.api.observation that throw NotExecutableException Modifier and Type Method Description void
LockingTest. testAddLockToNode()
Tests if locking a node triggers property added events for the properties jcr:lockOwner and jcr:lockIsDeep.void
EventIteratorTest. testGetSize()
Tests if getSize() returns the correct number of events.void
NodeReorderTest. testNodeReorderAddRemove()
Tests if reordering a child node triggers aEvent.NODE_REMOVED
and aEvent.NODE_ADDED
event.void
NodeReorderTest. testNodeReorderMove()
Tests if reordering a child node triggers aEvent.NODE_MOVED
event.void
NodeReorderTest. testNodeReorderSameName()
Tests if reordering a child node triggers aEvent.NODE_REMOVED
and aEvent.NODE_ADDED
event with same name siblings.void
NodeReorderTest. testNodeReorderSameNameWithRemove()
Tests if reordering a child node triggers aEvent.NODE_REMOVED
and aEvent.NODE_ADDED
event with same name siblings.void
EventJournalTest. testPersist()
void
PropertyChangedTest. testPropertyRemoveCreate()
Tests if either aEvent.PROPERTY_CHANGED
Event.PROPERTY_REMOVED
andEvent.PROPERTY_ADDED
is triggered if a property is transiently removed and set again with the same name but different type and then saved.void
LockingTest. testRemoveLockFromNode()
Tests if unlocking a node triggers property removed events for the properties jcr:lockOwner and jcr:lockIsDeep.void
AddEventListenerTest. testUUID()
Tests if events are only generated for specified UUIDs.void
EventJournalTest. testUUID()
void
GetUserDataTest. testVersioning()
-
Uses of NotExecutableException in org.apache.jackrabbit.test.api.query
Methods in org.apache.jackrabbit.test.api.query that throw NotExecutableException Modifier and Type Method Description protected Query
AbstractQueryTest. createQuery(String statement, String language)
Creates aQuery
for the given statement in the requested language, treating optional languages gracefullyprotected Query
AbstractQueryTest. createQuery(Session session, String statement, String language)
Creates aQuery
for the given statement in the requested language, treating optional languages gracefullyprotected Query
AbstractQueryTest. createQuery(org.apache.jackrabbit.test.api.query.Statement statement)
Create aQuery
for a givenStatement
.protected void
AbstractQueryTest. evaluateResultOrder(QueryResult queryResult, String propName, boolean descending)
Checks if theQueryResult
is ordered according order property in direction of related argument.protected QueryResult
AbstractQueryTest. execute(String statement, String language)
Creates and executes aQuery
for a given Statement in a given query languageprotected QueryResult
AbstractQueryTest. execute(org.apache.jackrabbit.test.api.query.Statement statement)
Creates and executes aQuery
for the givenStatement
protected void
AbstractQueryTest. executeSqlQuery(Session session, String sql, Node[] expectedNodes)
Executes thesql
query and checks the results against the specifiednodes
.protected void
AbstractQueryTest. executeSqlQuery(Session session, String sql, Node[] requiredNodes, Node[] optionalNodes)
Executes thesql
query and checks the results against the specifiednodes
.protected void
AbstractQueryTest. executeXPathQuery(Session session, String xpath, Node[] expectedNodes)
Executes thexpath
query and checks the results against the specifiednodes
.protected void
AbstractQueryLevel2Test. setUpMultiValueTest()
Creates three nodes with names:AbstractJCRTest.nodeName1
,AbstractJCRTest.nodeName2
andAbstractJCRTest.nodeName3
.void
SQLPathTest. testChildAxisLeaf()
Tests if <somepath>/% AND NOT <somepath>/%/% returns no nodes if the node at <somepath> is a leaf.void
SQLPathTest. testChildAxisRoot()
Tests if /% AND NOT /%/% returns the child nodes of the root node.void
SQLPathTest. testChildAxisTestRoot()
Tests if <somepath>/% AND NOT <somepath>/%/% returns the child nodes of node at <somepath>.void
SaveTest. testConstraintViolationException()
Tests if aConstraintViolationException
is thrown if a query is stored under a node which does not allow child nodes.void
DerefQueryLevel1Test. testDerefMultiPropWithNodeStar()
Test a deref query on a multi valued reference property with a '*' node.void
DerefQueryLevel1Test. testDerefMultiPropWithNodeTest()
Test a deref query on a multi valued reference property with a node test.void
DerefQueryLevel1Test. testDerefSinglePropWithNodeStar()
Test a deref query on a single valued reference property with a '*' node test.void
DerefQueryLevel1Test. testDerefSinglePropWithNodeTest()
Test a deref query on a single valued reference property with a node test.void
SQLPathTest. testDescendantLeaf()
Tests if <somepath>/% returns no nodes if node at <somepath> is a leaf.void
SQLPathTest. testDescendantSelfTestRoot()
Tests if <somepath>/%/<nodename> OR <somepath>/<nodename> returns nodes with name <nodename> which are descendants of node attestroot
.void
SQLPathTest. testDescendantTestRoot()
Tests if <somepath>/% returns the descendants of <somepath>.void
ElementTest. testElementTest()
Tests the element test without arguments.void
ElementTest. testElementTestAnyNode()
Tests the element test with one any node argument.void
ElementTest. testElementTestAnyNodeNtBase()
Tests the element test with an any node argument and a type argument that matches all nodes (nt:base).void
ElementTest. testElementTestAnyNodeSomeNT()
Tests the element test with an any node argument and a type argument that matches only certain child nodes.void
ElementTest. testElementTestNameTest()
Tests the element test with one single name test argument.void
ElementTest. testElementTestNameTestNtBase()
Tests the element test with a name test argument and a type argument that matches all nodes (nt:base).void
ElementTest. testElementTestNameTestSomeNT()
Tests the element test with a name test argument and a type argument that matches only certain child nodes.void
ElementTest. testElementTestNameTestSomeNTWithSNS()
Tests the element test with a name test argument and a type argument that matches only certain child nodes.void
GetPersistentQueryPathTest. testGetPersistentQueryPath()
Tests ifQuery.getStoredQueryPath()
returns the correct path where the query had been saved.void
QueryResultNodeIteratorTest. testGetPosition()
Tests the methodNodeIterator.getPosition()
.void
QueryResultNodeIteratorTest. testGetPositionEmptyIterator()
Tests the methodNodeIterator.getPosition()
on an emptyNodeIterator
.void
QueryResultNodeIteratorTest. testGetSize()
Tests ifRangeIterator.getSize()
returns the correct size.void
SaveTest. testItemExistsException()
Tests if anItemExistsException
is thrown when a query is stored on an existing node and same name siblings are not allowed.void
SQLJcrPathTest. testJcrPath()
Verify that the jcr:path is present in the query result.void
XPathJcrPathTest. testJcrPath()
Verify that the jcr:path is present in the query result.void
SQLJoinTest. testJoin()
Test a SQL query with a primary and mixin nodetype join.void
SQLJoinTest. testJoinFilterPrimaryType()
Test a SQL query with a primary type and mixin nodetype join.void
SQLJoinTest. testJoinNtBase()
Test a SQL query with a nt:base primary type and mixin nodetype join.void
SQLJoinTest. testJoinSNS()
Test a SQL query with a primary and mixin nodetype join on child nodes with same name siblings.void
SaveTest. testLockException()
Tests if aLockException
is thrown if a query is stored under a node locked by anotherSession
.void
QueryResultNodeIteratorTest. testNoSuchElementException()
Tests if aNoSuchElementException
is thrown whenNodeIterator.nextNode()
is called and there are no more nodes available.void
SaveTest. testPathNotFoundException()
Tests if aPathNotFoundException
is thrown when a query is stored to a non existent path.void
SaveTest. testRepositoryException()
Tests if the aRepositoryException
is thrown when an malformed path is passed inQuery.storeAsNode(String)
.void
SaveTest. testSave()
Stores aQuery.XPATH
query at:testRoot + "/" + nodeName1
.void
SimpleSelectionTest. testSingleProperty()
Verifies that searching for a property from a single node returns only one row and has the searched propertyvoid
QueryResultNodeIteratorTest. testSkip()
Tests ifRangeIterator.skip(long)
works correctly.void
GetLanguageTest. testSQL()
Tests if a SQL query returnsQuery.SQL
when callingQuery.getLanguage()
.void
TextNodeTest. testTextNodeTest()
Tests if text() node test is equivalent with jcr:xmltext.void
TextNodeTest. testTextNodeTestContains()
Tests if text() node test is equivalent with jcr:xmltext and jcr:contains matches content in jcr:xmlcharacters property.void
TextNodeTest. testTextNodeTestMultiNodes()
Tests if text() node test is equivalent with jcr:xmltext and will select multiple nodes with name jcr:xmltext.void
TextNodeTest. testTextNodeTestWithPosition()
Tests text() node test with various position predicates: position(), first(), last().void
SaveTest. testVersionException()
Tests if aVersionException
is thrown when a query is stored under a checked in node. -
Uses of NotExecutableException in org.apache.jackrabbit.test.api.query.qom
Methods in org.apache.jackrabbit.test.api.query.qom that throw NotExecutableException Modifier and Type Method Description void
ChildNodeTest. testChildNodesDoNotMatchSelector()
void
SameNodeTest. testChildNodesDoNotMatchSelector()
void
DescendantNodeTest. testDescendantNodesDoNotMatchSelector()
void
GetQueryTest. testGetQuery()
void
LengthTest. testLengthReferenceLiteral()
void
LengthTest. testLengthWeakReferenceLiteral()
void
BindVariableValueTest. testReference()
void
LengthTest. testReferenceLength()
void
NodeLocalNameTest. testReferenceLiteral()
void
NodeNameTest. testReferenceLiteral()
void
BindVariableValueTest. testWeakReference()
void
LengthTest. testWeakReferenceLength()
void
NodeLocalNameTest. testWeakReferenceLiteral()
void
NodeNameTest. testWeakReferenceLiteral()
-
Uses of NotExecutableException in org.apache.jackrabbit.test.api.retention
-
Uses of NotExecutableException in org.apache.jackrabbit.test.api.security
Methods in org.apache.jackrabbit.test.api.security that throw NotExecutableException Modifier and Type Method Description protected void
AbstractAccessControlTest. checkCanModifyAc(String path)
protected void
AbstractAccessControlTest. checkCanReadAc(String path)
protected static AccessControlManager
AbstractAccessControlTest. getAccessControlManager(Session s)
protected Privilege[]
AbstractAccessControlTest. privilegesFromName(String privilegeName)
protected Privilege[]
AbstractAccessControlTest. privilegesFromNames(String[] privilegeNames)
void
AccessControlListTest. testAddAbstractPrivilege()
void
AccessControlListTest. testAddAccessControlEntry()
void
AccessControlListTest. testAddAccessControlEntryAgain()
void
AccessControlListTest. testAddAccessControlEntryAndSetPolicy()
void
AccessControlListTest. testAddAccessControlEntryEmptyPrivilegeArray()
void
AccessControlListTest. testAddAccessControlEntryInvalidPrincipal()
void
AccessControlListTest. testAddAccessControlEntryInvalidPrivilege()
void
AccessControlListTest. testAddAccessControlEntryIsTransient()
void
AccessControlListTest. testAddAccessControlEntryTwice()
void
AccessControlListTest. testAddAggregatedPrivilegesSeparately()
void
AccessControlListTest. testAddAggregatePrivilege()
void
AccessControlListTest. testAddPrivilegesPresentInEntries()
void
AccessControlDiscoveryTest. testAllPrivilege()
Test the jcr:all privilege.void
AccessControlDiscoveryTest. testAllPrivilegeContainsAll()
void
AccessControlPolicyTest. testApplicablePoliciesAreDistinct()
void
AccessControlPolicyTest. testApplicablePoliciesAreDistintFromSetPolicies()
void
AccessControlListTest. testExtendPrivileges()
void
AccessControlListTest. testGetAccessControlEntries()
void
AccessControlPolicyTest. testGetApplicablePolicies()
void
RSessionAccessControlPolicyTest. testGetApplicablePolicies()
void
AccessControlPolicyTest. testGetEffectivePolicies()
void
AccessControlPolicyTest. testGetEffectivePoliciesForNonExistingNode()
void
AccessControlPolicyTest. testGetEffectivePoliciesForProperty()
void
RSessionAccessControlPolicyTest. testGetEffectivePolicy()
void
AccessControlPolicyIteratorTest. testGetInitialPosition()
void
AccessControlPolicyTest. testGetPolicies()
void
RSessionAccessControlPolicyTest. testGetPolicy()
void
AccessControlPolicyTest. testGetPolicyAfterSave()
void
AccessControlPolicyTest. testGetPolicyAfterSet()
void
AccessControlPolicyIteratorTest. testGetPosition()
void
AccessControlDiscoveryTest. testGetPrivilegesOnProperty()
void
AccessControlPolicyIteratorTest. testGetSize()
void
RSessionAccessControlDiscoveryTest. testHasPrivileges()
void
AccessControlDiscoveryTest. testHasPrivilegesEmptyArray()
void
AccessControlDiscoveryTest. testHasPrivilegesOnProperty()
void
AccessControlPolicyTest. testNodeIsModifiedAfterRemovePolicy()
void
AccessControlPolicyTest. testNodeIsModifiedAfterSecondSetPolicy()
void
AccessControlPolicyTest. testNodeIsModifiedAfterSetPolicy()
void
AccessControlDiscoveryTest. testNotHasPrivileges()
void
RSessionAccessControlDiscoveryTest. testNotHasPrivileges()
void
AccessControlPolicyTest. testNullPolicyOnNewNode()
void
AccessControlListTest. testRemoveAccessControlEntry()
void
AccessControlListTest. testRemoveAccessControlEntryAndSetPolicy()
void
AccessControlListTest. testRemoveAccessControlEntryIsTransient()
void
AccessControlListTest. testRemoveAddedAccessControlEntry()
void
AccessControlListTest. testRemoveIllegalAccessControlEntry()
void
AccessControlPolicyTest. testRemovePolicy()
void
AccessControlPolicyTest. testRemovePolicyIsTransient()
void
AccessControlPolicyTest. testResetPolicy()
void
AccessControlPolicyTest. testSetAllPolicies()
void
AccessControlPolicyTest. testSetIllegalPolicy()
void
RSessionAccessControlPolicyTest. testSetInvalidPolicy()
void
AccessControlPolicyTest. testSetPolicy()
void
RSessionAccessControlPolicyTest. testSetPolicy()
void
AccessControlPolicyTest. testSetPolicyIsTransient()
void
AccessControlPolicyTest. testSetPolicyOnNewNode()
void
AccessControlPolicyIteratorTest. testSkip()
void
AccessControlDiscoveryTest. testWritePrivilege()
Test the jcr:write privilege. -
Uses of NotExecutableException in org.apache.jackrabbit.test.api.version
Methods in org.apache.jackrabbit.test.api.version that throw NotExecutableException Modifier and Type Method Description protected Node
AbstractVersionTest. createVersionableNode(Node parent, String name, NodeType nodetype)
Create a versionable node below the given parent node.void
MergeNodeTest. disable_testMergeLocked()
Tests if aLockException
is thrown when merge is called on a locked node.void
MergeNodeTest. disable_testMergeLockedJcr2()
Tests if aLockException
is thrown when merge is called on a locked node.protected void
MergeActivityTest. initNodes()
initialize a versionable node on default and second workspacevoid
FrozenNodeTest. testFrozenChildUUUID()
void
FrozenNodeTest. testFrozenUUUID()
void
GetReferencesNodeTest. testGetReferencesNeverFromVersions()
Node.getReferences() never returns a reference that is stored in a version.void
RemoveVersionTest. testReferentialIntegrityException()
Checks ifVersionHistory.removeVersion(String)
throws aReferentialIntegrityException
if the named version is still referenced by another node.void
RemoveVersionTest. testRemoveInvalidVersion()
Test if removing a version from the version history throws a VersionException if the specified version does not exist.void
RestoreTest. testRestoreName()
Test the restore of the OPV=Version child nodes.void
RestoreTest. testRestoreNameJcr2()
Test the restore of the OPV=Version child nodes.void
OnParentVersionAbortTest. testRestoreNode()
Test the restore of a OnParentVersion-ABORT nodevoid
OnParentVersionAbortTest. testRestoreNodeJcr2()
Test the restore of a OnParentVersion-ABORT nodevoid
RestoreTest. testRestoreOrder()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2Jcr2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2Jcr2_2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2Jcr2_3()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2Jcr2_4()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrderJcr2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrderJcr2_2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrderJcr2_3()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrderJcr2_4()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreRemovesMixin()
Test that after restore(), a subsequently added mixin type is removedvoid
RestoreTest. testRestoreWithUUIDConflict()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
RestoreTest. testRestoreWithUUIDConflictJcr2()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
RestoreTest. testRestoreWithUUIDConflictJcr2_2()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
RestoreTest. testRestoreWithUUIDConflictJcr2_3()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
RestoreTest. testRestoreWithUUIDConflictJcr2_4()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
WorkspaceRestoreTest. testWorkspaceRestoreWithRemoveExisting()
Test if the removeExisting-flag removes an existing node in case of uuid conflict.void
WorkspaceRestoreTest. testWorkspaceRestoreWithRemoveExistingJcr2()
Test if the removeExisting-flag removes an existing node in case of uuid conflict.void
WorkspaceRestoreTest. testWorkspaceRestoreWithUUIDConflict()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
WorkspaceRestoreTest. testWorkspaceRestoreWithUUIDConflictJcr2()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE. -
Uses of NotExecutableException in org.apache.jackrabbit.test.api.version.simple
Methods in org.apache.jackrabbit.test.api.version.simple that throw NotExecutableException Modifier and Type Method Description protected Node
AbstractVersionTest. createVersionableNode(Node parent, String name, NodeType nodetype)
Create a versionable node below the given parent node.void
FrozenNodeTest. testFrozenChildUUUID()
void
FrozenNodeTest. testFrozenUUUID()
void
RestoreTest. testRestoreName()
Test the restore of the OPV=Version child nodes.void
RestoreTest. testRestoreNameJcr2()
Test the restore of the OPV=Version child nodes.void
RestoreTest. testRestoreOrder()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2Jcr2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2Jcr2_2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2Jcr2_3()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrder2Jcr2_4()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrderJcr2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrderJcr2_2()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrderJcr2_3()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreOrderJcr2_4()
Test the child ordering of restored nodes.void
RestoreTest. testRestoreWithUUIDConflict()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
RestoreTest. testRestoreWithUUIDConflictJcr2()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
RestoreTest. testRestoreWithUUIDConflictJcr2_2()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
RestoreTest. testRestoreWithUUIDConflictJcr2_3()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.void
RestoreTest. testRestoreWithUUIDConflictJcr2_4()
Tests if restoring theVersion
of an existing node throws anItemExistsException
if removeExisting is set to FALSE.
-