-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mockito Tests not work after updating to 1.9.0 #1101
Comments
Please replace your MockMaker config file:
with the
See: https://javadoc.io/doc/org.mockito/mockito-core/latest/org/mockito/Mockito.html#mockito-inline I'm not sure how the recent changes caused this issue, but I verified the solution, and it works properly. |
thanks for the hint. with |
The issue seems to be caused by this change: It pushes the resources directories from the |
… execution (#1108) * Do not move resource directories to the end of classpath (#1101) * Do not move resource directories to the end of classpath (#1101) - add integration test * Do not move resource directories to the end of classpath (#1101) - include in CHANGES.md * Do not move resource directories to the end of classpath (#1101) - cosmetics * Bump jackson-databind from 2.13.3 to 2.13.4 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.3 to 2.13.4. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-intellij from 3.236 to 3.237 Bumps [structure-intellij](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-base from 3.236 to 3.237 Bumps [structure-base](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-base dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump dd-plist from 1.24 to 1.25 Bumps [dd-plist](https://github.com/3breadt/dd-plist) from 1.24 to 1.25. - [Release notes](https://github.com/3breadt/dd-plist/releases) - [Commits](3breadt/dd-plist@v1.24.0...v1.25.0) --- updated-dependencies: - dependency-name: com.googlecode.plist:dd-plist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Integration Tests: Add missing entries to README file * Invalidate instrumented classes bound to forms if GUI changed [IDEA-298989](https://youtrack.jetbrains.com/issue/IDEA-298989/Duplicate-method-name-getFont) * Integration Tests: extend classpath test with JaCoCo integration * build.gradle.kts: move configuration values to `gradle.properties` file * Bump `javax.xml.bind:jaxb-api` dependency to `2.4.0-b180830.0359` * IntelliJInstrumentCodeTask.kt: make sure `instrumentedClassPath` exists before replacing it with `compiledClassPath` Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
… execution (JetBrains#1108) * Do not move resource directories to the end of classpath (JetBrains#1101) * Do not move resource directories to the end of classpath (JetBrains#1101) - add integration test * Do not move resource directories to the end of classpath (JetBrains#1101) - include in CHANGES.md * Do not move resource directories to the end of classpath (JetBrains#1101) - cosmetics * Bump jackson-databind from 2.13.3 to 2.13.4 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.3 to 2.13.4. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-intellij from 3.236 to 3.237 Bumps [structure-intellij](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-base from 3.236 to 3.237 Bumps [structure-base](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-base dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump dd-plist from 1.24 to 1.25 Bumps [dd-plist](https://github.com/3breadt/dd-plist) from 1.24 to 1.25. - [Release notes](https://github.com/3breadt/dd-plist/releases) - [Commits](3breadt/dd-plist@v1.24.0...v1.25.0) --- updated-dependencies: - dependency-name: com.googlecode.plist:dd-plist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Integration Tests: Add missing entries to README file * Invalidate instrumented classes bound to forms if GUI changed [IDEA-298989](https://youtrack.jetbrains.com/issue/IDEA-298989/Duplicate-method-name-getFont) * Integration Tests: extend classpath test with JaCoCo integration * build.gradle.kts: move configuration values to `gradle.properties` file * Bump `javax.xml.bind:jaxb-api` dependency to `2.4.0-b180830.0359` * IntelliJInstrumentCodeTask.kt: make sure `instrumentedClassPath` exists before replacing it with `compiledClassPath` Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
… execution (JetBrains#1108) * Do not move resource directories to the end of classpath (JetBrains#1101) * Do not move resource directories to the end of classpath (JetBrains#1101) - add integration test * Do not move resource directories to the end of classpath (JetBrains#1101) - include in CHANGES.md * Do not move resource directories to the end of classpath (JetBrains#1101) - cosmetics * Bump jackson-databind from 2.13.3 to 2.13.4 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.3 to 2.13.4. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-intellij from 3.236 to 3.237 Bumps [structure-intellij](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-base from 3.236 to 3.237 Bumps [structure-base](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-base dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump dd-plist from 1.24 to 1.25 Bumps [dd-plist](https://github.com/3breadt/dd-plist) from 1.24 to 1.25. - [Release notes](https://github.com/3breadt/dd-plist/releases) - [Commits](3breadt/dd-plist@v1.24.0...v1.25.0) --- updated-dependencies: - dependency-name: com.googlecode.plist:dd-plist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Integration Tests: Add missing entries to README file * Invalidate instrumented classes bound to forms if GUI changed [IDEA-298989](https://youtrack.jetbrains.com/issue/IDEA-298989/Duplicate-method-name-getFont) * Integration Tests: extend classpath test with JaCoCo integration * build.gradle.kts: move configuration values to `gradle.properties` file * Bump `javax.xml.bind:jaxb-api` dependency to `2.4.0-b180830.0359` * IntelliJInstrumentCodeTask.kt: make sure `instrumentedClassPath` exists before replacing it with `compiledClassPath` Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
… execution (#1108) * Do not move resource directories to the end of classpath (#1101) * Do not move resource directories to the end of classpath (#1101) - add integration test * Do not move resource directories to the end of classpath (#1101) - include in CHANGES.md * Do not move resource directories to the end of classpath (#1101) - cosmetics * Bump jackson-databind from 2.13.3 to 2.13.4 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.3 to 2.13.4. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-intellij from 3.236 to 3.237 Bumps [structure-intellij](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-base from 3.236 to 3.237 Bumps [structure-base](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-base dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump dd-plist from 1.24 to 1.25 Bumps [dd-plist](https://github.com/3breadt/dd-plist) from 1.24 to 1.25. - [Release notes](https://github.com/3breadt/dd-plist/releases) - [Commits](3breadt/dd-plist@v1.24.0...v1.25.0) --- updated-dependencies: - dependency-name: com.googlecode.plist:dd-plist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Integration Tests: Add missing entries to README file * Invalidate instrumented classes bound to forms if GUI changed [IDEA-298989](https://youtrack.jetbrains.com/issue/IDEA-298989/Duplicate-method-name-getFont) * Integration Tests: extend classpath test with JaCoCo integration * build.gradle.kts: move configuration values to `gradle.properties` file * Bump `javax.xml.bind:jaxb-api` dependency to `2.4.0-b180830.0359` * IntelliJInstrumentCodeTask.kt: make sure `instrumentedClassPath` exists before replacing it with `compiledClassPath` Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
… execution (#1108) * Do not move resource directories to the end of classpath (#1101) * Do not move resource directories to the end of classpath (#1101) - add integration test * Do not move resource directories to the end of classpath (#1101) - include in CHANGES.md * Do not move resource directories to the end of classpath (#1101) - cosmetics * Bump jackson-databind from 2.13.3 to 2.13.4 Bumps [jackson-databind](https://github.com/FasterXML/jackson) from 2.13.3 to 2.13.4. - [Release notes](https://github.com/FasterXML/jackson/releases) - [Commits](https://github.com/FasterXML/jackson/commits) --- updated-dependencies: - dependency-name: com.fasterxml.jackson.core:jackson-databind dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-intellij from 3.236 to 3.237 Bumps [structure-intellij](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-intellij dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump structure-base from 3.236 to 3.237 Bumps [structure-base](https://github.com/JetBrains/intellij-plugin-verifier) from 3.236 to 3.237. - [Release notes](https://github.com/JetBrains/intellij-plugin-verifier/releases) - [Commits](JetBrains/intellij-plugin-verifier@intellij-structure-3.236...intellij-structure-3.237) --- updated-dependencies: - dependency-name: org.jetbrains.intellij.plugins:structure-base dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump dd-plist from 1.24 to 1.25 Bumps [dd-plist](https://github.com/3breadt/dd-plist) from 1.24 to 1.25. - [Release notes](https://github.com/3breadt/dd-plist/releases) - [Commits](3breadt/dd-plist@v1.24.0...v1.25.0) --- updated-dependencies: - dependency-name: com.googlecode.plist:dd-plist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Integration Tests: Add missing entries to README file * Invalidate instrumented classes bound to forms if GUI changed [IDEA-298989](https://youtrack.jetbrains.com/issue/IDEA-298989/Duplicate-method-name-getFont) * Integration Tests: extend classpath test with JaCoCo integration * build.gradle.kts: move configuration values to `gradle.properties` file * Bump `javax.xml.bind:jaxb-api` dependency to `2.4.0-b180830.0359` * IntelliJInstrumentCodeTask.kt: make sure `instrumentedClassPath` exists before replacing it with `compiledClassPath` Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Chrzanowski <jakub.chrzanowski@jetbrains.com>
Describe the bug
A clear and concise description of what the bug is.
Add the full stack trace if available.
If possible, run the failing task with
--stacktrace
flag.To Reproduce
see failed action https://github.com/MCMicS/jenkins-control-plugin/runs/8199874953?check_suite_focus=true
Expected behavior
Test will be executed like in version 1.8.1
The text was updated successfully, but these errors were encountered: