|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
AbstractMergeTest
is the abstract base class for all merge
related test classes.AbstractObservationTest.setUp()
and AbstractJCRTest.tearDown()
methods for the observation test cases.AbstractOnParentVersionTest
: the abstract base class for
all tests related to OnParentVersion issues.AbstractVersionTest
is the abstract base class for all
versioning related test classes.AddNodeTest
contains the test cases for the method
Node.addNode(String, String)
.throwable
is not of type
NotExecutableException
.
EventListener
for all events.
EventListener
for events of the specified
type(s).
Base64
provides Base64 encoding/decoding of strings and streams.NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true if a node of name childNodeName
and of node type
childNodeName
could be added to a node of type NodeType
.NodeType.canAddChildNode(String childNodeName)
returns true if
a node of name childNodeName
could be added to a node of
type NodeType
.NodeType.canRemoveItem(String itemName)
returns true if a
node or property is removableNodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Binary.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Boolean.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Date.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Double.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Long.NodeType.canSetProperty(String propertyName, Value[]
values)
NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type Name.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyNa me,
Value[] values)
where property is of type Path.NodeType.canSetProperty(String propertyName, Value
value)
and NodeType.canSetProperty(String propertyName, Value[]
values)
where property is of type String.NodeType.canSetProperty(String propertyName, Value
value)
Session.checkPermission(String, String)
yields the correct
permissions for a read-only session and a 'superuser' session.CheckinTest
covers tests related to Node.checkin()
.CheckoutTest
covers tests related to Node.checkout()
and Node.isCheckedOut()
.ImportUUIDBehavior.IMPORT_UUID_CREATE_NEW
i.e.
Events
for paths.
Events
for paths.
Events
for paths.
Events
for paths.
Events
for paths.
result
contains a number of
hits
.
result
contains a number of hits
and properties
.
nodes
.
Query
for a given Statement
.
Query
for the given statement in the requested
language
String
with a random sequence of characters
using 'a' - 'z'.
DocumentViewImportTest
Tests importXML and
getImportContentHandler methods of the Workspace and Session class.LockException
is thrown when merge is called on a
locked node.
RangeIterator.getSize()
RangeIterator.getPosition()
RangeIterator.skip(long)
Configuration requirements are:AbstractJCRTest.testRoot
must allow child nodes of type AbstractJCRTest.testNodeType
.Event
retrieval with an
EventListener
.EventResult
.
Event
interface.ExportDocViewTest
tests the two Session methods :
Session.exportDocumentView(String, ContentHandler, boolean, boolean)
and Session.exportDocumentView(String, java.io.OutputStream, boolean, boolean)
against the required behaviours according the document view xml mapping
defined in the JSR 170 specification in chapter 6.4.2, 6.4.3 and 6.4.4 .ExportSysViewTest
tests the SysView Export of a tree given by a
node path.OutputStream
.
OutputStream
.
OutputStream
.
QueryResult
is ordered according order property in
direction of related argument.
Query
for the given Statement
Query
for a given Statement in a given
query language
sql
query and checks the results against
the specified nodes
.
xpath
query and checks the results against
the specified nodes
.
Calendar
value into an ISO8601-compliant
date/time string.
GetContainingHistoryTest
provides test methods covering Version.getContainingHistory()
.GetCreatedTest
provides test methods covering Version.getCreated()
.Query.getLanguage()
.Query.getStoredQueryPath()
.Query.getStoredQueryPath()
.GetPredecessorsTest
provides test methods covering Version.getPredecessors()
.GetReferencesNodeTest
contains test to check if references are
returned from versions.ObservationManager.getRegisteredEventListeners()
.Query.getStatement()
.QueryManager.getSupportedQueryLanguages()
.GetVersionableUUIDTest
provides test methods covering VersionHistory.getVersionableUUID()
.session
.
propName
.
name
.
name
.
PropertyType.BINARY
.
PropertyType.BOOLEAN
.
PropertyType.DATE
.
PropertyType.DOUBLE
.
PropertyType.LONG
.
PropertyType.NAME
.
PropertyType.PATH
.
PropertyType.REFERENCE
.
PropertyType.STRING
.
Credentials
object, that can be used to login
to the Repository
returned by RepositoryStub.getRepository()
.
Session
of the default workspace with read only
access to the workspace.
Session
of the workspace with name
workspaceName
with read only access to the workspace.
Credentials
object, that can be used to login
to the Repository
returned by RepositoryStub.getRepository()
.
Session
of the default workspace with read and
write access to the workspace.
Session
of the workspace with name
workspaceName
with read and write access to the workspace.
Repository
provided by this
RepositoryStub
.
Repository
provided by this
RepositoryStub
.
RangeIterator
it
.
Credentials
object, that can be used to login
to the Repository
returned by RepositoryStub.getRepository()
.
Session
of the default workspace.
Session
of the workspace with name
workspaceName
.
PropertyDefinition
ISO8601
utility class provides helper methods
to deal with date/time formatting using a specific ISO8601-compliant
format (see ISO 8601).Session.impersonate(Credentials)
to a read-only session
respects access controls.orig
.
RepositoryStub
and uses JNDI
to obtain a javax.jcr.Repository
instance.LockTest
contains the test cases for the lock support in
the JCR specification.Writer
or a Logger
.LogPrintWriter
which is based on a
Writer
.
LogPrintWriter
which is based on a
Logger
.
MergeCancelMergeTest
contains tests dealing with nodes on which
cancelMerge is called.MergeCheckedoutSubNodeTest
contains tests dealing with
checked-out nodes in the subtree of the node on which merge is called.MergeDoneMergeTest
contains test dealing with nodes on which
doneMerge is called.MergeNodeIteratorTest
tests if Node.merge(String, boolean) if
bestEffort is true returns a NodeIterator over all versionalbe nodes in the
subtree that received a merge result of fail.MergeNodeTest
contains tests dealing with general merge node
calls.MergeNonVersionableSubNodeTest
contains test dealing with
nonversionable nodes in the subtree of the node on which merge is called.MergeSubNodeTest
contains tests dealing with sub nodes in the
subtree of the node on which merge is called.NamespaceRegistryReadMethodsTest
This class tests read method of the
NamespaceRegistry class and also the correct Exception throwing for methods
not supported in level 1.NamespaceRegistryTest
tests whether the repository registers and
unregisters namespaces correctly.NamespaceRemappingTest
tests transient namespace remapping.NodeAddMixinTest
contains the test cases for the method
Node.AddMixin(String)
.javax.jcr.observation.Event.NODE_ADDED
events.NodeCanAddMixinTest
contains the test cases for the method
Node.canAddMixin(String)
.Item.isModified()
on a node.Item.isNew()
on a node.NodeIterator
implementation.Session.move(java.lang.String, java.lang.String)
operations trigger the appropriate
observation events.NodeOrderableChildNodesTest
contains all node writing tests (LEVEL 2) that require a node
that allows child node ordering (tests therefore are optional).Node
interface on
a level 1 repository.NodeRemoveMixinTest
contains the test cases for the method
Node.removeMixin(String)
.javax.jcr.observation.Event.NODE_REMOVED
events.Node.orderBefore(String, String)
operations trigger
the appropriate observation events.NodeTest
contains all test cases for the
javax.jcr.Node
that are related to writing, modifing or deleting
nodes (level 2 of the specification).NodeTypeManager
properly returns primary types an mixin
types.NodeType
.NodeUUIDTest
contains all tests for the
javax.jcr.Node
class that require a UUID (and therefore are
optional).NotExecutableException
without a message.
NotExecutableException
with a detailed message.
OnParentVersionAbortTest
tests the OnParentVersion ABORT
behaviour.OnParentVersionComputeTest
tests the OnParentVersion COMPUTE
behaviour.OnParentVersionCopyTest
tests the OnParentVersion COPY
behaviour.OnParentVersionIgnoreTest
tests the OnParentVersion IGNORE
behaviour.OnParentVersionInitializeTest
tests the INITIALIZE
behaviour.ObservationManager
PredefinedNodeTypeTest
tests if the predefined node types are
implemented correctly.javax.jcr.observation.Event.PROPERTY_ADDED
events.javax.jcr.observation.Event.PROPERTY_CHANGED
events.Item.isModified()
on a property.Item.isNew()
on a property.PropertyReadMethodsTest
...javax.jcr.observation.Event.PROPERTY_REMOVED
events.PropertyTest
contains all test cases for the
javax.jcr.Property
that are related to writing, modifing or
deleting properties (level 2 of the specification).NodeIterator
returned by
QueryResult.getNodes()
.ReferenceableRootNodesTest
contains tests with referenceable
nodes between different workspaces.ReferencesTest
contains the test cases for the references.RemoveVersionTest
provides test methods covering VersionHistory.removeVersion(String)
.Session
instances.repositoryStubImpl.properties
file.
RepositoryLoginTest
tests the login methods of a repository.RepositoryStub
is the entry point to the JCR Repository
for the TCK Test harness.RestoreTest
covers tests related to the restore methods available
on Node
:
Node.restore(String, boolean)
Node.restore(javax.jcr.version.Version, boolean)
Node.restore(javax.jcr.version.Version, String, boolean)
EventListener
from the ObservationManager.
testResult
.
AbstractJCRTest.propertyName1
.Query.storeAsNode(String)
.SerializationTest
contains the test cases for the method
Workspace.exportSysView()
and Session.importSysView()
.SessionMoveVersionExceptionTest
contains tests dealing with
moving nodes using Session.move(String, String)
.SessionReadMethodsTest
...SessionTest
contains all test cases for the
javax.jcr.Session
class that are level 2 (modifing repository
content).SessionUUIDTest
contains all tests for the Session
class that require a UUID (and therefore are optional).SetPropertyAssumeTypeTest
tests if when setting a property
of type PropertyType.UNDEFINED
the type is assumed correctly.SetPropertyBooleanTest
tests the Node.setProperty(String,
boolean)
methodSetPropertyCalendarTest
tests the Node.setProperty(String,
Calendar)
methodSetPropertyConstraintViolationExceptionTest
tests if
setProperty() throws a ConstraintViolationException either immediately (by
setValue()) or on save, if the change would violate a value constraint.SetPropertyDoubleTest
tests the Node.setProperty(String,
double)
methodSetPropertyInputStreamTest
tests the Node.setProperty(String,
InputStream)
methodSetPropertyLongTest
tests the Node.setProperty(String,
long)
methodSetPropertyNodeTest
tests the Node.setProperty(String,
Node)
methodSetPropertyStringTest
tests the methods
Node.setProperty(String, String)
, Node.setProperty(String,
String[])
and Node.setProperty(String, String[], int)
SetPropertyValueTest
tests the methods Node.setProperty(String,
Value)
, Node.setProperty(String, Value[])
and
Node.setProperty(String, Value[], int)
Property.setValue(Value)
methods.Property.setValue(Value)
methods.SetValueConstraintViolationExceptionTest
tests if setValue()
throws a ConstraintViolationException either immediately (by setValue()) or
on save, if the change would violate a value constraint.Property.setValue(Value)
methods.Property.setValue(Value)
methods.SetValueLockExceptionTest
Tests throwing of a LockException for the
Property.setValue() methods in case the parentNode of the given property is locked.Property.setValue(Value)
methods.Property.setValue(Value)
methods.Property.setValue(Value)
methods.SetValueValueFormatExceptionTest
tests if Property.setValue() throws
a ValueFormatException if a best-effort conversion fails.SetValueVersionExceptionTest
...SimpleSelectionTest
...StringPropertyTest
tests a String property against the
conversions to other Properties (except Name and Path property).Logger
.
Logger
instance currently set in this LogPrintWriter
.
AbstractJCRTest.nodeName1
and AbstractJCRTest.nodeName2
with nodetype AbstractJCRTest.testNodeType
.
AbstractJCRTest.nodeName1
, AbstractJCRTest.nodeName2
and AbstractJCRTest.nodeName3
.
AbstractJCRTest.nodeName1
, AbstractJCRTest.nodeName2
and AbstractJCRTest.nodeName3
.
Writer
.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
Test
suite that executes all tests inside this
package.
TckTestRunner
class implements the TestListener
interface.javax.jcr
.javax.jcr.lock
.javax.jcr.nodetype
.javax.jcr.query
.javax.jcr.util
.javax.jcr.version
.TestFinder
class is responsible to find all TestCase
s which are
in a jar.TestResult
class is just a helper class to store test results.Tester
starts the all tests and saves all tests.NamespaceRegistryReadMethodsTest.setUp()
.
NodeDiscoveringNodeTypesTest.setUp()
.
NodeReadMethodsTest.setUp()
.
PropertyReadMethodsTest.setUp()
.
ReferenceableRootNodesTest.setUp()
.
RepositoryDescriptorTest.setUp()
.
RootNodeTest.setUp()
.
SessionReadMethodsTest.setUp()
.
SetValueValueFormatExceptionTest.setUp()
.
SetValueVersionExceptionTest.setUp()
.
CanAddChildNodeCallWithNodeTypeTest.setUp()
.
CanAddChildNodeCallWithoutNodeTypeTest.setUp()
.
CanRemoveItemTest.setUp()
.
CanSetPropertyBinaryTest.setUp()
.
CanSetPropertyBooleanTest.setUp()
.
CanSetPropertyDateTest.setUp()
.
CanSetPropertyDoubleTest.setUp()
.
CanSetPropertyLongTest.setUp()
.
CanSetPropertyMultipleTest.setUp()
.
CanSetPropertyNameTest.setUp()
.
CanSetPropertyPathTest.setUp()
.
CanSetPropertyStringTest.setUp()
.
CanSetPropertyTest.setUp()
.
NodeDefTest.setUp()
.
NodeTypeManagerTest.setUp()
.
NodeTypeTest.setUp()
.
PredefinedNodeTypeTest.setUp()
.
PropertyDefTest.setUp()
.
ItemVisitor
.
VersionHistory.accept(ItemVisitor)
accepts a
ItemVisitor and if the right Node is provided to that visitor.
Version.accept(ItemVisitor)
accepts a ItemVisitor
and if the right Node is provided to that visitor.
VersionHistory.addMixin(String)
throws a ConstraintViolationException
Version.addMixin(String)
throws a ConstraintViolationException
VersionHistory.addNode(String)
and
VersionHistory.addNode(String, String)
throw a ConstraintViolationException
Version.addNode(String)
and
Version.addNode(String, String)
throw a ConstraintViolationException
Node.addNode(String)
as a
child of a property.ConstraintViolationException
.
Node.addNode(String)
where
node type can not be determined by parent (nt:base
is used
as parent nodetype).
Node.addNode(String,
String)
at a location where there is already a node with same name and
the parent does not allow same name siblings.
Node.addNode(String)
and
Node.addNode(String,String)
, saves using Item.save()
on parent node.
Node.addNode(String)
, saves using
Item.save()
on parent node.
Node.addNode(String)
to a non
existing destination node.
Node.addNode(String)
with an
index for the new name.
Node.addNode(String)
and
Node.addNode(String, String)
, then tries to call
Item.save()
on the new nodes.
Node.addNode(String)
, then tries to call
Item.save()
on the newly node.
Node.addNode(String)
and
Node.addNode(String, String)
, saves using
Session.save()
.
Node.addNode(String)
, saves using
Session.save()
.
Node.addMixin(String mixinName)
throws a
NoSuchNodeTypeException
if mixinName
is not the
name of an existing mixin node type
Node.addMixin(String mixinName)
adds the requested
mixin and stores it in property jcr:mixinTypes
VersionHistory.canAddMixin(String)
returns
false
Version.canAddMixin(String)
returns
false
VersionHistory.cancelMerge(Version)
throws an
UnsupportedRepositoryOperationException
Version.cancelMerge(Version)
throws an UnsupportedRepositoryOperationException
Session.checkPermission(String, String)
works
properly: Returns quietly if access is permitted.
Throws an AccessControlException
if access is
denied.
Node.addMixin(String mixinName)
throws a
VersionException
if Node
is checked-in.
Node.canAddMixin(String mixinName)
throws a
VersionException
if Node
is checked-in
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.
VersionHistory.checkin()
throws an UnsupportedRepositoryOperationException
Version.checkin()
throws an UnsupportedRepositoryOperationException
VersionHistory.checkout()
throws an UnsupportedRepositoryOperationException
Version.checkout()
throws an UnsupportedRepositoryOperationException
Node.setProperty(String, Value[])
correctly compacts
the value array by removing all null values
ConstraintViolationException
is
thrown if a query is stored under a node which does not allow child nodes.
Workspace.copy(String, String)
triggers
the correct events.
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName
does and nodeTypeName
does not match the NodeDef
.
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true if childNodeName
and nodeTypeName
match the NodeDef
.
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
contains a NodeDef
named
childNodeName
with a default primary type.
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
contains a NodeDef
named
childNodeName
without a default primary type.
testroot
.
first()
function.
last()
function.
position()
function.
VersionHistory.doneMerge(Version)
throws an UnsupportedRepositoryOperationException
Version.doneMerge(Version)
throws an UnsupportedRepositoryOperationException
Test
failed.
AbstractQueryLevel2Test.setUpFullTextTest()
.
VersionHistory.getAllVersions()
returns an iterator
containing the root version and all versions that have been created by
Node.checkin().
VersionHistory.getAncestor(int)
returns the right
ancestor
Version.getAncestor(int)
returns the right
ancestor
Node
, throws an ItemNotFoundException
.
Property
, throws an ItemNotFoundException
.
Item
, returns this Property
itself.
ItemNotFoundException
.
ItemNotFoundException
.
Item
, returns this Node
itself.
VersionHistory.getBaseVersion()
throws an UnsupportedRepositoryOperationException
Version.getBaseVersion()
throws an UnsupportedRepositoryOperationException
Version.getContainingHistory()
returns
the correct VersionHistory instance.
Node.getCorrespondingNodePath(String)
works properly.
VersionHistory.getCorrespondingNodePath(String)
returns the right path
Version.getCorrespondingNodePath(String)
returns
the right path
Node.getCorrespondingNodePath(String)
on a node
that has no corresponding node in second workspace
Node.getCorrespondingNodePath(String )
with a non
existing workspace.
VersionHistory.getDepth()
returns the right depth
Version.getDepth()
returns the right depth
Repository.getDescriptorKeys()
returns all required
descriptors keys.
VersionHistory.getIndex()
returns the right index
Version.getIndex()
returns the right index
Query.XPATH
when calling
Query.getLanguage()
.
VersionHistory.getLock()
throws an LockException
Version.getLock()
throws a LockException
VersionHistory.getMixinNodeTypes()
does not return
null.
Version.getMixinNodeTypes()
does not return null.
VersionHistory.getName()
returns the right name
Version.getName()
returns the right name
NamespaceRegistry.getPrefixes()
returns the
required namespace prefixes and if they are mapped to the correct URIs.
Session.getNamespacePrefixes()
returns
all prefixes currently set for this session, including all those
registered in the NamespaceRegistry but not over-ridden by a
Session.setNamespacePrefix, plus those currently set locally by
Session.setNamespacePrefix.
NamespaceRegistry.getURIs()
returns the
required namespace URIs and if they are mapped to the correct prefixes.
VersionHistory.getNode(String)
returns the right
child Node
Version.getNode(String)
returns the right child
Node
VersionHistory.getNodes()
and
VersionHistory.getNodes(String)
returns the right child
Node
Version.getNodes()
and Version.getNodes(String)
returns the right child Node
VersionHistory.getParent()
returns the right parent
Node
Version.getParent()
returns the right parent Node
VersionHistory.getPath()
returns the right path
Version.getPath()
returns the right path
Query.getStoredQueryPath()
returns the correct
path where the query had been saved.
RangeIterator.getPosition()
return correct values.
NodeIterator.getPosition()
.
NodeIterator.getPosition()
on an empty
NodeIterator
.
NamespaceException
is thrown when
NamespaceRegistry.getPrefix(String)
is called for an
unknown URI.
VersionHistory.getPrimaryItem()
throws a ItemNotFoundException
Version.getPrimaryItem()
throws a ItemNotFoundException
VersionHistory.getPrimaryNodeType()
returns the
right primary node type nt:versionHistory
Version.getPrimaryNodeType()
returns the right
primary node type nt:version
VersionHistory.getProperties()
and
VersionHistory.getProperties(String)
return the right
property
Version.getProperties()
and
Version.getProperties(String)
return the right property
VersionHistory.getProperty(String)
returns the
right property
Version.getProperty(String)
returns the right
property
VersionHistory.getReferences()
returns the right
reference of the versionable node
VersionHistory.getSession()
returns the right
session
Version.getSession()
returns the right session
RangeIterator.getSize()
returns the correct
size.
RangeIterator.getSize()
returns the correct
size.
Query.getStatement()
is equal
to the one passed in createQuery().
ItemNotFoundException
when Query.getStoredQueryPath()
is called.
Query.XPATH
with
QueryManager.getSupportedQueryLanguages()
.
NamespaceException
is thrown when
NamespaceRegistry.getURI(String)
is called for an
unknown prefix.
VersionHistory.getUUID()
returns the right UUID
Version.getUUID()
returns the right UUID
Event.getUserID()
returns the same
value as Session.getUserID()
.
Property.getValues()
returns an array that is a copy
of the stored values, so changes to it are not reflected in internal storage.
VersionHistory.getVersionHistory()
throws an UnsupportedRepositoryOperationException
Version.getVersionHistory()
throws an UnsupportedRepositoryOperationException
VersionHistory.hasNode(String)
returns the right
boolean
value
Version.hasNode(String)
returns the right
boolean
value
VersionHistory.hasNodes()
returns
true
Version.hasNodes()
returns true
Session.hasPendingChanges()
works
properly.javax.jcr.tck.nodetype
must accept
children of same nodetype javax.jcr.tck.propertyname1
must be the name of a String property that can be added to a node of type
set in javax.jcr.tck.nodetype
VersionHistory.hasProperties()
returns
true
Version.hasProperties()
returns true
VersionHistory.hasProperty(String)
returns the
right boolean
value
Version.hasProperty(String)
returns the right
boolean
value
VersionHistory.holdsLock()
returns
false
Version.holdsLock()
returns false
nt:base
Session.impersonate(Credentials)
works properly
VersionHistory.getAllVersions()
contains the root version upon creation of the version history.
VersionHistory.isCheckedOut()
returns
true
Version.isCheckedOut()
returns true
Event.NODE_ADDED
is created only
for the specified path if isDeep
is false
.
Event.PROPERTY_ADDED
is created only
for the specified path if isDeep
is false
.
Session
is usable by
the client and false if it is not usable
VersionHistory.isLocked()
returns
false
Version.isLocked()
returns false
Item.isModified()
works correcty for unmodified and
modified nodes.
VersionHistory.isModified()
returns
false
Version.isModified()
returns false
Item.isNew()
works correctly for new and existing,
unmodified nodes.
VersionHistory.isNew()
returns false
Version.isNew()
returns false
VersionHistory.isNode()
returns true
Version.isNode()
returns true
VersionHistory.isNodeType(String)
returns the right
boolean
value
Version.isNodeType(String)
returns the right
boolean
value
VersionHistory.isSame()
returns the right
boolean
value
Version.isSame()
returns the right
boolean
value
Item.isSame(Item otherItem)
will return true when
two Node
objects representing the same actual repository
item have been retrieved through two different sessions and one has been
modified.
Item.isSame(Item otherItem)
will return true when
two Property
objects representing the same actual repository
item have been retrieved through two different sessions and one has been
modified.
ItemExistsException
is thrown when a query
is stored on an existing node.
VersionHistory.lock(boolean, boolean)
throws a
LockException
Version.lock(boolean, boolean)
throws a javax.jcr.lcok.LockException
LockException
is thrown if a query is
stored under a node locked by another Session
.
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.
Node.canAddMixin(String mixinName)
throws a
LockException
if Node
is locked
Node.removeMixin(String mixinName)
throws a
LockException
if Node
is locked.
NodeType.canRemoveItem(String itemName)
removes
false if itemName
is a mandatory child node.
NodeType.canRemoveItem(String itemName)
removes
false if itemName
is a mandatory property.
VersionHistory.merge(String)
throws an
ConstraintViolationException
Version.merge(String)
throws an
ConstraintViolationException
Node.setProperty(String,
boolean)
works with parentNode.save()
Node.setProperty(String,
boolean)
works with Session.save()
Node.setProperty(String,
Calendar)
works with parentNode.save()
Node.setProperty(String,
Calendar)
works with Session.save()
Node.setProperty(String,
double)
works with parentNode.save()
Node.setProperty(String,
double)
works with Session.save()
Node.setProperty(String,
InputStream)
works with parentNode.save()
Node.setProperty(String,
InputStream)
works with Session.save()
Node.setProperty(String,
long)
works with parentNode.save()
Node.setProperty(String,
long)
works with Session.save()
Node.setProperty(String,
Node)
works with parentNode.save()
Node.setProperty(String,
Node)
works with Session.save()
Node.setProperty(String,
String[])
works with parentNode.save()
Node.setProperty(String,
String[], int)
works with parentNode.save()
Node.setProperty(String,
String[])
works with Session.save()
Node.setProperty(String,
String[], int)
works with Session.save()
Node.setProperty(String,
String)
works with parentNode.save()
Node.setProperty(String,
String, int)
works with parentNode.save()
Node.setProperty(String,
String)
works with Session.save()
Node.setProperty(String,
String, int)
works with Session.save()
Node.setProperty(String,
Value[])
works with parentNode.save()
Node.setProperty(String,
Value[], int)
works with parentNode.save()
Node.setProperty(String,
Value[])
works with Session.save()
Node.setProperty(String,
Value[], int)
works with Session.save()
Node.setProperty(String,
Value)
works with parentNode.save()
Node.setProperty(String,
Value, int)
works with parentNode.save()
Node.setProperty(String,
Value)
works with Session.save()
Node.setProperty(String,
Value, int)
works with Session.save()
Workspace.move(String, String)
triggers the
correct events.
Session.move(String src, String dest)
, afterwards it tries to only save the destination parent
node.ConstraintViolationException
.
Session.move(String src, String dest)
, afterwards it tries to only save the old parent node.ConstraintViolationException
.
Session.move(String src, String dest)
to a location where a node already exists with
same name.javax.jcr.tck.SessionTest.testMoveItemExistsException.nodetype2
must contain name of a nodetype that does not allow same name sibling
child nodes.
javax.jcr.tck.SessionTest.testMoveItemExistsException.nodetype3
must contain name of a valid nodetype that can be added as a child of
nodetype2
This should throw an ItemExistsException
.
Session.move(String src, String dest)
where
the parent node of src is locked.
Should throw a javax.jcr.LockException
immediately or on save.
- testMoveLocked() -
Method in class org.apache.jackrabbit.test.api.lock.LockTest
- Tests if move preserves lock state (JIRA issue JCR-207).
- testMoveNode() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Checks if
Session.move(String src, String dest)
works properly.
- testMoveNode() -
Method in class org.apache.jackrabbit.test.api.observation.NodeMovedTest
- Tests if node removed and node added event is triggered when a node
is moved.
- testMoveNodes() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveTest
- Operation is performed entirely within the persistent workspace, it does
not involve transient storage and therefore does not require a save
- testMoveNodesAbsolutePath() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveTest
- The destAbsPath provided must not have an index on its final element.
- testMoveNodesAccessDenied() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveTest
- An AccessDeniedException is thrown if the current session (i.e., the
session that was used to acquire this Workspace object) does not have
sufficient access permissions to complete the operation.
- testMoveNodesConstraintViolationException() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveTest
- A ConstraintViolationException is thrown if the operation would violate a
node-type or other implementation-specific constraint.
- testMoveNodesLocked() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveTest
- A LockException is thrown if a lock prevents the copy.
- testMoveNodesNodeExistsAtDestPath() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveSameNameSibsTest
- An ItemExistsException is thrown if a node or property already exists at
destAbsPath.
- testMoveNodesOrderingSupportedByParent() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveSameNameSibsTest
- If ordering is supported by the node type of the parent node of the new
location, then the newly moved node is appended to the end of the child
node list.
- testMoveNodesPathNotExisting() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveTest
- A PathNotFoundException is thrown if the node at srcAbsPath or the parent
of the new node at destAbsPath does not exist.
- testMoveNodesReferenceableNodesNewUUID() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveReferenceableTest
- Copies of referenceable nodes (nodes with UUIDs) remains their original
UUIDs.
- testMoveNodesVersionableAndCheckedIn() -
Method in class org.apache.jackrabbit.test.api.WorkspaceMoveVersionableTest
- 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.
- testMovePathNotFoundExceptionDestInvalid() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Calls
Session.move(String src, String dest)
with invalid destination path.
Should throw
PathNotFoundException
.
- testMovePathNotFoundExceptionSrcInvalid() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Calls
Session.move(String src, String dest)
with
invalid source path.
Should throw an PathNotFoundException
.
- testMoveRepositoryException() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Calls
Session.move(String src, String dest)
with a destination path that has an index postfixed.
This should throw an RepositoryException
.
- testMoveTree() -
Method in class org.apache.jackrabbit.test.api.observation.NodeMovedTest
- Tests if node removed and node added event is triggered when a tree
is moved.
- testMoveWithRemove() -
Method in class org.apache.jackrabbit.test.api.observation.NodeMovedTest
- Tests if a node moved triggers the correct events when the former parent
node is removed at the same time.
- testMultiNodesRemoved() -
Method in class org.apache.jackrabbit.test.api.observation.NodeRemovedTest
- Tests if
Event.NODE_REMOVED
events are
triggered when multiple nodes are removed.
- testMultiPropertyAdded() -
Method in class org.apache.jackrabbit.test.api.observation.PropertyAddedTest
- Tests if
Event.PROPERTY_ADDED
is triggered
when multiple properties are added.
- testMultiPropertyChanged() -
Method in class org.apache.jackrabbit.test.api.observation.PropertyChangedTest
- Tests if
Event.PROPERTY_CHANGED
are
triggered when multiple properties are changed.
- testMultiPropertyRemoved() -
Method in class org.apache.jackrabbit.test.api.observation.PropertyRemovedTest
- Tests if
Event.PROPERTY_REMOVED
are
triggered when multiple properties are removed.
- testMultiString() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the modification of a single-value property updated with a
multi-value parameter Requires a multi-value String (mv)
- testMultiStringParent() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the persistence of a property modified with an multi-value String
parameter and saved from the parent Node Requires a multi-value String
(mv)
- testMultiStringSession() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the persistence of a property modified with an multi-value String
parameter and saved from the Session Requires a multi-value String (mv)
- testMultiStringSingle() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the assignment of a single-value to a multi-value property Requires
a single-value String (PROP_VALUE_1)
- testMultiValue() -
Method in class org.apache.jackrabbit.test.api.BinaryPropertyTest
- Tests the failure of calling Property.getStream() on a multivalue
property.
- testMultiValue() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the modification of a single-value property updated with a
multi-value parameter Requires a multi-value Value (mv)
- testMultiValueParent() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the persistence of a property modified with an multi-value Value
parameter and saved from the parent Node Requires a multi-value Value
(mv2)
- testMultiValueSearch() -
Method in class org.apache.jackrabbit.test.api.query.SQLQueryLevel2Test
- Test multi-value support of search.
- testMultiValueSearch() -
Method in class org.apache.jackrabbit.test.api.query.XPathQueryLevel2Test
- Test multi-value support of search.
For configuration description see AbstractQueryLevel2Test.setUpMultiValueTest()
.
- testMultiValueSession() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the persistence of a property modified with an multi-value Value
parameter and saved from the Session Requires a multi-value Value (mv2)
- testMultiValueSingle() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the assignment of a single-value to a multi-value property Requires
a single-value Value (sv1)
- testMultiValueType() -
Method in class org.apache.jackrabbit.test.api.PropertyReadMethodsTest
- Tests that all values of a multivalue property have the same property
type.
- testMultipleBinaryProperty() -
Method in class org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest
- Tests if setValue(Value[] values) where values are of type BinaryValue
throw a ConstraintViolationException if the change would violate a value
constraint
- testMultipleBooleanProperty() -
Method in class org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest
- Tests if setValue(Value[] values) where values are of type BooleanValue
throw a ConstraintViolationException if the change would violate a value
constraint
- testMultipleCheckinHasNoEffect() -
Method in class org.apache.jackrabbit.test.api.version.CheckinTest
- Test if Node.checkin() on a checked-in node has no effect.
- testMultipleDateProperty() -
Method in class org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest
- Tests if setValue(Value[] values) where values are of type DateValue
throw a ConstraintViolationException if the change would violate a value
constraint
- testMultipleDoubleProperty() -
Method in class org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest
- Tests if setValue(Value[] values) where values are of type DoubleValue
throw a ConstraintViolationException if the change would violate a value
constraint
- testMultipleLongProperty() -
Method in class org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest
- Tests if setValue(Value[] values) where values are of type LongValue
throw a ConstraintViolationException if the change would violate a value
constraint
- testMultipleNodeAdded1() -
Method in class org.apache.jackrabbit.test.api.observation.NodeAddedTest
- Tests if
Event.NODE_ADDED
is triggered
for multiple nodes on the same level.
- testMultipleNodeAdded2() -
Method in class org.apache.jackrabbit.test.api.observation.NodeAddedTest
- Tests if
Event.NODE_ADDED
is triggered
when nodes are created on multiple levels.
- testMultipleOrder() -
Method in class org.apache.jackrabbit.test.api.query.OrderByMultiTypeTest
- Tests order by queries with a String property and a long property.
- testMultipleReferenceProperty() -
Method in class org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest
- Tests if setValue(Value[] values) where values are of type ReferenceValue
throw a ConstraintViolationException if the change would violate a value
constraint
- testMultipleValuesNull() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanSetPropertyMultipleTest
- Tests if canSetProperty(String propertyName, Value[] values) where values
is null returns the same as canRemoveItem
- testName() -
Method in class org.apache.jackrabbit.test.api.AddNodeTest
- Tests if the name of the created node is correct.
- testNamespaceException() -
Method in class org.apache.jackrabbit.test.api.NamespaceRemappingTest
- tests that when a prefix which is mapped to a URI yet globally registered
this prefix cannot be remapped to another URI with
session.setNamespacePrefix()
- testNamespaceRemapping() -
Method in class org.apache.jackrabbit.test.api.NamespaceRemappingTest
- Tests if the remapping of jcr:primaryType to a different prefix works and
returns the property with the correct primaryType value.
- testNewBooleanPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyBooleanTest
- Tests if adding a property with
Node.setProperty(String,
boolean)
works with parentNode.save()
- testNewBooleanPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyBooleanTest
- Tests if adding a property with
Node.setProperty(String,
boolean)
works with Session.save()
- testNewCalendarPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyCalendarTest
- Tests if adding a property with
Node.setProperty(String,
Calendar)
works with parentNode.save()
- testNewCalendarPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyCalendarTest
- Tests if adding a property with
Node.setProperty(String,
Calendar)
works with Session.save()
- testNewDoublePropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyDoubleTest
- Tests if adding a property with
Node.setProperty(String,
double)
works with parentNode.save()
- testNewDoublePropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyDoubleTest
- Tests if adding a property with
Node.setProperty(String,
double)
works with Session.save()
- testNewInputStreamPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyInputStreamTest
- Tests if adding a property with
Node.setProperty(String,
InputStream)
works with parentNode.save()
- testNewInputStreamPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyInputStreamTest
- Tests if adding a property with
Node.setProperty(String,
InputStream)
works with Session.save()
- testNewLongPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyLongTest
- Tests if adding a property with
Node.setProperty(String,
long)
works with parentNode.save()
- testNewLongPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyLongTest
- Tests if adding a property with
Node.setProperty(String,
long)
works with Session.save()
- testNewNodePropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyNodeTest
- Tests if adding a property with
Node.setProperty(String,
Node)
works with parentNode.save()
- testNewNodePropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyNodeTest
- Tests if adding a property with
Node.setProperty(String,
Node)
works with Session.save()
- testNewStringArrayPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if adding properties with
Node.setProperty(String,
String[])
works with parentNode.save()
- testNewStringArrayPropertyParentWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if adding properties with
Node.setProperty(String, String[],
int)
works with parentNode.save()
- testNewStringArrayPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if adding properties with
Node.setProperty(String,
String[])
works with Session.save()
- testNewStringArrayPropertySessionWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if adding properties with
Node.setProperty(String, String[],
int)
works with Session.save()
- testNewStringPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if adding a property with
Node.setProperty(String,
String)
works with parentNode.save()
- testNewStringPropertyParentWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if adding a property with
Node.setProperty(String,
String, int)
works with parentNode.save()
- testNewStringPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if adding a property with
Node.setProperty(String,
String)
works with Session.save()
- testNewStringPropertySessionWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if adding a property with
Node.setProperty(String,
String, int)
works with Session.save()
- testNewValueArrayPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if adding properties with
Node.setProperty(String,
Value[])
works with parentNode.save()
- testNewValueArrayPropertyParentWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if adding properties with
Node.setProperty(String, Value[],
int)
works with parentNode.save()
- testNewValueArrayPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if adding properties with
Node.setProperty(String,
Value[])
works with Session.save()
- testNewValueArrayPropertySessionWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if adding properties with
Node.setProperty(String, Value[],
int)
works with Session.save()
- testNewValuePropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if adding a property with
Node.setProperty(String,
Value)
works with parentNode.save()
- testNewValuePropertyParentWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if adding a property with
Node.setProperty(String,
Value, int)
works with parentNode.save()
- testNewValuePropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if adding a property with
Node.setProperty(String,
Value)
works with Session.save()
- testNewValuePropertySessionWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if adding a property with
Node.setProperty(String,
Value, int)
works with Session.save()
- testNoLocalTrue() -
Method in class org.apache.jackrabbit.test.api.observation.AddEventListenerTest
- Tests if no events are generated for own modifications if
noLocal
is set to true
.
- testNoNullValue() -
Method in class org.apache.jackrabbit.test.api.PropertyReadMethodsTest
- Tests that no null value property exists in a given node tree.
- testNoSuchElementException() -
Method in class org.apache.jackrabbit.test.api.NodeIteratorTest
- Tests if a
NoSuchElementException
is thrown when NodeIterator.nextNode()
is called and there are no more nodes
available.
- testNoSuchElementException() -
Method in class org.apache.jackrabbit.test.api.query.QueryResultNodeIteratorTest
- Tests if a
NoSuchElementException
is thrown when NodeIterator.nextNode()
is called and there are no more nodes
available.
- testNoSuchWorkspaceException() -
Method in class org.apache.jackrabbit.test.api.RepositoryLoginTest
- Tests if
Repository.login(Credentials credentials, String workspaceName)
throws a NoSuchWorkspaceException
if no workspace of the requested name is existing.
- testNode -
Variable in class org.apache.jackrabbit.test.api.PropertyItemIsModifiedTest
-
- testNode -
Variable in class org.apache.jackrabbit.test.api.PropertyItemIsNewTest
-
- testNode() -
Method in class org.apache.jackrabbit.test.api.SetValueValueFormatExceptionTest
- Tests if setValue(Node) throws a ValueFormatException immediately (not
on save) if the property is not of type REFERENCE.
- testNode() -
Method in class org.apache.jackrabbit.test.api.SetValueVersionExceptionTest
- Tests if setValue(Node) throws a VersionException immediately
or on save if the parent node of this property is checked-in.
- testNodeAssumeTypeOfValue() -
Method in class org.apache.jackrabbit.test.api.SetPropertyAssumeTypeTest
- 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.
- testNodeIdentity() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Tests object identity, meaning two nodes objects accuired through the
same session must have the same properties and states.
- testNodeIterator() -
Method in class org.apache.jackrabbit.test.api.version.MergeNodeIteratorTest
- Tests if Node.merge() when bestEffort is true returns a NodeIterator
containing all nodes that received a fail.
- testNodeLocked() -
Method in class org.apache.jackrabbit.test.api.lock.LockTest
- Test session scope: other session may not access nodes that are
locked.
- testNodeNotReferenceable() -
Method in class org.apache.jackrabbit.test.api.SetValueValueFormatExceptionTest
- Tests if setValue(Node) throws a ValueFormatException immediately (not
on save) if the specified node is not referencable.
- testNodeParent() -
Method in class org.apache.jackrabbit.test.api.SetValueReferenceTest
- Test the persistence of a property modified with an Node parameter and
saved from the parent Node Requires a Node value (node)
- testNodeReorder() -
Method in class org.apache.jackrabbit.test.api.observation.NodeReorderTest
- Tests if reordering a child node triggers a
Event.NODE_REMOVED
and a Event.NODE_ADDED
event.
- testNodeReorderSameName() -
Method in class org.apache.jackrabbit.test.api.observation.NodeReorderTest
- Tests if reordering a child node triggers a
Event.NODE_REMOVED
and a Event.NODE_ADDED
event with same name siblings.
- testNodeReorderSameNameWithRemove() -
Method in class org.apache.jackrabbit.test.api.observation.NodeReorderTest
- Tests if reordering a child node triggers a
Event.NODE_REMOVED
and a Event.NODE_ADDED
event with same name siblings.
- testNodeSave() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Creates a new node, saves it uses second session to verify if node has
been added.
- testNodeSession() -
Method in class org.apache.jackrabbit.test.api.SetValueReferenceTest
- Test the persistence of a property modified with an Node parameter and
saved from the Session Requires a Node value (node)
- testNodeType -
Variable in class org.apache.jackrabbit.test.AbstractJCRTest
- The node type name for newly created nodes.
- testNodeType() -
Method in class org.apache.jackrabbit.test.api.AddNodeTest
- Tests if the node type of the created node is correct.
- testNodeType() -
Method in class org.apache.jackrabbit.test.api.ReferencePropertyTest
- Tests if the referenced node is of nodeType mix:referenceable.
- testNodeType() -
Method in class org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest
- Test for the predefined nt:nodeType node type.
- testNodeType() -
Method in class org.apache.jackrabbit.test.api.observation.AddEventListenerTest
- Tests if events are only generated for specified node types.
- testNodeTypeConstraintViolationSession() -
Method in class org.apache.jackrabbit.test.api.SerializationTest
-
- testNodeTypeConstraintViolationSessionWithHandler() -
Method in class org.apache.jackrabbit.test.api.SerializationTest
-
- testNodeTypeConstraintViolationWorkspace() -
Method in class org.apache.jackrabbit.test.api.SerializationTest
-
- testNodeTypeConstraintViolationWorkspaceWithHandler() -
Method in class org.apache.jackrabbit.test.api.SerializationTest
-
- testNonExisting() -
Method in class org.apache.jackrabbit.test.api.NodeCanAddMixinTest
- Tests if
Node.canAddMixin(String mixinName)
throws a
NoSuchNodeTypeException
if mixinName
is not the
name of an existing mixin node type
- testNotAssigned() -
Method in class org.apache.jackrabbit.test.api.NodeRemoveMixinTest
- Tests if
Node.removeMixin(String mixinName)
throws a
NoSuchNodeTypeException Node
does not have assigned the
requested mixin
- testNullMultiValue() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the deletion of a value in a multi-value property
- testOpenScopedLocks() -
Method in class org.apache.jackrabbit.test.api.lock.LockTest
- Test open-scoped locks
- testOr() -
Method in class org.apache.jackrabbit.test.api.query.PredicatesTest
- Verifies that the or operator is accepted for a property name
- testOrderBefore() -
Method in class org.apache.jackrabbit.test.api.version.VersionHistoryTest
- Tests if
VersionHistory.orderBefore(String, String)
throws
an UnsupportedRepositoryOperationException
- testOrderBefore() -
Method in class org.apache.jackrabbit.test.api.version.VersionTest
- Tests if
Version.orderBefore(String, String)
throws an
UnsupportedRepositoryOperationException
- testOrderBeforeInvalidDest() -
Method in class org.apache.jackrabbit.test.api.NodeOrderableChildNodesTest
- Tries to reorder child nodes using
Node.orderBefore(String, String)
with an invalid destination reference.
- testOrderBeforeInvalidSrc() -
Method in class org.apache.jackrabbit.test.api.NodeOrderableChildNodesTest
- Tries to reorder child nodes using
Node.orderBefore(String,
String)
with an invalid source reference.
- testOrderBeforePlaceAtEndParentSave() -
Method in class org.apache.jackrabbit.test.api.NodeOrderableChildNodesTest
- Creates two child nodes, reorders first node to end, uses parentNode's
Item.save()
.
- testOrderBeforePlaceAtEndSessionSave() -
Method in class org.apache.jackrabbit.test.api.NodeOrderableChildNodesTest
- Test Creates two child nodes, verifies that they are added propery.
- testOrderBeforeSecondToFirstParentSave() -
Method in class org.apache.jackrabbit.test.api.NodeOrderableChildNodesTest
- Creates two child nodes, reorders second node before first, uses
parentNode's
Item.save()
.
- testOrderBeforeSecondToFirstSessionSave() -
Method in class org.apache.jackrabbit.test.api.NodeOrderableChildNodesTest
- Creates two child nodes than reorders second node before first, saves
using
Session.save()
.
- testOrderBeforeUnsupportedRepositoryOperationException() -
Method in class org.apache.jackrabbit.test.api.NodeOrderableChildNodesTest
- Tries to reorder on a node using
Node.orderBefore(String, String)
that does not support child reordering.
- testOrderBy() -
Method in class org.apache.jackrabbit.test.api.query.XPathOrderByTest
- Test if default sort order is ascending
For configuration description see
XPathOrderByTest
.
- testOrderByAscending() -
Method in class org.apache.jackrabbit.test.api.query.SQLOrderByTest
- Test if sort order ascending is respected.
- testOrderByAscending() -
Method in class org.apache.jackrabbit.test.api.query.XPathOrderByTest
- Test if sort order ascending is respected.
- testOrderByDefault() -
Method in class org.apache.jackrabbit.test.api.query.SQLOrderByTest
- Test if default sort order is respected and is ascending if the
order by modifier is missing.
- testOrderByDescending() -
Method in class org.apache.jackrabbit.test.api.query.SQLOrderByTest
- Test if sort order descending is respected.
- testOrderByDescending() -
Method in class org.apache.jackrabbit.test.api.query.XPathOrderByTest
- Test if sort order descending is respected.
- testOverwriteExceptionSession() -
Method in class org.apache.jackrabbit.test.api.SerializationTest
-
- testOverwriteExceptionSessionWithHandler() -
Method in class org.apache.jackrabbit.test.api.SerializationTest
-
- testOverwriteExceptionWorkspace() -
Method in class org.apache.jackrabbit.test.api.SerializationTest
-
- testOverwriteExceptionWorkspaceWithHandler() -
Method in class org.apache.jackrabbit.test.api.SerializationTest
-
- testParentChildDeepLock() -
Method in class org.apache.jackrabbit.test.api.lock.LockTest
- Test parent/child lock
- testParentChildLock() -
Method in class org.apache.jackrabbit.test.api.lock.LockTest
- Test parent/child lock
- testPath -
Variable in class org.apache.jackrabbit.test.AbstractJCRTest
- Relative path to the test root node.
- testPath() -
Method in class org.apache.jackrabbit.test.api.AddNodeTest
- Tests if the path of the created node is correct.
- testPath() -
Method in class org.apache.jackrabbit.test.api.observation.AddEventListenerTest
- Tests if events are only created for a sub tree of the workspace.
- testPathColumn() -
Method in class org.apache.jackrabbit.test.api.query.SQLQueryLevel2Test
- Test if the optional jcr:path pseudo property is contained in the query
result.
- testPathColumn() -
Method in class org.apache.jackrabbit.test.api.query.XPathQueryLevel2Test
- Test if the jcr:path pseudo property is contained in result.
- testPathNotFound() -
Method in class org.apache.jackrabbit.test.api.AddNodeTest
- Tests if addNode() throws a PathNotFoundException in case
intermediary nodes do not exist.
- testPathNotFoundException() -
Method in class org.apache.jackrabbit.test.api.query.SaveTest
- Tests if a
PathNotFoundException
is thrown when a query
is stored to a non existent path.
- testPersistentNewNodeItemIsModified() -
Method in class org.apache.jackrabbit.test.api.NodeItemIsModifiedTest
- Test if Item.isModified() returns false after a new NodeItem is set
and saved (persistent).
- testPersistentNewPropertyItemIsModified() -
Method in class org.apache.jackrabbit.test.api.PropertyItemIsModifiedTest
- Test if Item.isModified() returns false after a new PropertyItem is set
and saved (persistent).
- testPersistentNodeItemIsModified() -
Method in class org.apache.jackrabbit.test.api.NodeItemIsModifiedTest
- Test if Item.isModified() returns false for an already exixting and modified
NodeItem after the node is saved (persistent).
- testPersistentNodeItemIsNew() -
Method in class org.apache.jackrabbit.test.api.NodeItemIsNewTest
- Test if Item.isNew() returns false after a NodeItem is added and
the node is saved (persistent).
- testPersistentPropertyItemIsModified() -
Method in class org.apache.jackrabbit.test.api.PropertyItemIsModifiedTest
- Test if Item.isModified() returns false for an already exixting and modified
PropertyItem after the current node is saved (persistent).
- testPersistentPropertyItemIsNew() -
Method in class org.apache.jackrabbit.test.api.PropertyItemIsNewTest
- Test if Item.isNew() returns false after a new PropertyItem is set and
the node is saved (persistent).
- testPredecessorIsCopiedToNewVersion() -
Method in class org.apache.jackrabbit.test.api.version.CheckinTest
- Test if the nodes jcr:predecessors property is copied to the new version
on Node.checkin().
- testPrimaryType() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Tests if the primary node type is properly stored in jcr:primaryType
- testPrimaryTypeProtected() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Tests if jcr:primaryType is protected
- testPropValue() -
Method in class org.apache.jackrabbit.test.api.ReferencePropertyTest
- Tests if the referenced node has this property in its referers list in
case the property is not transient.
- testPropertyDef() -
Method in class org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest
- Test for the predefined nt:propertyDef node type.
- testPropertyRemoveCreate() -
Method in class org.apache.jackrabbit.test.api.observation.PropertyChangedTest
- 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.
- testProtectedChildNode() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanRemoveItemTest
- Tests if
NodeType.canRemoveItem(String itemName)
removes
false if itemName
is a protected child node.
- testProtectedProperty() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanRemoveItemTest
- Tests if
NodeType.canRemoveItem(String itemName)
removes
false if itemName
is a protected property.
- testQuery() -
Method in class org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest
- Test for the predefined nt:query node type.
- testRange() -
Method in class org.apache.jackrabbit.test.api.query.SQLQueryLevel2Test
- Test range evaluation of a Query.
- testRange() -
Method in class org.apache.jackrabbit.test.api.query.XPathQueryLevel2Test
- Test range evauluation of Query.
For configuration description see AbstractQueryLevel2Test.setUpRangeTest()
.
- testReferenceProperty() -
Method in class org.apache.jackrabbit.test.api.SetPropertyConstraintViolationExceptionTest
- 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
- testReferenceProperty() -
Method in class org.apache.jackrabbit.test.api.SetValueConstraintViolationExceptionTest
- 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
- testReferenceTarget() -
Method in class org.apache.jackrabbit.test.api.ReferencesTest
- Tests Property.getNode();
- testReferenceable() -
Method in class org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest
- Test for the predefined mix:referenceable node type.
- testReferenceableRootNode() -
Method in class org.apache.jackrabbit.test.api.ReferenceableRootNodesTest
- A repository implementation may make its workspace root nodes
mix:referenceable.
- testReferences() -
Method in class org.apache.jackrabbit.test.api.ReferencesTest
- Tests Node.getReferences()
- testReferentialIntegrityException() -
Method in class org.apache.jackrabbit.test.api.version.RemoveVersionTest
- Checks if
VersionHistory.removeVersion(String)
throws a ReferentialIntegrityException
if the named
version is still referenced by another node.
- testRefresh() -
Method in class org.apache.jackrabbit.test.api.lock.LockTest
- Test refresh
- testRefresh() -
Method in class org.apache.jackrabbit.test.api.version.VersionHistoryTest
- Tests if
VersionHistory.refresh(boolean)
works as expected
(do nothing and return quietly)
- testRefresh() -
Method in class org.apache.jackrabbit.test.api.version.VersionTest
- Tests if
Version.refresh(boolean)
works as expected (do
nothing and return quietly)
- testRefreshBooleanFalse() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Checks if
Item.refresh(boolean refresh)
works properly
with refresh
set to false
.
Procedure: Creates two nodes with session 1 Modifies
node 1 with session 1 by adding a child node Get node 2 with
session 2 Modifies node 2 with session 2 by adding a child
node saves session 2 changes using Item.save()
calls Node.refresh(false)
on root node in session 1 Session 1 changes should be cleared
and session 2 changes should now be visible to session 1.
- testRefreshBooleanFalse() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Checks if
Session.refresh(boolean refresh)
works
properly with refresh
set to false
.
Procedure: Creates two nodes with session 1 Modifies
node 1 with session 1 by adding a child node Get node 2 with
session 2 Modifies node 2 with session 2 by adding a child
node saves session 2 changes using Session.save()
calls Session.refresh(false)
on session 1 Session 1 changes should be cleared and session 2
changes should now be visible to session 1.
- testRefreshBooleanTrue() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Checks if
Item.refresh(boolean refresh)
works properly
with refresh
set to true
.
Procedure: Creates two nodes with session 1 Modifies
node 1 with session 1 by adding a child node Get node 2 with
session 2 Modifies node 2 with session 2 by adding a child
node saves session 2 changes using Item.save()
calls Node.refresh(true)
on
root node in session 1 Session 1 changes and session 2
changes now be visible to session 1.
- testRefreshBooleanTrue() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Checks if
Session.refresh(boolean refresh)
works
properly with refresh
set to true
.
Procedure: Creates two nodes with session 1 Modifies
node 1 with session 1 by adding a child node Get node 2 with
session 2 Modifies node 2 with session 2 by adding a child
node saves session 2 changes using Session.save()
calls Session.refresh(true)
on session 1 Session 1 changes and session 2 changes now be
visible to session 1.
- testRefreshInvalidItemStateException() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Tries to call
Item.refresh(boolean)
on a deleted node.
- testRegisterNamespace() -
Method in class org.apache.jackrabbit.test.api.NamespaceRegistryTest
- Tries to register a namespace.
- testRegisterNamespaceExceptions() -
Method in class org.apache.jackrabbit.test.api.NamespaceRegistryTest
- Trying to register a system namespace must throw a NamespaceException
- testRegisterNamespaceXmlExceptions() -
Method in class org.apache.jackrabbit.test.api.NamespaceRegistryTest
- Trying to register "xml" or anything that starts with "xml" as a
namespace must throw a repository exception
- testRemapClearing() -
Method in class org.apache.jackrabbit.test.api.NamespaceRemappingTest
- Tests if the remapping is cleared in a new session object
- testRemovableChildNode() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanRemoveItemTest
- Tests if
NodeType.canRemoveItem(String itemName)
removes
true if itemName
is nor a protected nor a mandatory
child node.
- testRemovableProperty() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanRemoveItemTest
- Tests if
NodeType.canRemoveItem(String itemName)
removes
true if itemName
is nor a protected nor a mandatory
property.
- testRemove() -
Method in class org.apache.jackrabbit.test.api.version.VersionHistoryTest
- Tests if
VersionHistory.remove()
throws an ConstraintViolationException
- testRemove() -
Method in class org.apache.jackrabbit.test.api.version.VersionTest
- Tests if
Version.remove()
throws an ConstraintViolationException
- testRemoveBooleanParent() -
Method in class org.apache.jackrabbit.test.api.SetValueBinaryTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveBooleanParent() -
Method in class org.apache.jackrabbit.test.api.SetValueBooleanTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveBooleanPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyBooleanTest
- Tests if removing a
boolean
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveBooleanPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyBooleanTest
- Tests if removing a
boolean
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveBooleanSession() -
Method in class org.apache.jackrabbit.test.api.SetValueBinaryTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveBooleanSession() -
Method in class org.apache.jackrabbit.test.api.SetValueBooleanTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveCalendarPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyCalendarTest
- Tests if removing a
Calendar
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveCalendarPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyCalendarTest
- Tests if removing a
Calendar
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveCalendarSession() -
Method in class org.apache.jackrabbit.test.api.SetValueDateTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveDateParent() -
Method in class org.apache.jackrabbit.test.api.SetValueDateTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveDoubleParent() -
Method in class org.apache.jackrabbit.test.api.SetValueDoubleTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveDoublePropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyDoubleTest
- Tests if removing a
double
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveDoublePropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyDoubleTest
- Tests if removing a
double
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveDoubleSession() -
Method in class org.apache.jackrabbit.test.api.SetValueDoubleTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveEventListener() -
Method in class org.apache.jackrabbit.test.api.observation.GetRegisteredEventListenersTest
- Tests if
ObservationManager.getRegisteredEventListeners()
returns the correct listeners after an remove event listener.
- testRemoveInputStreamPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyInputStreamTest
- Tests if removing a
InputStream
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveInputStreamPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyInputStreamTest
- Tests if removing a
InputStream
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveInvalidItemStateException() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Removes a node using
Item.remove()
with session 1,
afterwards it tries the same with session 2.
- testRemoveInvalidVersion() -
Method in class org.apache.jackrabbit.test.api.version.RemoveVersionTest
- Test if removing a version from the version history throws a VersionException
if the specified version does not exist.
- testRemoveLabel() -
Method in class org.apache.jackrabbit.test.api.version.VersionLabelTest
- Test the removal of an version label that has successfully been added
before.
- testRemoveLockFromNode() -
Method in class org.apache.jackrabbit.test.api.observation.LockingTest
- Tests if unlocking a node triggers property removed events for the
properties jcr:lockOwner and jcr:lockIsDeep.
- testRemoveLongParent() -
Method in class org.apache.jackrabbit.test.api.SetValueLongTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveLongPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyLongTest
- Tests if removing a
long
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveLongPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyLongTest
- Tests if removing a
long
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveLongSession() -
Method in class org.apache.jackrabbit.test.api.SetValueLongTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveMandatoryNode() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Creates a node with a mandatory child node using
Node.addNode(String, String)
, saves on parent node then tries to delete
the mandatory child node.
- testRemoveMixin() -
Method in class org.apache.jackrabbit.test.api.version.VersionHistoryTest
- Tests if
VersionHistory.removeMixin(String)
throws an NoSuchNodeTypeException
- testRemoveMixin() -
Method in class org.apache.jackrabbit.test.api.version.VersionTest
- Tests if
Version.removeMixin(String)
throws an ConstraintViolationException
- testRemoveMultiStringParent() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveMultiStringSession() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveMultiValueParent() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveMultiValueSession() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveNodeLockedItself() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Tests if
Node.remove()
does not throw a
LockException
if Node
is locked.
- testRemoveNodeParent() -
Method in class org.apache.jackrabbit.test.api.SetValueReferenceTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveNodeParentLocked() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Tests if
Node.remove()
throws a LockException
if the parent node of Node
is locked.
- testRemoveNodeParentSave() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Removes a node using
Item.remove()
, then saves with
parent's nodes Item.save()
method.
- testRemoveNodePropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyNodeTest
- Tests if removing a
Node
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveNodePropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyNodeTest
- Tests if removing a
Node
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveNodeSession() -
Method in class org.apache.jackrabbit.test.api.SetValueReferenceTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveNodeSessionSave() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Removes a node using
Item.remove()
, then saves using
Session.save()
method.
- testRemoveNonExistingLabel() -
Method in class org.apache.jackrabbit.test.api.version.VersionLabelTest
- Test the removal of an version label that does not exist (must throw VersionException).
- testRemoveStringArrayPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if removing a
String[]
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveStringArrayPropertyParentWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if removing a
String[]
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
- testRemoveStringArrayPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if removing a
String[]
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveStringArrayPropertySessionWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if removing a
String[]
property with
Node.setProperty(String, null, int)
works with
Session.save()
- testRemoveStringParent() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveStringPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if removing a
String
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveStringPropertyParentWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if removing a
String
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
- testRemoveStringPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if removing a
String
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveStringPropertySessionWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyStringTest
- Tests if removing a
String
property with
Node.setProperty(String, null, int)
works with
Session.save()
- testRemoveStringSession() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveSuccessfully() -
Method in class org.apache.jackrabbit.test.api.NodeRemoveMixinTest
- Tests if
Node.removeMixin(String mixinName)
removes the
requested mixin properly
- testRemoveValueArrayPropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if removing a
Value[]
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveValueArrayPropertyParentWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if removing a
Value[]
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
- testRemoveValueArrayPropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if removing a
Value[]
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveValueArrayPropertySessionWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if removing a
Value[]
property with
Node.setProperty(String, null, int)
works with
Session.save()
- testRemoveValueParent() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the deletion of a property by assigning it a null value, saved from
the parent Node
- testRemoveValuePropertyParent() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if removing a
Value
property with
Node.setProperty(String, null)
works with
parentNode.save()
- testRemoveValuePropertyParentWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if removing a
Value
property with
Node.setProperty(String, null, int)
works with
parentNode.save()
- testRemoveValuePropertySession() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if removing a
Value
property with
Node.setProperty(String, null)
works with
Session.save()
- testRemoveValuePropertySessionWithPropertyType() -
Method in class org.apache.jackrabbit.test.api.SetPropertyValueTest
- Tests if removing a
Value
property with
Node.setProperty(String, null, int)
works with
Session.save()
- testRemoveValueSession() -
Method in class org.apache.jackrabbit.test.api.SetValueStringTest
- Test the deletion of a property by assigning it a null value, saved from
the Session
- testRemoveVersionAdjustPredecessorSet() -
Method in class org.apache.jackrabbit.test.api.version.RemoveVersionTest
- Test if the predecessors of the removed version are made predecessor of
its original successor version.
- testRemoveVersionAdjustSucessorSet() -
Method in class org.apache.jackrabbit.test.api.version.RemoveVersionTest
- Test if the successors of the removed version are made successors of
all predecessors of the the removed version.
- testRename() -
Method in class org.apache.jackrabbit.test.api.observation.WorkspaceOperationTest
- Tests if
Workspace.move(String, String)
triggers the
correct events.
- testReorder() -
Method in class org.apache.jackrabbit.test.api.lock.LockTest
- Tests if locks are maintained when child nodes are reordered
- testReorder2() -
Method in class org.apache.jackrabbit.test.api.lock.LockTest
- Tests if locks are maintained when child nodes are reordered
- testRepositoryException() -
Method in class org.apache.jackrabbit.test.api.AddNodeTest
- Tests if a RepositoryException is thrown in case the path
for the new node contains an index.
- testRepositoryException() -
Method in class org.apache.jackrabbit.test.api.query.SaveTest
- Tests if the a
RepositoryException
is thrown when
an malformed path is passed in Query.storeAsNode(String)
.
- testRequiredDescriptors() -
Method in class org.apache.jackrabbit.test.api.RepositoryDescriptorTest
- Tests that the required repository descriptors are available.
- testResidualAndIllegalType() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanAddChildNodeCallWithNodeTypeTest
- 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
.
- testResidualAndLegalType() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanAddChildNodeCallWithNodeTypeTest
- 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
.
- testResidualWithDefault() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanAddChildNodeCallWithoutNodeTypeTest
- Tests if
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
contains a residual NodeDef
with a default primary type.
- testResidualWithoutDefault() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanAddChildNodeCallWithoutNodeTypeTest
- Tests if
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
contains a residual NodeDef
without a default primary type.
- testResource() -
Method in class org.apache.jackrabbit.test.api.nodetype.PredefinedNodeTypeTest
- Test for the predefined nt:resource node type.
- testRestore() -
Method in class org.apache.jackrabbit.test.api.version.VersionHistoryTest
- Tests if
VersionHistory.restore(String, boolean)
and
VersionHistory.restore(Version, boolean)
throw an UnsupportedRepositoryOperationException
and VersionHistory.restore(Version,
String, boolean)
throws a ConstraintViolationException
.
- testRestore() -
Method in class org.apache.jackrabbit.test.api.version.VersionTest
- Tests if
Version.restore(String, boolean)
and
Version.restore(Version, boolean)
throw an
UnsupportedRepositoryOperationException
and
Version.restore(Version, String, boolean)
throws a
ConstraintViolationException
.
- testRestoreByLabel() -
Method in class org.apache.jackrabbit.test.api.version.VersionHistoryTest
- Tests if
VersionHistory.restoreByLabel(String, boolean)
throws an UnsupportedRepositoryOperationException
- testRestoreByLabel() -
Method in class org.apache.jackrabbit.test.api.version.VersionTest
- Tests if
Version.restoreByLabel(String, boolean)
throws an
UnsupportedRepositoryOperationException
- testRestoreByLabelNonVersionableNode() -
Method in class org.apache.jackrabbit.test.api.version.VersionLabelTest
- Test calling Node.restoreByLabel(String, boolean) on a non-versionable node.
- testRestoreInvalidVersion() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- VersionException expected on Node.restore(Version, boolean) if the
specified version is not part of this node's version history.
- testRestoreInvalidVersion2() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- VersionException expected on Node.restore(String, boolean) if the specified version is not part of this node's version history.
- testRestoreNode() -
Method in class org.apache.jackrabbit.test.api.version.OnParentVersionAbortTest
- Test the restore of a OnParentVersion-ABORT node
- testRestoreNode() -
Method in class org.apache.jackrabbit.test.api.version.OnParentVersionCopyTest
- Test the restore of a OnParentVersion-COPY node
- testRestoreNonVersionableNode() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Test calling Node.restore(String, boolean) on a non-versionable node.
- testRestoreNonVersionableNode2() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Test calling Node.restore(Version, String, boolean) on a non-versionable node.
- testRestoreNonVersionableNode3() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Test calling Node.restore(Version, boolean) on a non-versionable node.
- testRestoreOnCheckedInNode() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Test if restoring a node works on checked-in node.
- testRestoreOnCheckedOutNode() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Test if restoring a node works on checked-out node.
- testRestoreProp() -
Method in class org.apache.jackrabbit.test.api.version.OnParentVersionAbortTest
- Test the restore of a OnParentVersion-ABORT property
- testRestoreProp() -
Method in class org.apache.jackrabbit.test.api.version.OnParentVersionComputeTest
- Test the restore of a OnParentVersion-COMPUTE property
- testRestoreProp() -
Method in class org.apache.jackrabbit.test.api.version.OnParentVersionCopyTest
- Test the restore of a OnParentVersion-COPY property
- testRestoreProp() -
Method in class org.apache.jackrabbit.test.api.version.OnParentVersionIgnoreTest
- Test the restore of a OnParentVersion-IGNORE property
- testRestoreProp() -
Method in class org.apache.jackrabbit.test.api.version.OnParentVersionInitializeTest
- Test the restore of a OnParentVersion-INITIALIZE property
- testRestoreRootVersionFail() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Test if restoring the root version fails.
- testRestoreSetsBaseVersion() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Test if restoring a node sets the jcr:baseVersion property correctly.
- testRestoreSetsIsCheckedOutToFalse() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Restoring a node set the jcr:isCheckedOut property to false.
- testRestoreWithInvalidVersion() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Test if restoring a node with an invalid Version throws a VersionException
- testRestoreWithPendingChanges() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Test if InvalidItemStateException is thrown if the node has pending changes.
- testRestoreWithUUIDConflict() -
Method in class org.apache.jackrabbit.test.api.version.RestoreTest
- Tests if restoring the
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
- testReturnFalseBecauseIsMultiple() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanSetPropertyTest
- Tests if NodeType.canSetProperty(String propertyName, Value value)
returns false if the property is multiple
- testReturnFalseBecauseIsNotMultiple() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanSetPropertyMultipleTest
- Tests if NodeType.canSetProperty(String propertyName, Value[] values)
returns false if the property is not multiple
- testReturnFalseBecauseIsProtected() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanSetPropertyMultipleTest
- Tests if NodeType.canSetProperty(String propertyName, Value[] values)
returns false if the property is protected.
- testReturnFalseBecauseIsProtected() -
Method in class org.apache.jackrabbit.test.api.nodetype.CanSetPropertyTest
- Tests if NodeType.canSetProperty(String propertyName, Value value)
returns false if the property is protected.
- testRoot -
Variable in class org.apache.jackrabbit.test.AbstractJCRTest
- Absolute path to the test root node.
- testRootNode -
Variable in class org.apache.jackrabbit.test.AbstractJCRTest
- The root
Node
for testing
- testRootNodeW2 -
Variable in class org.apache.jackrabbit.test.api.version.AbstractMergeTest
- The test root node in second workspace to test
- testRootVersionHasNoPredecessor() -
Method in class org.apache.jackrabbit.test.api.version.VersionGraphTest
- Test if the root version does not have any predecessor versions.
- testSameNameSiblings() -
Method in class org.apache.jackrabbit.test.api.AddNodeTest
- Tests if same name siblings have equal names or if same name
siblings are not supported a ItemExistsException is thrown.
- testSameStream() -
Method in class org.apache.jackrabbit.test.api.BinaryPropertyTest
- Tests that when Value.getStream() is called a second time the same Stream
object is returned.
- testSameUUIDAtAncestorSession() -
Method in class org.apache.jackrabbit.test.api.DocumentViewImportTest
-
- testSameUUIDAtAncestorSessionHandler() -
Method in class org.apache.jackrabbit.test.api.DocumentViewImportTest
-
- testSameUUIDAtAncestorWorkspace() -
Method in class org.apache.jackrabbit.test.api.DocumentViewImportTest
-
- testSameUUIDAtAncestorWorkspaceHandler() -
Method in class org.apache.jackrabbit.test.api.DocumentViewImportTest
-
- testSave() -
Method in class org.apache.jackrabbit.test.api.query.SaveTest
- Stores a
javax.jcr.query.Query.XPATH
query at:
testRoot + "/" + nodeName1
.
- testSaveContstraintViolationException() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Tries to create and save a node using
Item.save()
with
an mandatory property that is not set on saving time.
- testSaveContstraintViolationException() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Tries to create and save a node using
Session.save()
with an mandatory property that is not set on saving time.
Prerequisites: javax.jcr.tck.SessionTest.testSaveContstraintViolationException.nodetype2
must reference a nodetype that has one at least one property that is
mandatory but not autocreated
- testSaveInvalidStateException() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Tries to save a node using
Item.save()
that was already
deleted by an other session.
Procedure: Creates a new
node with session 1, saves it, adds a child node. Access new
node with session 2,deletes the node, saves it. Session 1 tries
to save modifications using Node.save()
on root node .
This should throw an InvalidItemStateException
.
- testSaveInvalidStateException() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Tries to save a node using
Session.save()
that was
already deleted by an other session.
Procedure:
Creates a new node with session 1, saves it, adds a child node.
Access new node with session 2,deletes the node, saves it.
session 1 tries to save modifications . This should throw
an InvalidItemStateException
.
- testSaveModifiedNode() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Checks if a modified node gets properly saved using
Session.save()
.
It creates a new node, saves
it using session.save()
, modifies the node by adding a child
node, saves again and finally verifies with a different session if
changes have been stored properly.
Prerequisites:
javax.jcr.tck.nodetype
must accept children of same
nodetype
- testSaveMovedRefNode() -
Method in class org.apache.jackrabbit.test.api.NodeUUIDTest
- 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()
.
Procedure: Creates node 1 and node 2 with session 1
Gets reference to node 1 using session 2 Session 1 moves
node 1 under node 2, saves changes Session 2 modifes node 1,
saves This should work since the modified node is identified
by its UUID, not by position in repository.
- testSaveMovedRefNode() -
Method in class org.apache.jackrabbit.test.api.SessionUUIDTest
- 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()
.
Procedure:
Creates node 1 and node 2 with session 1
Gets reference to node 1 using session 2
Session 1 moves node 1 under node 2, saves changes
Session 2 modifes node 1, saves
This should work since the modified node is identified by its UUID, not by position in repository.
- testSaveNewNode() -
Method in class org.apache.jackrabbit.test.api.SessionTest
- Checks if a newly created node gets properly saved using
Session.save()
.
It creates a new node, saves
it using session.save()
then uses a different session to
verify if the node has been properly saved.
- testSaveOnNewNodeRepositoryException() -
Method in class org.apache.jackrabbit.test.api.NodeTest
- Tests if a
RepositoryException
is thrown when calling
Node.save()
on a newly added node
- testSaveReferentialIntegrityException() -
Method in class org.apache.jackrabbit.test.api.NodeUUIDTest
- Tries to remove a node that is a reference target using
Item.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 a ReferentialIntegrityException
upon save.
Session.save()
.ReferentialIntegrityException
upon save.
Session.move(String, String)
where the destination parent is checked in.
Session.move(String, String)
where the source parent is checked in.
Node.setProperty(String, Value[])
throws a ValueFormatException
when trying to set a multi-value property
to an array of values with different types
Node.setProperty(String, Value[], int)
throws a
ValueFormatException
when trying to set a multi-value
property to an array of values with different types
Node.setProperty(String, String[])
saves an array
of null values as an empty String[]
Node.setProperty(String, String[], int)
saves an
array of null values as an empty String[]
Node.setProperty(String, Value[])
saves an array of
null values as an empty Value[]
Node.setProperty(String, Value[], int)
saves an
array of null values as an empty Value[]
VersionHistory.setProperty(String,
String[])
VersionHistory.setProperty(String,
String[], int)
VersionHistory.setProperty(String,
Value[])
VersionHistory.setProperty(String,
Value[], int)
VersionHistory.setProperty(String,
boolean)
VersionHistory.setProperty(String,
double)
VersionHistory.setProperty(String,
InputStream)
VersionHistory.setProperty(String,
String)
VersionHistory.setProperty(String,
Calendar)
VersionHistory.setProperty(String,
Node)
VersionHistory.setProperty(String,
Value)
VersionHistory.setProperty(String,
long)
all throw a ConstraintViolationException
Version.setProperty(String, String[])
Version.setProperty(String, String[], int)
Version.setProperty(String, Value[])
Version.setProperty(String, Value[], int)
Version.setProperty(String, boolean)
Version.setProperty(String, double)
Version.setProperty(String, InputStream)
Version.setProperty(String, String)
Version.setProperty(String, Calendar)
Version.setProperty(String, Node)
Version.setProperty(String, Value)
Version.setProperty(String, long)
all throw a
ConstraintViolationException
Node.setProperty(String, String[])
throws a ValueFormatException
when trying to set an existing
single-valued property to a multi-value
Node.setProperty(String, String[], int)
throws a
ValueFormatException
when trying to set an existing
single-value property to a multi-value
Node.setProperty(String, Value[])
throws a ValueFormatException
when trying to set an existing
single-valued property to a multi-value
Node.setProperty(String, Value[], int)
throws a
ValueFormatException
when trying to set an existing
single-valued property to a multi-value
Repository.login(Credentials credentials)
does
return a session, i.
Repository.login(Credentials credentials, String workspaceName)
does return a session, i.
Event.NODE_ADDED
is triggerd
when a single node is added.
Event.NODE_REMOVED
is triggered
when a single node is removed.
Event.PROPERTY_ADDED
is triggered
when a single property is added.
Event.PROPERTY_CHANGED
is
triggered when a single property is changed.
Event.PROPERTY_CHANGED
is
triggered only for changed properties and not for new properties.
Event.PROPERTY_REMOVED
is
triggered when a property is removed.
RangeIterator.skip(long)
works correctly.
RangeIterator.skip(long)
works correctly.
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.
Node.setProperty(String, String, int)
throws a
ConstraintViolationException if the type parameter and the type of the
property do not match.
Event.PROPERTY_ADDED
is triggered
for system generated property jcr:primaryType.
NodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns false if childNodeName
does not match the NodeDef
.
NodeType.canAddChildNode(String childNodeName)
returns
true if NodeType
nor does contain a NodeDef
named
childNodeName
nor a residual definition.
VersionHistory.unlock()
throws a LockException
Version.unlock()
throws a LockException
Node.update(String)
works properly by
creating the same node in two workspaces one with a child node the other
with a property set.
VersionHistory.update(String)
throws an
ConstraintViolationException
VersionHistory.update(String)
throws an
ConstraintViolationException
Node.update(String)
after node has
changed in first workspace but not been saved yet.
Node.update(String)
for a node that only exists
in current workspace.
Node.update(String)
with an invalid
workspace.
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.
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.
Node.setProperty(String, Value, int)
throws a
ConstraintViolationException if the type parameter and the type of the
property do not match.
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.
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.
Node.setProperty(String, Value[], int)
throws a
ConstraintViolationException if the type parameter and the type of the
property do not match.
VersionException
is thrown when a
query is stored under a checked in node.
Workspace.move(String, String)
where the destination parent is checked in.
Workspace.move(String, String)
where the source parent is checked in.
Version
of an existing node throws an
ItemExistsException
if removeExisting is set to FALSE.
EventListenerIterator
and returns the
EventListener
as an array.
it
as an array of Nodes.
PropertyType.UNDEFINED
.ValueFactoryTest
tests the different ValueFactory.createValue methods.VersionGraphTest
contains test methods related to version graph
issues.VersionHistoryTest
provides test methods related to version
history methods and general version history issues.VersionLabelTest
covers methods related to version label such as
VersionHistory.addVersionLabel(String, String, boolean)
VersionHistory.removeVersionLabel(String)
Node.restoreByLabel(String, boolean)
VersionHistory.getVersionByLabel(String)
VersionHistory.getVersionLabels()
VersionHistory.hasVersionLabel(javax.jcr.version.Version, String)
VersionHistory.hasVersionLabel(String)
VersionHistory.hasVersionLabel(javax.jcr.version.Version, String)
VersionStorageTest
provides tests regarding VersionHistory.addVersionLabel(String, String, boolean)
VersionTest
covers tests related to the methods of the Version
class.WebAppTestConfig
class reads and saves the config in the tck web app specific way.WorkspaceCloneReferenceableTest
contains tests for cloning
referenceable nodes between workspaces.WorkspaceCloneSameNameSibsTest
contains tests for cloning nodes
as same name siblings between workspace.WorkspaceCloneTest
contains tests for cloning nodes between
workspace.WorkspaceCloneVersionableTest
contains tests for cloning
versionable nodes between workspace.WorkspaceCopyBetweenWorkspacesReferenceableTest
contains tests
for copying referenceable nodes between workspace.WorkspaceCopyBetweenWorkspacesSameNameSibsTest
contains tests
for copying nodes as same name siblings between workspace.WorkspaceCopyBetweenWorkspacesTest
contains tests for copying
nodes between workspace.WorkspaceCopyBetweenWorkspacesVersionableTest
contains tests for
copying versionable nodes between workspace.WorkspaceCopyReferenceableTest
contains tests for copying
referenceable nodes in one workspace.WorkspaceCopySameNameSibsTest
contains tests for copying nodes
as same name siblings in one workspace.WorkspaceCopyTest
contains tests for copying nodes in one
workspace.WorkspaceCopyVersionableTest
contains tests for copying
versionable nodes in one workspace.WorkspaceMoveReferenceableTest
contains tests for moving
referenceable nodes in one workspace.WorkspaceMoveSameNameSibsTest
contains tests for moving nodes
with same name siblings supported in one workspace.WorkspaceMoveTest
contains tests for copying nodes in one
workspace.WorkspaceMoveVersionExceptionTest
contains tests dealing with
moving nodes using Workspace.move(String, String)
.WorkspaceMoveVersionableTest
contains tests for moving
versionable nodes in one workspace.WorkspaceReadMethodsTest
...WorkspaceRestoreTest
provides test methods for the Workspace.restore(javax.jcr.version.Version[], boolean)
method.AbstractJCRTest.propertyName1
.
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |