Skip to content

Commit

Permalink
Update clover to version 4.4.1 and add FAQ how to run it
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasblaesing committed Sep 18, 2022
1 parent 0444bf9 commit 1d893e4
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
target/
.project
.classpath
.clover
build/
build-d64
build.eclipse
Expand Down
2 changes: 1 addition & 1 deletion build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ cd ..
<property name="build-native" value="true"/>
</target>

<target name="-check-java6-compatibility" depends="-enable-native,jar,compile-tests" if="compatibility-check">
<target name="-check-java6-compatibility" depends="-enable-native,jar,compile-tests" if="compatibility-check" unless="clover">
<echo>Checking JDK compatibility 1.6</echo>

<echo></echo>
Expand Down
Binary file modified lib/clover.jar
Binary file not shown.
5 changes: 0 additions & 5 deletions lib/clover.license

This file was deleted.

14 changes: 13 additions & 1 deletion www/FrequentlyAskedQuestions.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ a combination of TypeMapper and FunctionMapper (see
“String” rather than explicit “WString”.

Does JNA publish a module descriptor (module-info.java) to support the Java Module System (JPMS)?
-------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------

Since version 5.8.0, JNA publishes an additional JAR with a `module-info` class alongside
the main project JAR, using an artifact with `-jpms` appended, e.g., `jna-jpms-5.8.0.jar`
Expand Down Expand Up @@ -277,3 +277,15 @@ using either an `open` module, `opens`, or `opens ... to` directive, or an `expo
or `exports ... to` directive, depending on the particular application and level of
access required. If migrating an existing project, `opens` replicates the full
non-modular (classpath) reflective access.

How can I run code coverage check over JNA?
-------------------------------------------

Run:

```
ant -lib lib/clover.jar clover
```

The result is placed in `$JNA_BASE/build/reports/clover` and can be opened with
a webbrowser.

0 comments on commit 1d893e4

Please sign in to comment.