Skip to content

Commit 1d893e4

Browse files
Update clover to version 4.4.1 and add FAQ how to run it
1 parent 0444bf9 commit 1d893e4

File tree

5 files changed

+15
-7
lines changed

5 files changed

+15
-7
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
target/
22
.project
33
.classpath
4+
.clover
45
build/
56
build-d64
67
build.eclipse

build.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1317,7 +1317,7 @@ cd ..
13171317
<property name="build-native" value="true"/>
13181318
</target>
13191319

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

13231323
<echo></echo>

lib/clover.jar

3.88 MB
Binary file not shown.

lib/clover.license

-5
This file was deleted.

www/FrequentlyAskedQuestions.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ a combination of TypeMapper and FunctionMapper (see
242242
“String” rather than explicit “WString”.
243243

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

247247
Since version 5.8.0, JNA publishes an additional JAR with a `module-info` class alongside
248248
the main project JAR, using an artifact with `-jpms` appended, e.g., `jna-jpms-5.8.0.jar`
@@ -277,3 +277,15 @@ using either an `open` module, `opens`, or `opens ... to` directive, or an `expo
277277
or `exports ... to` directive, depending on the particular application and level of
278278
access required. If migrating an existing project, `opens` replicates the full
279279
non-modular (classpath) reflective access.
280+
281+
How can I run code coverage check over JNA?
282+
-------------------------------------------
283+
284+
Run:
285+
286+
```
287+
ant -lib lib/clover.jar clover
288+
```
289+
290+
The result is placed in `$JNA_BASE/build/reports/clover` and can be opened with
291+
a webbrowser.

0 commit comments

Comments
 (0)