Uses of Class
org.apache.jackrabbit.test.JUnitTest
-
-
Uses of JUnitTest in org.apache.jackrabbit.test
Subclasses of JUnitTest in org.apache.jackrabbit.test Modifier and Type Class Description class
AbstractJCRTest
Abstract base class for all JCR test classes. -
Uses of JUnitTest in org.apache.jackrabbit.test.api
Subclasses of JUnitTest in org.apache.jackrabbit.test.api Modifier and Type Class Description class
AddNodeTest
AddNodeTest
contains the test cases for the methodNode.addNode(String, String)
.class
BinaryPropertyTest
Tests a binary property.class
BooleanPropertyTest
Tests a boolean property.class
CheckPermissionTest
Tests ifSession.checkPermission(String, String)
yields the correct permissions for a read-only session and a 'superuser' session.class
DatePropertyTest
Tests a date property.class
DocumentViewImportTest
DocumentViewImportTest
Tests importXML and getImportContentHandler methods of the Workspace and Session class.class
DoublePropertyTest
Tests a double property.class
ExportDocViewTest
ExportDocViewTest
tests the two Session methods :Session.exportDocumentView(String, ContentHandler, boolean, boolean)
andSession.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 .class
ExportSysViewTest
ExportSysViewTest
tests the SysView Export of a tree given by a node path.class
GetWeakReferencesTest
GetWeakReferencesTest
checks implementation ofNode.getWeakReferences()
andNode.getWeakReferences(String)
.class
HasPermissionTest
Tests ifSession.hasPermission(String, String)
yields the correct permissions for a read-only, a read-write and an admin session.class
ImpersonateTest
Tests ifSession.impersonate(Credentials)
to a read-only session respects access controls.class
LifecycleTest
Compliance tests for section 6.12 Lifecycle Management.class
LongPropertyTest
Tests a long property.class
NamePropertyTest
Tests a date property.class
NamespaceRegistryReadMethodsTest
NamespaceRegistryReadMethodsTest
This class tests read method of the NamespaceRegistry class and also the correct Exception throwing for methods not supported in level 1.class
NamespaceRegistryTest
NamespaceRegistryTest
tests whether the repository registers and unregisters namespaces correctly.class
NamespaceRemappingTest
Test cases for JSR 283 sections 3.5.2 Session-Local Mappings and 5.11 Namespace Mapping and the related namespace mapping methods inSession
.class
NameTest
NameTest
...class
NodeAddMixinTest
NodeAddMixinTest
contains the test cases for the methodNode.AddMixin(String)
.class
NodeCanAddMixinTest
NodeCanAddMixinTest
contains the test cases for the methodNode.canAddMixin(String)
.class
NodeDiscoveringNodeTypesTest
All test cases in this class rely on content in the repository.class
NodeItemIsModifiedTest
Test cases forItem.isModified()
on a node.class
NodeItemIsNewTest
Test cases forItem.isNew()
on a node.class
NodeIteratorTest
Tests theNodeIterator
implementation.class
NodeOrderableChildNodesTest
NodeOrderableChildNodesTest
contains all node writing tests (LEVEL 2) that require a node that allows child node ordering (tests therefore are optional).class
NodeReadMethodsTest
Tests the 'read' methods specified in theNode
interface on a level 1 repository.class
NodeRemoveMixinTest
NodeRemoveMixinTest
contains the test cases for the methodNode.removeMixin(String)
.class
NodeSetPrimaryTypeTest
SetPrimaryType
...class
NodeTest
NodeTest
contains all test cases for thejavax.jcr.Node
that are related to writing, modifying or deleting nodes (level 2 of the specification).class
NodeUUIDTest
NodeUUIDTest
contains all tests for thejavax.jcr.Node
class that require a UUID (and therefore are optional).class
PathPropertyTest
Tests a path property.class
PathTest
PathTest
...class
PropertyItemIsModifiedTest
Test cases forItem.isModified()
on a property.class
PropertyItemIsNewTest
Test cases forItem.isNew()
on a property.class
PropertyReadMethodsTest
PropertyReadMethodsTest
...class
PropertyTest
PropertyTest
contains all test cases for thejavax.jcr.Property
that are related to writing, modifying or deleting properties (level 2 of the specification).class
PropertyTypeTest
Tests if the type of a property is set according to the node type as well as no property is of type UNDEFINED.class
ReferenceableRootNodesTest
ReferenceableRootNodesTest
contains tests with referenceable nodes between different workspaces.class
ReferencePropertyTest
Tests a reference property.class
ReferencesTest
ReferencesTest
contains the test cases for the references.class
RepositoryDescriptorTest
Tests if the required repository descriptors are available.class
RepositoryFactoryTest
RepositoryFactoryTest
checks if there is a repository factory implementation and that is works according to the spec.class
RepositoryLoginTest
RepositoryLoginTest
tests the login methods of a repository.class
RootNodeTest
Test cases for the root node.class
SerializationTest
SerializationTest
contains the test cases for the methodWorkspace.exportSysView()
andSession.importSysView()
.class
SessionReadMethodsTest
SessionReadMethodsTest
...class
SessionRemoveItemTest
SessionRemoveItemTest
...class
SessionTest
SessionTest
contains all test cases for thejavax.jcr.Session
class that are level 2 (modifing repository content).class
SessionUUIDTest
SessionUUIDTest
contains all tests for theSession
class that require a UUID (and therefore are optional).class
SetPropertyAssumeTypeTest
SetPropertyAssumeTypeTest
tests if when setting a property of typePropertyType.UNDEFINED
the type is assumed correctly.class
SetPropertyBooleanTest
SetPropertyBooleanTest
tests theNode.setProperty(String, boolean)
methodclass
SetPropertyCalendarTest
SetPropertyCalendarTest
tests theNode.setProperty(String, Calendar)
methodclass
SetPropertyConstraintViolationExceptionTest
SetPropertyConstraintViolationExceptionTest
tests if setProperty() throws a ConstraintViolationException either immediately (by setValue()) or on save, if the change would violate a value constraint.class
SetPropertyDecimalTest
SetPropertyDecmimalTest
tests theNode.setProperty(String, BigDecimal)
methodclass
SetPropertyDoubleTest
SetPropertyDoubleTest
tests theNode.setProperty(String, double)
methodclass
SetPropertyInputStreamTest
SetPropertyInputStreamTest
tests theNode.setProperty(String, InputStream)
methodclass
SetPropertyLongTest
SetPropertyLongTest
tests theNode.setProperty(String, long)
methodclass
SetPropertyNodeTest
SetPropertyNodeTest
tests theNode.setProperty(String, Node)
methodclass
SetPropertyStringTest
SetPropertyStringTest
tests the methodsNode.setProperty(String, String)
,Node.setProperty(String, String[])
andNode.setProperty(String, String[], int)
class
SetPropertyValueTest
SetPropertyValueTest
tests the methodsNode.setProperty(String, Value)
,Node.setProperty(String, Value[])
andNode.setProperty(String, Value[], int)
class
SetValueBinaryTest
Tests the variousProperty.setValue(Value)
methods.class
SetValueBooleanTest
Tests the variousProperty.setValue(Value)
methods.class
SetValueConstraintViolationExceptionTest
SetValueConstraintViolationExceptionTest
tests if setValue() throws a ConstraintViolationException either immediately (by setValue()) or on save, if the change would violate a value constraint.class
SetValueDateTest
Tests the variousProperty.setValue(Value)
methods.class
SetValueDecimalTest
Tests the variousProperty.setValue(Value)
methods.class
SetValueDoubleTest
Tests the variousProperty.setValue(Value)
methods.class
SetValueInputStreamTest
Tests theProperty.setValue(java.io.InputStream)
method.class
SetValueLongTest
Tests the variousProperty.setValue(Value)
methods.class
SetValueReferenceTest
Tests the variousProperty.setValue(Value)
methods.class
SetValueStringTest
Tests the variousProperty.setValue(Value)
methods.class
SetValueValueFormatExceptionTest
SetValueValueFormatExceptionTest
tests if Property.setValue() throws a ValueFormatException if a best-effort conversion fails.class
SetValueVersionExceptionTest
SetValueVersionExceptionTest
...class
ShareableNodeTest
Tests features available with shareable nodes.class
StringPropertyTest
StringPropertyTest
tests a String property against the conversions to other Properties (except Name and Path property).class
UndefinedPropertyTest
Tests if no property in the workspace is of typePropertyType.UNDEFINED
.class
ValueFactoryTest
ValueFactoryTest
tests the different ValueFactory.createValue methods.class
WorkspaceCloneReferenceableTest
WorkspaceCloneReferenceableTest
contains tests for cloning referenceable nodes between workspaces.class
WorkspaceCloneSameNameSibsTest
WorkspaceCloneSameNameSibsTest
contains tests for cloning nodes as same name siblings between workspace.class
WorkspaceCloneTest
WorkspaceCloneTest
contains tests for cloning nodes between workspace.class
WorkspaceCloneVersionableTest
WorkspaceCloneVersionableTest
contains tests for cloning versionable nodes between workspace.class
WorkspaceCopyBetweenWorkspacesReferenceableTest
WorkspaceCopyBetweenWorkspacesReferenceableTest
contains tests for copying referenceable nodes between workspace.class
WorkspaceCopyBetweenWorkspacesSameNameSibsTest
WorkspaceCopyBetweenWorkspacesSameNameSibsTest
contains tests for copying nodes as same name siblings between workspace.class
WorkspaceCopyBetweenWorkspacesTest
WorkspaceCopyBetweenWorkspacesTest
contains tests for copying nodes between workspace.class
WorkspaceCopyBetweenWorkspacesVersionableTest
WorkspaceCopyBetweenWorkspacesVersionableTest
contains tests for copying versionable nodes between workspace.class
WorkspaceCopyReferenceableTest
WorkspaceCopyReferenceableTest
contains tests for copying referenceable nodes in one workspace.class
WorkspaceCopySameNameSibsTest
WorkspaceCopySameNameSibsTest
contains tests for copying nodes as same name siblings in one workspace.class
WorkspaceCopyTest
WorkspaceCopyTest
contains tests for copying nodes in one workspace.class
WorkspaceCopyVersionableTest
WorkspaceCopyVersionableTest
contains tests for copying versionable nodes in one workspace.class
WorkspaceManagementTest
WorkspaceManagementTest
...class
WorkspaceMoveReferenceableTest
WorkspaceMoveReferenceableTest
contains tests for moving referenceable nodes in one workspace.class
WorkspaceMoveSameNameSibsTest
WorkspaceMoveSameNameSibsTest
contains tests for moving nodes with same name siblings supported in one workspace.class
WorkspaceMoveTest
WorkspaceMoveTest
contains tests for copying nodes in one workspace.class
WorkspaceMoveVersionableTest
WorkspaceMoveVersionableTest
contains tests for moving versionable nodes in one workspace.class
WorkspaceReadMethodsTest
WorkspaceReadMethodsTest
...class
WorkspaceTest
WorkspaceTest
... -
Uses of JUnitTest in org.apache.jackrabbit.test.api.lock
Subclasses of JUnitTest in org.apache.jackrabbit.test.api.lock Modifier and Type Class Description class
AbstractLockTest
AbstractLockTest
...class
DeepLockTest
DeepLockTest
...class
LockManagerTest
LockManagerTest
...class
LockTest
LockTest
contains the test cases for the lock support in the JCR specification.class
OpenScopedLockTest
OpenScopedLockTest
...class
SessionScopedLockTest
SessionScopedLockTest
...class
SetValueLockExceptionTest
SetValueLockExceptionTest
Tests throwing of a LockException for the Property.setValue() methods in case the parentNode of the given property is locked. -
Uses of JUnitTest in org.apache.jackrabbit.test.api.nodetype
Subclasses of JUnitTest in org.apache.jackrabbit.test.api.nodetype Modifier and Type Class Description class
CanAddChildNodeCallWithNodeTypeTest
TestsNodeType.canAddChildNode(String childNodeName, String nodeTypeName)
returns true if a node of namechildNodeName
and of node typechildNodeName
could be added to a node of typeNodeType
.class
CanAddChildNodeCallWithoutNodeTypeTest
TestsNodeType.canAddChildNode(String childNodeName)
returns true if a node of namechildNodeName
could be added to a node of typeNodeType
.class
CanRemoveItemTest
Tests thatNodeType.canRemoveItem(String)
returns true node or property is removable (same forNodeType.canRemoveNode(String)
andNodeType.canRemoveProperty(String)
).class
CanSetPropertyBinaryTest
Test ofNodeType.canSetProperty(String propertyName, Value value)
andNodeType.canSetProperty(String propertyName, Value[] values)
where property is of type Binary.class
CanSetPropertyBooleanTest
Test ofNodeType.canSetProperty(String propertyName, Value value)
andNodeType.canSetProperty(String propertyName, Value[] values)
where property is of type Boolean.class
CanSetPropertyDateTest
Test ofNodeType.canSetProperty(String propertyName, Value value)
andNodeType.canSetProperty(String propertyName, Value[] values)
where property is of type Date.class
CanSetPropertyDoubleTest
Test ofNodeType.canSetProperty(String propertyName, Value value)
andNodeType.canSetProperty(String propertyName, Value[] values)
where property is of type Double.class
CanSetPropertyLongTest
Test ofNodeType.canSetProperty(String propertyName, Value value)
andNodeType.canSetProperty(String propertyName, Value[] values)
where property is of type Long.class
CanSetPropertyMultipleTest
Test ofNodeType.canSetProperty(String propertyName, Value[] values)
class
CanSetPropertyNameTest
Test ofNodeType.canSetProperty(String propertyName, Value value)
andNodeType.canSetProperty(String propertyName, Value[] values)
where property is of type Name.class
CanSetPropertyPathTest
Test ofNodeType.canSetProperty(String propertyName, Value value)
andNodeType.canSetProperty(String propertyNa me, Value[] values)
where property is of type Path.class
CanSetPropertyStringTest
Test ofNodeType.canSetProperty(String propertyName, Value value)
andNodeType.canSetProperty(String propertyName, Value[] values)
where property is of type String.class
CanSetPropertyTest
Test ofNodeType.canSetProperty(String propertyName, Value value)
class
NodeDefTest
Tests if node definitions are respected in node instances in the workspace.class
NodeTypeCreationTest
Tests the node type creation functionality of theNodeTypeManager
.class
NodeTypeManagerTest
Tests if theNodeTypeManager
properly returns primary types an mixin types.class
NodeTypeTest
Tests if the node type hierarchy is correctly mapped to the methods defined inNodeType
.class
PredefinedNodeTypeTest
PredefinedNodeTypeTest
tests if the predefined node types are implemented correctly.class
PropertyDefTest
Tests if property definitions are properly defined. -
Uses of JUnitTest in org.apache.jackrabbit.test.api.observation
Subclasses of JUnitTest in org.apache.jackrabbit.test.api.observation Modifier and Type Class Description class
AbstractObservationTest
This class implements the basicAbstractObservationTest.setUp()
andAbstractObservationTest.tearDown()
methods for the observation test cases.class
AddEventListenerTest
Tests the options for addEventListener().class
EventIteratorTest
Tests the methods the following methods:RangeIterator.getSize()
RangeIterator.getPosition()
RangeIterator.skip(long)
class
EventJournalTest
EventJournalTest
performs EventJournal tests.class
EventTest
Tests methods on theEvent
interface.class
GetDateTest
GetDateTest
checks if the dates returned by events are monotonically increasing.class
GetIdentifierTest
IdentifierTest
checks if the identifier of an event is correct.class
GetInfoTest
GetInfoTest
checks that the info map is empty for event types:Event.NODE_ADDED
,Event.NODE_REMOVED
,Event.PROPERTY_ADDED
,Event.PROPERTY_CHANGED
andEvent.PROPERTY_REMOVED
.class
GetRegisteredEventListenersTest
Tests the methodObservationManager.getRegisteredEventListeners()
.class
GetUserDataTest
GetUserDataTest
performs observation tests with user data set on the observation manager.class
LockingTest
Tests if locking a node triggers property added events for jcr:lockOwner and jcr:lockIsDeep.class
NodeAddedTest
Test cases forEvent.NODE_ADDED
events.class
NodeMovedTest
Tests ifSession.move(java.lang.String, java.lang.String)
operations trigger the appropriate observation events.class
NodeRemovedTest
Test cases forEvent.NODE_REMOVED
events.class
NodeReorderTest
Tests ifNode.orderBefore(String, String)
operations trigger the appropriate observation events.class
PropertyAddedTest
Test cases forEvent.PROPERTY_ADDED
events.class
PropertyChangedTest
Test cases forEvent.PROPERTY_CHANGED
events.class
PropertyRemovedTest
Test cases forEvent.PROPERTY_REMOVED
events.class
WorkspaceOperationTest
Tests if workspace operations trigger the appropriate observation events. -
Uses of JUnitTest in org.apache.jackrabbit.test.api.query
Subclasses of JUnitTest in org.apache.jackrabbit.test.api.query Modifier and Type Class Description class
AbstractQueryLevel2Test
Implements common setup methods for level 2 queries.class
AbstractQueryTest
Abstract base class for query test cases.class
CreateQueryTest
CreateQueryTest
checks ifQueryManager.createQuery(String, String)
throws anInvalidQueryException
for an unknown query language.class
DerefQueryLevel1Test
Tests the XPath function jcr:deref() in a level 1 repository.class
ElementTest
Tests the element test function in XPath.class
GetLanguageTest
Test the methodQuery.getLanguage()
.class
GetPersistentQueryPathLevel1Test
Test the methodQuery.getStoredQueryPath()
.class
GetPersistentQueryPathTest
Test the methodQuery.getStoredQueryPath()
.class
GetPropertyNamesTest
Tests if the property names of an XPath query without a jcr:primaryType predicate matches the ones declared in nt:base.class
GetStatementTest
Tests the methodQuery.getStatement()
.class
GetSupportedQueryLanguagesTest
Test the methodQueryManager.getSupportedQueryLanguages()
.class
OrderByDateTest
Test cases for order by queries on date properties.class
OrderByDecimalTest
OrderByDecimalTest
tests order by queries with decimal properties.class
OrderByDoubleTest
Test cases for order by queries on double properties.class
OrderByLengthTest
OrderByLengthTest
contains test cases for order by queries on property lengths.class
OrderByLocalNameTest
OrderByLocalNameTest
contains test cases for order by queries on local node names.class
OrderByLongTest
Test cases for order by queries on long properties.class
OrderByLowerCaseTest
OrderByLowerCaseTest
contains test cases for order by queries on lower cased property values.class
OrderByMultiTypeTest
Test cases for order by queries on long properties.class
OrderByNameTest
OrderByNameTest
contains test cases for order by queries on node names.class
OrderByStringTest
Test cases for order by queries on String properties.class
OrderByUpperCaseTest
OrderByUpperCaseTest
contains test cases for order by queries on upper cased property values.class
OrderByURITest
OrderByURITest
tests order by queries with URI properties.class
PredicatesTest
Tests if queries with predicates are accepted.class
QueryResultNodeIteratorTest
Tests methods onNodeIterator
returned byQueryResult.getNodes()
.class
SaveTest
Tests the methodQuery.storeAsNode(String)
.class
SetLimitTest
SetLimitTest
contains test cases for the method Query.setLimit().class
SetOffsetTest
SetOffsetTest
contains test cases for the method Query.setOffset().class
SimpleSelectionTest
SimpleSelectionTest
...class
SQLJcrPathTest
Tests if the jcr:path property is returned in the query result.class
SQLJoinTest
Tests SQL statements with a join of a node type with a mixin type.class
SQLOrderByTest
This test searches for all nodes of a specific node type and orders them by the property with name configured asAbstractJCRTest.propertyName1
.class
SQLPathTest
Tests path predicates in SQL queries.class
SQLQueryLevel2Test
Tests SQL queries on content written to the workspace by the test itself.class
TextNodeTest
Tests the text() node test in XPath.class
XPathDocOrderTest
Tests if the repository supports document order in XPath.class
XPathJcrPathTest
Tests if the jcr:path property is returned in the query result.class
XPathOrderByTest
This test searches for all nodes of a specific node type and orders them by the property with name configured asAbstractJCRTest.propertyName1
.class
XPathPosIndexTest
Tests if the repository supports position index in XPath.class
XPathQueryLevel2Test
Tests XPath queries on content written to the workspace by the test itself. -
Uses of JUnitTest in org.apache.jackrabbit.test.api.query.qom
Subclasses of JUnitTest in org.apache.jackrabbit.test.api.query.qom Modifier and Type Class Description class
AbstractJoinTest
AbstractJoinTest
provides utility methods for join related tests.class
AbstractQOMTest
AbstractQOMTest
is a base class for test cases on the JQOM.class
AndConstraintTest
AndConstraintTest
contains tests that check AND constraints.class
BindVariableValueTest
BindVariableValueTest
...class
ChildNodeJoinConditionTest
ChildNodeJoinConditionTest
contains test cases that coverChildNodeJoinCondition
.class
ChildNodeTest
ChildNodeTest
contains test cases that cover the QOM ChildNode condition.class
ColumnTest
ColumnTest
contains test cases related to QOM column.class
DescendantNodeJoinConditionTest
DescendantNodeJoinConditionTest
contains test cases that coverDescendantNodeJoinCondition
.class
DescendantNodeTest
DescendantNodeTest
contains test cases related to QOM DescendantNode constraints.class
EquiJoinConditionTest
EquiJoinConditionTest
contains test cases that coverEquiJoinCondition
.class
FullTextSearchScoreTest
FullTextSearchScoreTest
contains fulltext search score tests.class
GetQueryTest
GetQueryTest
contains test cases that checkQueryManager.getQuery(Node)
.class
LengthTest
LengthTest
performs tests with the Query Object Model length operand.class
NodeLocalNameTest
NodeLocalNameTest
checks if conversion of literals is correctly performed and operators work as specified.class
NodeNameTest
NodeNameTest
checks if conversion of literals is correctly performed and operators work as specified.class
NotConstraintTest
NotConstraintTest
contains tests that check NOT constraints.class
OrConstraintTest
OrConstraintTest
contains tests that check OR constraints.class
OrderingTest
OrderingTest
contains test cases that checkclass
PropertyExistenceTest
PropertyExistenceTest
performs a test withPropertyExistence
.class
PropertyValueTest
PropertyValueTest
performs a test with property value comparision.class
QueryObjectModelFactoryTest
QueryObjectModelFactoryTest
tests all methods on theQueryObjectModelFactory
.class
RowTest
RowIteratorTest
contains test cases forRow
.class
SameNodeJoinConditionTest
SameNodeJoinConditionTest
contains test cases that coverSameNodeJoinCondition
.class
SameNodeTest
SameNodeTest
...class
SelectorTest
SelectorTest
...class
UpperLowerCaseTest
UpperLowerCaseTest
performs tests with upper- and lower-case operands. -
Uses of JUnitTest in org.apache.jackrabbit.test.api.retention
Subclasses of JUnitTest in org.apache.jackrabbit.test.api.retention Modifier and Type Class Description class
AbstractRetentionTest
AbstractAccessControlTest
...class
HoldEffectTest
HoldEffectTest
...class
HoldTest
RetentionManagerTest
...class
RetentionPolicyEffectTest
RetentionPolicyEffectTest
...class
RetentionPolicyTest
RetentionPolicyTest
... -
Uses of JUnitTest in org.apache.jackrabbit.test.api.security
Subclasses of JUnitTest in org.apache.jackrabbit.test.api.security Modifier and Type Class Description class
AbstractAccessControlTest
AbstractAccessControlTest
...class
AccessControlDiscoveryTest
AccessControlDiscoveryTest
...class
AccessControlListTest
AccessControlEntryTest
...class
AccessControlPolicyIteratorTest
AccessControlPolicyIteratorTest
...class
AccessControlPolicyTest
AccessControlPolicyTest
...class
RSessionAccessControlDiscoveryTest
RSessionAccessControlDiscoveryTest
: A read-only session must be able to call 'hasPrivilege' and 'getPrivileges' and 'getSupportedPrivileges' without access denied exceptionclass
RSessionAccessControlPolicyTest
AccessControlPolicyTest
...class
RSessionAccessControlTest
RSessionAccessControlTest
... -
Uses of JUnitTest in org.apache.jackrabbit.test.api.version
Subclasses of JUnitTest in org.apache.jackrabbit.test.api.version Modifier and Type Class Description class
AbstractMergeTest
AbstractMergeTest
is the abstract base class for all merge related test classes.class
AbstractOnParentVersionTest
AbstractOnParentVersionTest
: the abstract base class for all tests related to OnParentVersion issues.class
AbstractVersionTest
AbstractVersionTest
is the abstract base class for all versioning related test classes.class
ActivitiesTest
ActivitiesTest
covers methods related to the Activities feature in Versioning.class
CheckinTest
CheckinTest
covers tests related toNode.checkin()
.class
CheckoutTest
class
ConfigurationsTest
ConfigurationsTest
covers methods related to the Configurations feature in Versioning.class
CopyTest
CopyTest
checks if full versionable nodes are copied correctly: 15.1.4 Copying Versionable Nodes and Version Lineage Under both simple and full versioning, when an existing versionable node N is copied to a new location either in the same workspace or another, and the repository preserves the versionable mixin (see 10.7.4 Dropping Mixins on Copy): - A copy of N, call it M, is created, as usual.class
FrozenNodeTest
CheckinTest
covers tests related toNode.checkin()
.class
GetContainingHistoryTest
GetContainingHistoryTest
provides test methods coveringVersion.getContainingHistory()
.class
GetCreatedTest
GetCreatedTest
provides test methods coveringVersion.getCreated()
.class
GetPredecessorsTest
GetPredecessorsTest
provides test methods coveringVersion.getPredecessors()
,Version.getLinearPredecessor()
andVersion.getLinearSuccessor()
.class
GetReferencesNodeTest
GetReferencesNodeTest
contains test to check if references are returned from versions.class
GetVersionableUUIDTest
GetVersionableUUIDTest
provides test methods coveringVersionHistory.getVersionableUUID()
andVersionHistory.getVersionableIdentifier()
.class
MergeActivityTest
MergeActivityTest
contains tests dealing with merging activitiesclass
MergeCancelMergeTest
MergeCancelMergeTest
contains tests dealing with nodes on which cancelMerge is called.class
MergeCheckedoutSubNodeTest
MergeCheckedoutSubNodeTest
contains tests dealing with checked-out nodes in the subtree of the node on which merge is called.class
MergeDoneMergeTest
MergeDoneMergeTest
contains test dealing with nodes on which doneMerge is called.class
MergeNodeIteratorTest
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.class
MergeNodeTest
MergeNodeTest
contains tests dealing with general merge node calls.class
MergeNonVersionableSubNodeTest
MergeNonVersionableSubNodeTest
contains test dealing with nonversionable nodes in the subtree of the node on which merge is called.class
MergeShallowTest
MergeShallowTest
contains tests dealing with general shallow merge calls.class
MergeSubNodeTest
MergeSubNodeTest
contains tests dealing with sub nodes in the subtree of the node on which merge is called.class
OnParentVersionAbortTest
OnParentVersionAbortTest
tests the OnParentVersionABORT
behaviour.class
OnParentVersionComputeTest
OnParentVersionComputeTest
tests the OnParentVersionCOMPUTE
behaviour.class
OnParentVersionCopyTest
OnParentVersionCopyTest
tests the OnParentVersionCOPY
behaviour.class
OnParentVersionIgnoreTest
OnParentVersionIgnoreTest
tests the OnParentVersionIGNORE
behaviour.class
OnParentVersionInitializeTest
OnParentVersionInitializeTest
tests theINITIALIZE
behaviour.class
RemoveVersionTest
RemoveVersionTest
provides test methods coveringVersionHistory.removeVersion(String)
.class
RestoreTest
RestoreTest
covers tests related to the restore methods available onNode
:Node.restore(String, boolean)
Node.restore(javax.jcr.version.Version, boolean)
Node.restore(javax.jcr.version.Version, String, boolean)
class
SessionMoveVersionExceptionTest
SessionMoveVersionExceptionTest
contains tests dealing with moving nodes usingSession.move(String, String)
.class
VersionGraphTest
VersionGraphTest
contains test methods related to version graph issues.class
VersionHistoryTest
VersionHistoryTest
provides test methods related to version history methods and general version history issues.class
VersionLabelTest
VersionLabelTest
covers methods related to version label such asVersionHistory.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)
class
VersionStorageTest
VersionStorageTest
provides tests regardingVersionHistory.addVersionLabel(String, String, boolean)
class
VersionTest
VersionTest
covers tests related to the methods of theVersion
class.class
WorkspaceMoveVersionExceptionTest
WorkspaceMoveVersionExceptionTest
contains tests dealing with moving nodes usingWorkspace.move(String, String)
.class
WorkspaceRestoreTest
WorkspaceRestoreTest
provides test methods for theWorkspace.restore(javax.jcr.version.Version[], boolean)
method. -
Uses of JUnitTest in org.apache.jackrabbit.test.api.version.simple
Subclasses of JUnitTest in org.apache.jackrabbit.test.api.version.simple Modifier and Type Class Description class
AbstractVersionTest
AbstractVersionTest
is the abstract base class for all simple versioning related test classes.class
BasicTest
BasicTest
checks if simple versioning is correctly set upclass
CheckinTest
CheckinTest
covers tests related toNode.checkin()
on simple versionable nodes.class
CheckoutTest
SVCheckoutTest
covers tests related toNode.checkout()
andNode.isCheckedOut()
of simple versionable nodes.class
CopyTest
CopyTest
checks if simple versionable nodes are copied correctly: 15.1.4 Copying Versionable Nodes and Version Lineage Under both simple and full versioning, when an existing versionable node N is copied to a new location either in the same workspace or another, and the repository preserves the versionable mixin (see 10.7.4 Dropping Mixins on Copy): - A copy of N, call it M, is created, as usual.class
FrozenNodeTest
SVFrozenNodeTest
covers tests related to frozen nodes in simple versioningclass
RestoreTest
RestoreTest
covers tests related to the restore methods available onNode
in simple versioning:Node.restore(String, boolean)
Node.restore(Version, boolean)
Node.restore(Version, String, boolean)
-