Skip to content
Permalink
Browse files

Improve Code coverage

  • Loading branch information...
gquerret committed Jun 21, 2019
1 parent bc31394 commit d357f90271a10aabdcd3e2e427d7978fa7871ff5
Showing with 7 additions and 2 deletions.
  1. +1 −1 CONTRIBUTING.md
  2. +5 −0 src/test/com/phenix/pct/ProgressVersionTest.java
  3. +1 −1 tests/ProgressVersion/test1/build.xml
@@ -27,4 +27,4 @@ Which will give you something like:
* Make sure you don’t have PCT.jar in `$ANT_HOME/lib`
* Execute `ant clean jar` to build everything (PCT.jar is created in dist/ directory)
* Execute `ant prepare-test` to (re)generate the testbox dir, where tests are executed
* Execute `ant -DDLC=/path/to/dlc -Dprofiler=false -file tests.xml` to execute unit tests
* Execute `ant -DDLC=/path/to/dlc -Dprofiler=true -lib dist/PCT.jar -file tests.xml test` to execute unit tests
@@ -31,6 +31,11 @@ public void test1() {
executeTarget("test");
assertPropertySet("major");
assertPropertySet("minor");
assertPropertySet("revision");
assertPropertySet("patch");
assertPropertySet("full");
assertPropertySet("reduced");
assertPropertySet("rcode");
assertPropertySet("arch");
}

@@ -4,7 +4,7 @@

<target name="test">
<mkdir dir="build" />
<ProgressVersion dlcHome="${DLC}" majorVersion="major" minorVersion="minor" bitness="arch" />
<ProgressVersion dlcHome="${DLC}" majorVersion="major" minorVersion="minor" revision="revision" patchLevel="patch" fullVersion="full" reducedVersion="reduced" rcodeVersion="rcode" bitness="arch" />
<!-- Just to make them visible in the emailable-report file -->
<echo message="OpenEdge ${major}.${minor} ${arch} bits - Java ${ant.java.version} - Ant ${ant.version}" />
</target>

0 comments on commit d357f90

Please sign in to comment.
You can’t perform that action at this time.