Branch: refs/heads/release/1.x

  Home:   https://github.com/jenkinsci/stashnotifier-plugin

  Commit: a34b9afbbdf089fb85bd7962d363bf3b3fe01c86

      
https://github.com/jenkinsci/stashnotifier-plugin/commit/a34b9afbbdf089fb85bd7962d363bf3b3fe01c86

  Author: René Scheibe <rene.sche...@gmail.com>

  Date:   2020-01-06 (Mon, 06 Jan 2020)



  Changed paths:

    M pom.xml

    M src/test/java/org/jenkinsci/plugins/stashNotifier/DescriptorImplTest.java

    M src/test/java/org/jenkinsci/plugins/stashNotifier/StashNotifierTest.java



  Log Message:

  -----------

  Use JUnit & PowerMock versions as defined in parent pom



JUnit is also 4.12 in the parent pom. Therefore no changes regarding this.



PowerMock is 2.0.4 in the parent pom, which means an upgrade and required 
changes.



1) For simplicity of importing always use `org.hamcrest.Matchers` to import

the Hamcrest matchers.



2) Use the new `org.mockito.ArgumentMatchers` instead of the old deprecated

`org.mockito.Mockito` to import Mockito argument matchers.



3) Do not use the now deprecated `anyObject` Mockito argument matcher anymore.



4) The new Mockito argument matchers do not match `null` anymore. Therefore

an additional `TokenMakro` mocking was required.





  Commit: 386a66454cbdc6d600acbb0cb8a7f1499ef6de1e

      
https://github.com/jenkinsci/stashnotifier-plugin/commit/386a66454cbdc6d600acbb0cb8a7f1499ef6de1e

  Author: Pavel Batanov <pa...@batanov.me>

  Date:   2020-01-06 (Mon, 06 Jan 2020)



  Changed paths:

    M pom.xml

    M src/test/java/org/jenkinsci/plugins/stashNotifier/DescriptorImplTest.java

    M src/test/java/org/jenkinsci/plugins/stashNotifier/StashNotifierTest.java



  Log Message:

  -----------

  Merge pull request #259 from darxriggs/update-test-frameworks



Use JUnit & PowerMock versions as defined in parent pom





Compare: 
https://github.com/jenkinsci/stashnotifier-plugin/compare/941324c22526...386a66454cbd

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/stashnotifier-plugin/push/refs/heads/release/1.x/941324-386a66%40github.com.

Reply via email to