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

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.00
    • 2.24.00
    • None
    • None

    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

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

            Dates

              Created:
              Updated:
              Resolved: