From 23773a597ce7df1c9b74170a957585653794d61b Mon Sep 17 00:00:00 2001 From: Wagyourtail Date: Tue, 19 Mar 2024 13:07:50 -0600 Subject: [PATCH] update coverage checker to ignore non-public classes --- .gitignore | 1 + .idea/gradle.xml | 1 + .idea/workspace.xml | 105 ++++++++++-------- .../jvmdg/coverage/CoverageChecker.java | 1 + 4 files changed, 60 insertions(+), 48 deletions(-) diff --git a/.gitignore b/.gitignore index e2f40720..bf5f345e 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ build/ !**/src/test/**/build/ ### IntelliJ IDEA ### +.idea/ .idea/modules.xml .idea/jarRepositories.xml .idea/compiler.xml diff --git a/.idea/gradle.xml b/.idea/gradle.xml index aea162b4..f08f2b9a 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ + + + - - + + - { + "keyToString": { + "Gradle.JvmDowngrader [clean] (1).executor": "Run", + "Gradle.JvmDowngrader [coverageReport].executor": "Run", + "Gradle.JvmDowngrader [publishToMavenLocal].executor": "Run", + "Gradle.JvmDowngrader:java-api [:java-api:CoverageChecker.main()].executor": "Run", + "RunOnceActivity.OpenProjectViewOnStart": "true", + "RunOnceActivity.ShowReadmeOnStart": "true", + "SHARE_PROJECT_CONFIGURATION_FILES": "true", + "ToolWindowRun.ShowToolbar": "false", + "WebServerToolWindowFactoryState": "false", + "git-widget-placeholder": "master", + "kotlin-language-version-configured": "true", + "last_opened_file_path": "/mnt/d422463e-6d7f-42b2-b45d-50ba56464d4b/Projects/Other People's Stuff/ktsmc", + "node.js.detected.package.eslint": "true", + "node.js.detected.package.tslint": "true", + "node.js.selected.package.eslint": "(autodetect)", + "node.js.selected.package.tslint": "(autodetect)", + "nodejs_package_manager_path": "npm", + "settings.editor.selected.configurable": "reference.settings.ide.settings.new.ui", + "vue.rearranger.settings.migration": "true" } -}]]> +} @@ -120,7 +123,20 @@ - + + + - - - - - - true - true - false - false - - + - + + - @@ -270,10 +265,24 @@ + + + + + file://$PROJECT_DIR$/src/main/java/xyz/wagyourtail/jvmdg/classloader/DowngradingClassLoader.java + 52 + + + + \ No newline at end of file diff --git a/java-api/src/coverage/java/xyz/wagyourtail/jvmdg/coverage/CoverageChecker.java b/java-api/src/coverage/java/xyz/wagyourtail/jvmdg/coverage/CoverageChecker.java index 58ee4b5f..a9296a08 100644 --- a/java-api/src/coverage/java/xyz/wagyourtail/jvmdg/coverage/CoverageChecker.java +++ b/java-api/src/coverage/java/xyz/wagyourtail/jvmdg/coverage/CoverageChecker.java @@ -168,6 +168,7 @@ public static void compare(List moduleHolders, Map(modName, cn)); if (currentVersion.containsKey(cn.name)) { // check to see what was "removed"