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

TestUtils - Support MockNode#setProperty() methods with primitive type arguments

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.26.00-alpha-1, 2.26.00
    • Component/s: None
    • Labels:
    • Similar issues:

      Description

      Currently, the following operations are not yet supported. I'd like to use those as well in unit tests:

      @Override
      public Property setProperty(final String name, final Value value, final int type)

      { throw new UnsupportedOperationException(); }

      @Override
      public Property setProperty(final String name, final Value[] values, final int type) { throw new UnsupportedOperationException(); }

      @Override
      public Property setProperty(final String name, final InputStream value)

      { throw new UnsupportedOperationException(); }

      @Override
      public Property setProperty(final String name, final Binary value) { throw new UnsupportedOperationException(); }

      @Override
      public Property setProperty(final String name, final boolean value)

      { throw new UnsupportedOperationException(); }

      @Override
      public Property setProperty(final String name, final double value) { throw new UnsupportedOperationException(); }

      @Override
      public Property setProperty(final String name, final BigDecimal value)

      { throw new UnsupportedOperationException(); }

      @Override
      public Property setProperty(final String name, final long value) { throw new UnsupportedOperationException(); }

      @Override
      public Property setProperty(final String name, final Calendar value)

      { throw new UnsupportedOperationException(); }

      @Override
      public Property setProperty(final String name, final Node value) { throw new UnsupportedOperationException(); }

        Attachments

          Activity

            People

            • Assignee:
              jsheriff Junaidh Kadhar Sheriff
              Reporter:
              wko Woonsan Ko
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: