|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of NotExecutableException in org.apache.jackrabbit.test |
---|
Methods in org.apache.jackrabbit.test that throw NotExecutableException | |
---|---|
protected void |
AbstractJCRTest.checkSupportedOption(String descriptorKey)
Throws a NotExecutableException if the repository does
not support the feature identified by the given discriptorKey . |
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 with NotExecutableException . |
protected void |
AbstractJCRTest.ensureCanSetProperty(Node node,
String propertyName,
Value value)
Checks that the repository can set the property to the required type, otherwise aborts with NotExecutableException . |
protected void |
AbstractJCRTest.ensureCanSetProperty(Node node,
String propertyName,
Value[] values)
Checks that the repository can set the property to the required type, otherwise aborts with NotExecutableException . |
protected void |
AbstractJCRTest.ensureMultipleWorkspacesSupported()
Checks that the repository supports multiple workspace, otherwise aborts with NotExecutableException . |
Uses of NotExecutableException in org.apache.jackrabbit.test.api |
---|
Methods in org.apache.jackrabbit.test.api that throw NotExecutableException | |
---|---|
protected String |
WorkspaceMoveVersionableTest.getOtherWorkspaceName()
|
protected String |
WorkspaceMoveSameNameSibsTest.getOtherWorkspaceName()
|
protected String |
WorkspaceMoveReferenceableTest.getOtherWorkspaceName()
|
protected String |
WorkspaceCopyVersionableTest.getOtherWorkspaceName()
|
protected String |
WorkspaceCopySameNameSibsTest.getOtherWorkspaceName()
|
protected String |
WorkspaceCopyReferenceableTest.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.testAddMixinReferencable()
Tests if adding mix:referenceable automatically populates the jcr:uuid value. |
void |
NodeAddMixinTest.testAddSuccessfully()
Tests if Node.addMixin(String mixinName) adds the requested
mixin and stores it in property jcr:mixinTypes |
void |
ReferencesTest.testAlterReference()
Tests changing a reference property |
void |
StringPropertyTest.testAsReference()
Tests conversion from String type to Reference type. |
void |
BinaryPropertyTest.testAsReference()
Tests the conversion from Binary type to Reference type. |
void |
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 constraint |
void |
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 constraint |
void |
SetValueValueFormatExceptionTest.testBoolean()
Tests if setValue(boolean) throws a ValueFormatException immediately (not on save) if a conversion fails. |
void |
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 constraint |
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 constraint |
void |
SetValueValueFormatExceptionTest.testCalendar()
Tests if setValue(Calendar) throws a ValueFormatException immediately (not on save) if a conversion fails. |
void |
NodeRemoveMixinTest.testCheckedIn()
Tests if Node.removeMixin(String mixinName) throws a
VersionException if Node is checked-in
The test creates a node nodeName1 of type
testNodeType under testRoot , adds a mixin and
then checks it in. |
void |
NodeCanAddMixinTest.testCheckedIn()
Tests if Node.canAddMixin(String mixinName) throws a
VersionException if Node is checked-in |
void |
NodeAddMixinTest.testCheckedIn()
Tests if Node.addMixin(String mixinName) throws a
VersionException if Node is checked-in. |
void |
WorkspaceCopyBetweenWorkspacesTest.testCopyNodesLocked()
A LockException is thrown if a lock prevents the copy. |
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 |
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 constraint |
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 constraint |
void |
SetValueValueFormatExceptionTest.testDouble()
Tests if setValue(double) throws a ValueFormatException immediately (not on save) if a conversion fails. |
void |
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 constraint |
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 constraint |
void |
SessionReadMethodsTest.testGetAttribute()
Tests if getAttribute(String name) returns not null if the requested attribute is existing |
void |
NodeTest.testGetCorrespondingNodePath()
Creates a node with same path in both workspaces to check if Node.getCorrespondingNodePath(String) works properly. |
void |
NodeTest.testGetCorrespondingNodePathItemNotFoundException()
Calls Node.getCorrespondingNodePath(String) on a node
that has no corresponding node in second workspace |
void |
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 |
PropertyReadMethodsTest.testGetNode()
Tests if Property.getNode() fails with ValueFormatException for multivalued properties. |
void |
NodeReadMethodsTest.testGetNode()
Test if getNode(String relPath) returns the correct node and if a PathNotFoundException is thrown when Node at relPath does not exist |
void |
SessionReadMethodsTest.testGetNodeByUUID()
Tests session.getNodeByUUID() using a valid uuid of a referenceable node |
void |
NodeReadMethodsTest.testGetNodesNamePattern()
Test getNodes(String namePattern) with all possible patterns. |
void |
NodeReadMethodsTest.testGetParent()
Tests if getParent() returns parent node |
void |
PropertyReadMethodsTest.testGetPath()
Tests if getPath() returns the correct path. |
void |
NodeReadMethodsTest.testGetPath()
Tests if getPath() returns the correct path. |
void |
NamespaceRegistryReadMethodsTest.testGetPrefixNamespaceException()
Tests if a NamespaceException is thrown when
NamespaceRegistry.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.testGetProperty()
Test if getProperty(String relPath) returns the correct node and if a PathNotFoundException is thrown when property at relPath does not exist |
void |
NodeReadMethodsTest.testGetReferences()
|
void |
NodeIteratorTest.testGetSize()
Tests if RangeIterator.getSize() returns the correct
size. |
void |
NamespaceRegistryReadMethodsTest.testGetURINamespaceException()
Tests if a NamespaceException is thrown when
NamespaceRegistry.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 referenceable |
void |
PropertyReadMethodsTest.testGetValue()
Tests failure of Property.getValue() method for a multivalue property. |
void |
PropertyReadMethodsTest.testGetValueCopyStoredValues()
Tests if Property.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 if Session.impersonate(Credentials) works properly |
void |
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 |
NodeRemoveMixinTest.testLocked()
Tests if Node.removeMixin(String mixinName) throws a
LockException if Node is locked. |
void |
NodeCanAddMixinTest.testLocked()
Tests if Node.canAddMixin(String mixinName) throws a
LockException if Node is locked |
void |
NodeAddMixinTest.testLocked()
Tests if Node.addMixin(String mixinName) throws a
LockException if Node is locked
The test creates a node nodeName1 of type
testNodeType under testRoot and locks the node
with the superuser session. |
void |
SetValueValueFormatExceptionTest.testLong()
Tests if setValue(long) throws a ValueFormatException immediately (not on save) if a conversion fails. |
void |
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 constraint |
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 constraint |
void |
SessionTest.testMoveLockException()
Calls
|
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 constraint |
void |
SetValueConstraintViolationExceptionTest.testMultipleBooleanProperty()
Tests if setValue(Value[] values) where values are of type BooleanValue throw a ConstraintViolationException if the change would violate a value constraint |
void |
SetValueConstraintViolationExceptionTest.testMultipleDateProperty()
Tests if setValue(Value[] values) where values are of type DateValue throw a ConstraintViolationException if the change would violate a value constraint |
void |
SetValueConstraintViolationExceptionTest.testMultipleDoubleProperty()
Tests if setValue(Value[] values) where values are of type DoubleValue throw a ConstraintViolationException if the change would violate a value constraint |
void |
SetValueConstraintViolationExceptionTest.testMultipleLongProperty()
Tests if setValue(Value[] values) where values are of type LongValue throw a ConstraintViolationException if the change would violate a value constraint |
void |
SetValueConstraintViolationExceptionTest.testMultipleReferenceProperty()
Tests if setValue(Value[] values) where values are of type ReferenceValue throw a ConstraintViolationException if the change would violate a value constraint |
void |
PropertyReadMethodsTest.testMultiValueType()
Tests that all values of a multivalue property have the same property type. |
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 |
SetValueValueFormatExceptionTest.testNode()
Tests if setValue(Node) throws a ValueFormatException immediately (not on save) if the property is not of type REFERENCE. |
void |
SetPropertyAssumeTypeTest.testNodeAssumeTypeOfValue()
Tests if Node.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 |
NodeRemoveMixinTest.testNotAssigned()
Tests if Node.removeMixin(String mixinName) throws a
NoSuchNodeTypeException Node does not have assigned the
requested mixin |
void |
NodeOrderableChildNodesTest.testOrderBeforeInvalidDest()
Tries to reorder child nodes using Node.orderBefore(String, String)
with an invalid destination reference. |
void |
NodeOrderableChildNodesTest.testOrderBeforeInvalidSrc()
Tries to reorder child nodes using Node.orderBefore(String,
String) with an invalid source reference. |
void |
NodeOrderableChildNodesTest.testOrderBeforePlaceAtEndParentSave()
Creates two child nodes, reorders first node to end, uses parentNode's Item.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's Item.save() . |
void |
NodeOrderableChildNodesTest.testOrderBeforeSecondToFirstSessionSave()
Creates two child nodes than reorders second node before first, saves using Session.save() . |
void |
NodeOrderableChildNodesTest.testOrderBeforeUnsupportedRepositoryOperationException()
Tries to reorder on a node using Node.orderBefore(String, String)
that does not support child reordering. |
void |
ReferenceableRootNodesTest.testReferenceableRootNode()
A repository implementation may make its workspace root nodes mix:referenceable. |
void |
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 constraint |
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 constraint |
void |
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 Node |
void |
SetValueBinaryTest.testRemoveBinarySession()
Test the deletion of a property by assigning it a null value, saved from the Session |
void |
NodeTest.testRemoveNodeLockedItself()
Tests if Node.remove() does not throw a
LockException if Node is locked. |
void |
NodeTest.testRemoveNodeParentLocked()
Tests if Node.remove() throws a LockException
if the parent node of Node is locked. |
void |
NodeRemoveMixinTest.testRemoveSuccessfully()
Tests if Node.removeMixin(String mixinName) removes the
requested mixin properly |
void |
SessionUUIDTest.testSaveMovedRefNode()
Moves a referencable node using Session.move(String, String) with one session and
saves afterward changes made with a second session to the moved node using Session.save() . |
void |
NodeUUIDTest.testSaveMovedRefNode()
Moves a referencable node using Session.move(String,
String) with one session and saves afterward changes made with a second
session to the moved node using Item.save() . |
void |
SessionUUIDTest.testSaveReferentialIntegrityException()
Tries to remove a node that is a reference target using Session.save() . |
void |
NodeUUIDTest.testSaveReferentialIntegrityException()
Tries to remove a node that is a reference target using Item.save() . |
void |
SetValueValueFormatExceptionTest.testString()
Tests if setValue(String) throws a ValueFormatException immediately (not on save) if a conversion fails. |
void |
SetPropertyAssumeTypeTest.testString()
Tests if Node.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.testStringArray()
Tests if setValue(String[]) throws a ValueFormatException immediately (not on save) if a conversion fails. |
void |
SetPropertyAssumeTypeTest.testStringConstraintViolationExceptionBecauseOfInvalidTypeParameter()
Tests if Node.setProperty(String, String, int) throws a
ConstraintViolationException if the type parameter and the type of the
property do not match. |
void |
NodeTest.testUpdate()
Checks if Node.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 calling Node.update(String) after node has
changed in first workspace but not been saved yet. |
void |
SetValueValueFormatExceptionTest.testValue()
Tests if setValue(Value) throws a ValueFormatException immediately (not on save) if a conversion fails. |
void |
SetPropertyAssumeTypeTest.testValue()
Tests if Node.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.testValueArray()
Tests if setValue(Value[]) throws a ValueFormatException immediately (not on save) if a conversion fails. |
void |
SetPropertyAssumeTypeTest.testValueAssumeTypeOfValue()
Tests if Node.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 if Node.setProperty(String, Value, int) throws a
ConstraintViolationException if the type parameter and the type of the
property do not match. |
void |
SetPropertyAssumeTypeTest.testValues()
Tests if Node.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 if Node.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 if Node.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 | |
---|---|
void |
LockTest.testCheckedIn()
Test if it is possible to lock and unlock a checked-in node. |
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 | |
---|---|
void |
PredefinedNodeTypeTest.testActivity()
Test for the predefined nt:activity node type. |
void |
PredefinedNodeTypeTest.testBase()
Test for the predefined nt:base node type. |
void |
PredefinedNodeTypeTest.testChildNodeDef()
Test for the predefined nt:childNodeDef node type. |
void |
PredefinedNodeTypeTest.testConfiguration()
Test for the predefined nt:configuration node type. |
void |
CanSetPropertyStringTest.testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertable to StringValue. |
void |
CanSetPropertyPathTest.testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to PathValue. |
void |
CanSetPropertyNameTest.testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to NameValue. |
void |
CanSetPropertyLongTest.testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to LongValue. |
void |
CanSetPropertyDoubleTest.testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to DoubleValue. |
void |
CanSetPropertyDateTest.testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to DateValue. |
void |
CanSetPropertyBooleanTest.testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to BooleanValue. |
void |
CanSetPropertyBinaryTest.testConversions()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns true if value and its type are convertible to BinaryValue. |
void |
CanSetPropertyStringTest.testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to StringValue. |
void |
CanSetPropertyPathTest.testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to PathValue. |
void |
CanSetPropertyNameTest.testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to NameValue. |
void |
CanSetPropertyLongTest.testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to LongValue. |
void |
CanSetPropertyDoubleTest.testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to DoubleValue. |
void |
CanSetPropertyDateTest.testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to DateValue. |
void |
CanSetPropertyBooleanTest.testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to BooleanValue. |
void |
CanSetPropertyBinaryTest.testConversionsMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns true if all values and its types are convertible to BinaryValue. |
void |
CanAddChildNodeCallWithNodeTypeTest.testDefinedAndIllegalType()
Tests if NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName does and nodeTypeName
does not match the NodeDef . |
void |
CanAddChildNodeCallWithNodeTypeTest.testDefinedAndLegalType()
Tests if NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true if childNodeName and nodeTypeName
match the NodeDef . |
void |
CanAddChildNodeCallWithoutNodeTypeTest.testDefinedWithDefault()
Tests if NodeType.canAddChildNode(String childNodeName) returns
true if NodeType contains a NodeDef named
childNodeName with a default primary type. |
void |
CanAddChildNodeCallWithoutNodeTypeTest.testDefinedWithoutDefault()
Tests if NodeType.canAddChildNode(String childNodeName) returns
true if NodeType contains a NodeDef named
childNodeName 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 defined |
void |
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 |
PropertyDefTest.testIsMandatory()
This test checks if item definitions with mandatory constraints are respected. |
void |
NodeDefTest.testIsMandatory()
This test checks if item definitions with mandatory constraints are respected. |
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 if NodeType.canRemoveItem(String itemName) removes
false if itemName is a mandatory child node. |
void |
CanRemoveItemTest.testMandatoryProperty()
Tests if NodeType.canRemoveItem(String itemName) removes
false if itemName is a mandatory property. |
void |
CanSetPropertyMultipleTest.testMultipleValuesNull()
Tests if canSetProperty(String propertyName, Value[] values) where values is null returns the same as canRemoveItem |
void |
PredefinedNodeTypeTest.testNodeType()
Test for the predefined nt:nodeType node type. |
void |
PredefinedNodeTypeTest.testPropertyDef()
Test for the predefined nt:propertyDef node type. |
void |
CanRemoveItemTest.testProtectedChildNode()
Tests if NodeType.canRemoveItem(String itemName) removes
false if itemName is a protected child node. |
void |
CanRemoveItemTest.testProtectedProperty()
Tests if NodeType.canRemoveItem(String itemName) removes
false if itemName 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 if NodeType.canRemoveItem(String itemName) removes
true if itemName is nor a protected nor a mandatory
child node. |
void |
CanRemoveItemTest.testRemovableProperty()
Tests if NodeType.canRemoveItem(String itemName) removes
true if itemName is nor a protected nor a mandatory
property. |
void |
CanAddChildNodeCallWithNodeTypeTest.testResidualAndIllegalType()
Tests if NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName does not match the NodeDef
and nodeTypeName does not matches the node type of a residual
NodeDef . |
void |
CanAddChildNodeCallWithNodeTypeTest.testResidualAndLegalType()
Tests if NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true if childNodeName does not match the NodeDef
but nodeTypeName matches the node type of a residual NodeDef . |
void |
CanAddChildNodeCallWithoutNodeTypeTest.testResidualWithDefault()
Tests if NodeType.canAddChildNode(String childNodeName) returns
true if NodeType contains a residual NodeDef
with a default primary type. |
void |
CanAddChildNodeCallWithoutNodeTypeTest.testResidualWithoutDefault()
Tests if NodeType.canAddChildNode(String childNodeName) returns
true if NodeType contains a residual NodeDef
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 multiple |
void |
CanSetPropertyMultipleTest.testReturnFalseBecauseIsNotMultiple()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) returns false if the property is not multiple |
void |
CanSetPropertyTest.testReturnFalseBecauseIsProtected()
Tests if NodeType.canSetProperty(String propertyName, Value value) returns false if the property is protected. |
void |
CanSetPropertyMultipleTest.testReturnFalseBecauseIsProtected()
Tests if NodeType.canSetProperty(String propertyName, Value[] values) 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 |
CanAddChildNodeCallWithoutNodeTypeTest.testUndefined()
Tests if NodeType.canAddChildNode(String childNodeName) returns
true if NodeType nor does contain a NodeDef named
childNodeName nor a residual definition. |
void |
CanAddChildNodeCallWithNodeTypeTest.testUndefined()
Tests if NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName does not match the NodeDef . |
void |
PredefinedNodeTypeTest.testUnstructured()
Test for the predefined nt:unstructured node type. |
void |
CanSetPropertyStringTest.testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property def |
void |
CanSetPropertyPathTest.testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property def |
void |
CanSetPropertyNameTest.testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property def |
void |
CanSetPropertyLongTest.testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property def |
void |
CanSetPropertyDoubleTest.testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satsfy the value constraints of the property def |
void |
CanSetPropertyDateTest.testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not match the value constraints of the property def |
void |
CanSetPropertyBooleanTest.testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property def |
void |
CanSetPropertyBinaryTest.testValueConstraintNotSatisfied()
Tests if canSetProperty(String propertyName, Value value) returns false if value does not satisfy the value constraints of the property def |
void |
CanSetPropertyStringTest.testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property def |
void |
CanSetPropertyPathTest.testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property def |
void |
CanSetPropertyNameTest.testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property def |
void |
CanSetPropertyLongTest.testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property def |
void |
CanSetPropertyDoubleTest.testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property def |
void |
CanSetPropertyDateTest.testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property def |
void |
CanSetPropertyBooleanTest.testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property def |
void |
CanSetPropertyBinaryTest.testValueConstraintNotSatisfiedMultiple()
Tests if canSetProperty(String propertyName, Value[] values) returns false if values do not satisfy the value constraints of the property def |
void |
CanSetPropertyTest.testValueNull()
Tests if canSetProperty(String propertyName, Value value) where value is null returns the same as canRemoveItem |
void |
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 | |
---|---|
void |
EventIteratorTest.testGetSize()
Tests if getSize() returns the correct number of events. |
void |
NodeReorderTest.testNodeReorder()
Tests if reordering a child node triggers a Event.NODE_REMOVED
and a Event.NODE_ADDED event. |
void |
NodeReorderTest.testNodeReorderSameName()
Tests if reordering a child node triggers a Event.NODE_REMOVED
and a Event.NODE_ADDED event with same name siblings. |
void |
NodeReorderTest.testNodeReorderSameNameWithRemove()
Tests if reordering a child node triggers a Event.NODE_REMOVED
and a Event.NODE_ADDED event with same name siblings. |
void |
PropertyChangedTest.testPropertyRemoveCreate()
Tests if either a Event.PROPERTY_CHANGED
Event.PROPERTY_REMOVED and Event.PROPERTY_ADDED
is triggered if a property is transiently removed and set again with
the same name but different type and then saved. |
void |
AddEventListenerTest.testUUID()
Tests if events are only generated for specified UUIDs. |
Uses of NotExecutableException in org.apache.jackrabbit.test.api.query |
---|
Methods in org.apache.jackrabbit.test.api.query that throw NotExecutableException | |
---|---|
protected void |
AbstractQueryTest.evaluateResultOrder(QueryResult queryResult,
String propName,
boolean descending)
Checks if the QueryResult is ordered according order property in
direction of related argument. |
protected void |
AbstractQueryLevel2Test.setUpMultiValueTest()
Creates three nodes with names: AbstractJCRTest.nodeName1 , AbstractJCRTest.nodeName2
and AbstractJCRTest.nodeName3 . |
void |
SaveTest.testConstraintViolationException()
Tests if a ConstraintViolationException 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 |
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 if Query.getStoredQueryPath() returns the correct path
where the query had been saved. |
void |
QueryResultNodeIteratorTest.testGetSize()
Tests if RangeIterator.getSize() returns the correct
size. |
void |
SaveTest.testItemExistsException()
Tests if an ItemExistsException is thrown when a query
is stored on an existing node and same name siblings are not allowed. |
void |
XPathJcrPathTest.testJcrPath()
Verify that the jcr:path is present in the query result. |
void |
SQLJcrPathTest.testJcrPath()
Verify that the jcr:path is present in the query result. |
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 a LockException is thrown if a query is
stored under a node locked by another Session . |
void |
SaveTest.testPathNotFoundException()
Tests if a PathNotFoundException is thrown when a query
is stored to a non existent path. |
void |
SaveTest.testRepositoryException()
Tests if the a RepositoryException is thrown when
an malformed path is passed in Query.storeAsNode(String) . |
void |
SaveTest.testSave()
Stores a Query.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 property |
void |
TextNodeTest.testTextNodeTestWithPosition()
Tests text() node test with various position predicates: position(), first(), last(). |
void |
SaveTest.testVersionException()
Tests if a VersionException is thrown when a
query is stored under a checked in node. |
Uses of NotExecutableException in org.apache.jackrabbit.test.api.version |
---|
Methods in org.apache.jackrabbit.test.api.version that throw NotExecutableException | |
---|---|
void |
MergeNodeTest.disable_testMergeLocked()
Tests if a LockException is thrown when merge is called on a
locked node. |
void |
GetReferencesNodeTest.testGetReferencesNeverFromVersions()
Node.getReferences() never returns a reference that is stored in a version. 1. |
void |
RemoveVersionTest.testReferentialIntegrityException()
Checks if VersionHistory.removeVersion(String)
throws a ReferentialIntegrityException 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 |
OnParentVersionAbortTest.testRestoreNode()
Test the restore of a OnParentVersion-ABORT node |
void |
RestoreTest.testRestoreWithUUIDConflict()
Tests if restoring the Version of an existing node throws an
ItemExistsException 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.testWorkspaceRestoreWithUUIDConflict()
Tests if restoring the Version of an existing node throws an
ItemExistsException if removeExisting is set to FALSE. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |