Releases: mbuzdalov/testlib4j
Releases · mbuzdalov/testlib4j
Version 1.2
Changelist
- quit function didn't throw
Outcome
: bug has been fixed - testlib4j didn't work, when there were no right to read VM properties
Attached binary file was built with --release 8
on java version 12.0.2+10
Version 1.1
Changelist
Outcome.quit
now returnsOutcome
, so that you canthrow Outcome.quit(..
orreturn Outcome.quit(..
InStream.quit
is introduced, it's almost the same asOutcome.quit
, but for answer stream it quits withOutcome.FAIL
instead ofPE
orWA
.- Several examples and unit-tests added
- Fixed bug: when checker throws
Outcome
, extra output is not checked. CheckerFramework.runChecker
is introduced, with an argument of instance of the checker class. From now on you can create checkers, that can be run without callingCheckerFramework.main
. Several example, that are usingCheckerFramework.runChecker
are added: YesNoWithMain.java, CompareIntegerWithMain.java
Be careful, if your checker class has no default constructor, then old method of callingCheckerFramework.main
will not work
The pre-GitHub version
The version corresponding to this release has been widely used in various competitions, including the official ones held by ITMO University.
The attached file is built by Oracle JDK version 1.8.0_172.