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

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.26.00-alpha-1, 2.26.00
    • None

    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

            jsheriff Junaidh Kadhar Sheriff
            wko Woonsan Ko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: