-
Notifications
You must be signed in to change notification settings - Fork 12
Unit Test Coverage 85%+ (AST-157392) #257
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
Open
cx-aniket-shinde
wants to merge
23
commits into
main
Choose a base branch
from
coverage/cycle-6
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
fb46473
Test covergae to 55%
cx-atish-jadhav be3b592
coverage/cycle-6: add unit tests for ToolBarActions groupBy, ActionCa…
cx-aniket-shinde 1d2d41b
Fix ActionOpenPreferencesPageTest hang: run MockedStatic tests on tes…
cx-aniket-shinde 7a66a4e
coverage/cycle-6: Remove UI-mixed test files, add HoverListenerTest a…
cx-aniket-shinde ecc9518
fix: Configure JaCoCo report execution to point to production classes
cx-aniket-shinde e6e5454
test: Make HoverListenerTest and GlobalSettingsTest public, add unit.…
cx-aniket-shinde 9abeb83
coverage/cycle-6: Add NotificationPopUpUITest (9 tests), fix test cla…
cx-aniket-shinde 579a417
coverage/cycle-6: Restore working JaCoCo configuration from main branch
cx-aniket-shinde e44d98b
coverage/cycle-6: Update JaCoCo configuration from other/release-inte…
cx-aniket-shinde 896b68d
Fix test execution: disable useUIHarness and add proper surefire phas…
cx-aniket-shinde d422408
Configure complete JaCoCo coverage reporting pipeline
cx-aniket-shinde b67df7e
Add Maven profiles for selective test execution
cx-aniket-shinde 30dbff4
Revert "Add Maven profiles for selective test execution"
cx-aniket-shinde e03f0bb
Revert "Configure complete JaCoCo coverage reporting pipeline"
cx-aniket-shinde 1830fc0
Revert "Fix test execution: disable useUIHarness and add proper suref…
cx-aniket-shinde 108842f
removed ui test from unit part
cx-aniket-shinde a5a9872
Resolved failing test case
cx-aniket-shinde 4efdbf9
added test case
cx-aniket-shinde cea32f9
added test case
cx-aniket-shinde 0250774
added test case
cx-aniket-shinde 622cd62
resolved failing test case
cx-aniket-shinde c2a72e5
resolved failing test case
cx-aniket-shinde 9baf5c5
resolved failing test case
cx-aniket-shinde File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
327 changes: 327 additions & 0 deletions
327
checkmarx-ast-eclipse-plugin-tests/.tycho-consumer-pom.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,327 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
| <modelVersion>4.0.0</modelVersion> | ||
| <groupId>com.checkmarx.ast.eclipse.tests</groupId> | ||
| <artifactId>com.checkmarx.ast.eclipse.tests</artifactId> | ||
| <version>1.0.0-SNAPSHOT</version> | ||
| <description>Checkmarx Eclipse Plugin Integration Tests Project</description> | ||
| <properties> | ||
| <test.includes>**/Test*.java,**/*Test.java,**/*Tests.java,**/*TestCase.java</test.includes> | ||
| </properties> | ||
| <dependencies> | ||
| <dependency> | ||
| <groupId>jakarta.inject</groupId> | ||
| <artifactId>jakarta.inject-api</artifactId> | ||
| <version>2.0.1</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.osgi</groupId> | ||
| <artifactId>org.osgi.service.event</artifactId> | ||
| <version>1.4.1</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.checkmarx.ast.eclipse</groupId> | ||
| <artifactId>com.checkmarx.eclipse.plugin</artifactId> | ||
| <version>1.0.0-SNAPSHOT</version> | ||
| <scope>compile</scope> | ||
| <optional>false</optional> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.bouncycastle</groupId> | ||
| <artifactId>bcpg-jdk18on</artifactId> | ||
| <version>1.79</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.bouncycastle</groupId> | ||
| <artifactId>bcprov-jdk18on</artifactId> | ||
| <version>1.79</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.bouncycastle</groupId> | ||
| <artifactId>bcutil-jdk18on</artifactId> | ||
| <version>1.79</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.jupiter</groupId> | ||
| <artifactId>junit-jupiter-api</artifactId> | ||
| <version>5.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.google.guava</groupId> | ||
| <artifactId>guava</artifactId> | ||
| <version>33.3.1-jre</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.commons</groupId> | ||
| <artifactId>commons-lang3</artifactId> | ||
| <version>3.17.0</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.google.guava</groupId> | ||
| <artifactId>failureaccess</artifactId> | ||
| <version>1.0.2</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.googlecode.javaewah</groupId> | ||
| <artifactId>JavaEWAH</artifactId> | ||
| <version>1.2.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>com.ibm.icu</groupId> | ||
| <artifactId>icu4j</artifactId> | ||
| <version>76.1</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>net.java.dev.jna</groupId> | ||
| <artifactId>jna-platform</artifactId> | ||
| <version>5.15.0</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>jakarta.annotation</groupId> | ||
| <artifactId>jakarta.annotation-api</artifactId> | ||
| <version>2.1.1</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.eclipse.jetty.toolchain</groupId> | ||
| <artifactId>jetty-servlet-api</artifactId> | ||
| <version>4.0.6</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>jakarta.el</groupId> | ||
| <artifactId>jakarta.el-api</artifactId> | ||
| <version>3.0.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>javax.servlet.jsp</groupId> | ||
| <artifactId>javax.servlet.jsp-api</artifactId> | ||
| <version>2.3.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.platform</groupId> | ||
| <artifactId>junit-platform-commons</artifactId> | ||
| <version>1.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.opentest4j</groupId> | ||
| <artifactId>opentest4j</artifactId> | ||
| <version>1.3.0</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.jupiter</groupId> | ||
| <artifactId>junit-jupiter-engine</artifactId> | ||
| <version>5.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.platform</groupId> | ||
| <artifactId>junit-platform-engine</artifactId> | ||
| <version>1.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.platform</groupId> | ||
| <artifactId>junit-platform-launcher</artifactId> | ||
| <version>1.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.jupiter</groupId> | ||
| <artifactId>junit-jupiter-migrationsupport</artifactId> | ||
| <version>5.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.jupiter</groupId> | ||
| <artifactId>junit-jupiter-params</artifactId> | ||
| <version>5.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.platform</groupId> | ||
| <artifactId>junit-platform-suite-api</artifactId> | ||
| <version>1.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.platform</groupId> | ||
| <artifactId>junit-platform-suite-commons</artifactId> | ||
| <version>1.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.platform</groupId> | ||
| <artifactId>junit-platform-runner</artifactId> | ||
| <version>1.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.platform</groupId> | ||
| <artifactId>junit-platform-suite-engine</artifactId> | ||
| <version>1.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.junit.vintage</groupId> | ||
| <artifactId>junit-vintage-engine</artifactId> | ||
| <version>5.11.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.xmlgraphics</groupId> | ||
| <artifactId>batik-constants</artifactId> | ||
| <version>1.18</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.xmlgraphics</groupId> | ||
| <artifactId>batik-css</artifactId> | ||
| <version>1.18</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.xmlgraphics</groupId> | ||
| <artifactId>batik-i18n</artifactId> | ||
| <version>1.18</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.xmlgraphics</groupId> | ||
| <artifactId>batik-util</artifactId> | ||
| <version>1.18</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>commons-beanutils</groupId> | ||
| <artifactId>commons-beanutils</artifactId> | ||
| <version>1.9.4</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>commons-codec</groupId> | ||
| <artifactId>commons-codec</artifactId> | ||
| <version>1.17.0</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.commons</groupId> | ||
| <artifactId>commons-collections4</artifactId> | ||
| <version>4.4</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>commons-io</groupId> | ||
| <artifactId>commons-io</artifactId> | ||
| <version>2.17.0</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>commons-jxpath</groupId> | ||
| <artifactId>commons-jxpath</artifactId> | ||
| <version>1.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.commons</groupId> | ||
| <artifactId>commons-text</artifactId> | ||
| <version>1.12.0</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.felix</groupId> | ||
| <artifactId>org.apache.felix.scr</artifactId> | ||
| <version>2.2.12</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.osgi</groupId> | ||
| <artifactId>org.osgi.service.component</artifactId> | ||
| <version>1.5.1</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.osgi</groupId> | ||
| <artifactId>org.osgi.util.promise</artifactId> | ||
| <version>1.3.0</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apache.xmlgraphics</groupId> | ||
| <artifactId>xmlgraphics-commons</artifactId> | ||
| <version>2.10</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.apiguardian</groupId> | ||
| <artifactId>apiguardian-api</artifactId> | ||
| <version>1.1.2</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.osgi</groupId> | ||
| <artifactId>org.osgi.service.prefs</artifactId> | ||
| <version>1.1.2</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.tukaani</groupId> | ||
| <artifactId>xz</artifactId> | ||
| <version>1.10</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.hamcrest</groupId> | ||
| <artifactId>hamcrest</artifactId> | ||
| <version>3.0</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.hamcrest</groupId> | ||
| <artifactId>hamcrest-core</artifactId> | ||
| <version>2.2</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.hamcrest</groupId> | ||
| <artifactId>hamcrest-library</artifactId> | ||
| <version>2.2</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.jdom</groupId> | ||
| <artifactId>jdom</artifactId> | ||
| <version>1.1.3</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>junit</groupId> | ||
| <artifactId>junit</artifactId> | ||
| <version>4.13.2</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| <dependency> | ||
| <groupId>org.osgi</groupId> | ||
| <artifactId>org.osgi.util.function</artifactId> | ||
| <version>1.2.0</version> | ||
| <scope>compile</scope> | ||
| </dependency> | ||
| </dependencies> | ||
| </project> | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why we need this file?