Uploaded image for project: '[Read Only] - Hippo Repository'
  1. [Read Only] - Hippo Repository
  2. REPO-497

Add mock implementation of nodes and properties

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.24.00
    • Fix Version/s: 2.24.00
    • Component/s: None
    • Labels:
      None
    • Similar issues:

      Description

      In unit tests its often enough to have a simple, static tree of JCR nodes whose properties can be changed instead of using a full-blown repository. Using such a mocked node structure instead of a RepositoryTestCase will have several advantages:

      • only setting up a node structure will be significantly faster that starting a test repository for each test
      • it will prevent the warnings output by the RepositoryTestCase
      • it will be easier to create different fixtures for different tests

        Attachments

          Activity

            People

            • Assignee:
              svoortman Simon Voortman (Inactive)
              Reporter:
              mdenburger Mathijs den Burger (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: