[midPoint-git] [Evolveum/midpoint] 96f34a: Add (disabled) tests for various issues

Pavol Mederly mederly at evolveum.com
Thu May 31 10:49:35 CEST 2018


  Branch: refs/heads/support-3.7
  Home:   https://github.com/Evolveum/midpoint
  Commit: 96f34ac8ab016b81f2b172b4cb4f352ff61be025
      https://github.com/Evolveum/midpoint/commit/96f34ac8ab016b81f2b172b4cb4f352ff61be025
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M infra/prism/src/test/java/com/evolveum/midpoint/prism/TestDelta.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestDiffEquals.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestSchemaDelta.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/credentials/CredentialPolicyEvaluator.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/AbstractPasswordTest.java
    M repo/repo-test-util/src/main/java/com/evolveum/midpoint/test/AbstractIntegrationTest.java

  Log Message:
  -----------
  Add (disabled) tests for various issues

Namely:
- MID-4593: First password change sets no metadata
- MID-4688: Non-literal prism diff honoring metadata is broken
- MID-4689: Specify ObjectDelta.findItemDelta semantics
- MID-4690: ObjectDelta.merge fails on some occasions

(cherry picked from commit 131c8fb)


  Commit: f0cd01f4c2048107111dba869f05e3e308bb83fe
      https://github.com/Evolveum/midpoint/commit/f0cd01f4c2048107111dba869f05e3e308bb83fe
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M infra/prism/src/main/java/com/evolveum/midpoint/prism/delta/ItemDelta.java
    M infra/prism/src/main/java/com/evolveum/midpoint/prism/delta/ObjectDelta.java
    M infra/schema/src/test/java/com/evolveum/midpoint/schema/TestSchemaDelta.java

  Log Message:
  -----------
  Preliminarily fix delta merging (MID-4690)

It looks like the special sub-delta handling code introduced into
ItemDelta.findItemDelta causes problems during object delta merging -
when specific combinations of overlapping modifications are merged.

This partly fixes MID-4593 "First password change sets no metadata".

(This commit is an attempt to fix that; not much tested yet.)

(cherry picked from commit a4ee8b6)


  Commit: cd35e7f66b9f4d9f17a9e28b1564daf5210542d8
      https://github.com/Evolveum/midpoint/commit/cd35e7f66b9f4d9f17a9e28b1564daf5210542d8
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M infra/prism/src/main/java/com/evolveum/midpoint/prism/delta/ObjectDelta.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/credentials/CredentialsProcessor.java
    M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/password/AbstractPasswordTest.java

  Log Message:
  -----------
  Fix hashing first password (MID-4593)

(cherry picked from commit 6863b7f)


  Commit: 197638d780e59b8dc6608dd39722e310a0e1a4cb
      https://github.com/Evolveum/midpoint/commit/197638d780e59b8dc6608dd39722e310a0e1a4cb
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2018-05-31 (Thu, 31 May 2018)

  Changed paths:
    M infra/prism/src/main/java/com/evolveum/midpoint/prism/util/PrismTestUtil.java

  Log Message:
  -----------
  Fix compilation issues (after cherry-pick)


Compare: https://github.com/Evolveum/midpoint/compare/9bed5af9a9c0...197638d780e5
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the midPoint-svn mailing list