Gintas Grigelionis
97080ce1db
More matchers
7 years ago
Gintas Grigelionis
fc4fc40d7f
Add canaries in order to avoid false positives
7 years ago
Stefan Bodewig
fc1a841c0c
tests shouldn't pass if wrong part of test throws exception
7 years ago
Stefan Bodewig
1cf647b2da
the method used to "fail" unconditionally on IOExceptions
7 years ago
Stefan Bodewig
60f1c012a2
avoid AIOBE
7 years ago
Gintas Grigelionis
11ae95a3c7
Fix: wrong exception expected
7 years ago
Gintas Grigelionis
025ec7bfa4
Fix: assumption became assertion by mistake
7 years ago
Stefan Bodewig
1c90058c24
typo
7 years ago
Stefan Bodewig
64dc75ad4c
there's been a reason tearDown threw Exception
7 years ago
Stefan Bodewig
8c5b5edfaf
matching on the exception message used to be optional
7 years ago
Stefan Bodewig
1fd0352294
test logic got reversed
7 years ago
Gintas Grigelionis
233421885c
Tidy up the code
7 years ago
Gintas Grigelionis
ad98e27d0c
Expected exceptions galore
7 years ago
Gintas Grigelionis
8a3b1658ca
Don’t fail, assert
7 years ago
Gintas Grigelionis
4b1d9ae3a6
More matchers/fixtures/optimizations
7 years ago
Gintas Grigelionis
d0d60adcac
Let’s do some parameterisation…
7 years ago
Gintas Grigelionis
47f8c5d463
Refactor tests (extract fixtures and/or use matchers)
7 years ago
Gintas Grigelionis
efaebc3724
Tidy up/optimize the code
7 years ago
Gintas Grigelionis
beb67e3224
Extract and/or use fixtures, be more careful with “root”
7 years ago
Gintas Grigelionis
1e61ebdcad
More uses of expected exceptions, assumptions and/or matchers
7 years ago
Gintas Grigelionis
535b7cc5c4
Let’s assert that ant.home is set
7 years ago
Stefan Bodewig
ae5a3e0ea3
Merge branch '1.9.x'
7 years ago
Stefan Bodewig
e56e545658
unzip and friends could monitor where they write more closely
7 years ago
Gintas Grigelionis
46311e1730
Turn comments to javadoc
7 years ago
Gintas Grigelionis
160894d478
Refactor FileSet tests (extract fixtures)
7 years ago
Gintas Grigelionis
761f8e60bc
More string matcher assertions
7 years ago
Gintas Grigelionis
6eefa0f435
More isEmpty(), less assertThat()
7 years ago
Gintas Grigelionis
633446cfaf
Tidy javadoc and use isEmpty()
7 years ago
Stefan Bodewig
46328b6bbf
bring back root system property
7 years ago
Stefan Bodewig
97ac9bc7c0
the assertion used to be conditional
7 years ago
Stefan Bodewig
6c032e687d
Merge branch '1.9.x'
7 years ago
Stefan Bodewig
38a22b0cfd
it's enough to have one antunit dir inside of ./build
7 years ago
Nicolas Lalevée
b38bf68f5c
fix incorrect warning in the junit task when includeAntRuntime="no"
fixed by making the classloader used by checkForkedPath behave like a real forked classpath, thus completely isolated from the launching jvm
7 years ago
Gintas Grigelionis
81c3e6e3dd
Deprecate AntAssert
7 years ago
Nicolas Lalevée
1026236154
fix incorrect warning in the junit task when includeAntRuntime="no"
fixed by making the classloader used by checkForkedPath behave like a real forked classpath, thus completely isolated from the launching jvm
7 years ago
Gintas Grigelionis
a4099af879
Checkstyle
7 years ago
Gintas Grigelionis
c3b91f90f0
More isEmpty()
7 years ago
Gintas Grigelionis
30f52135af
Use null-or-empty pattern
7 years ago
Stefan Bodewig
5773626fd7
Revert change that broke tests in Jenkins.
the File constructor seems to be unable to parse URLs created from
URIs sometimes, leading to a test failure. Most likely the spaces or
parentheses inside of the path of the jenkins workspaces are
responsible.
7 years ago
Gintas Grigelionis
095aaaef75
Chop extraneous parentheses
7 years ago
Maarten Coene
1c75b68527
Removed unused import.
7 years ago
Maarten Coene
6745574ec8
Merge from master
7 years ago
Gintas Grigelionis
66d7986c3a
Tidy up the code
7 years ago
Gintas Grigelionis
845c2c5b39
Avoid line.separator
7 years ago
Gintas Grigelionis
dccbf1fcec
Checkstyle and simplify, next iteration
7 years ago
Gintas Grigelionis
cdb0348e9d
Statically import string contains assertions
7 years ago
Gintas Grigelionis
4a242817bd
Checkstyle and simplify assertions
7 years ago
Maarten Coene
20b6163989
Removed unused import.
7 years ago
Maarten Coene
30c9dee9ba
Delay the class initialization of the test classes untill they are passed to JUnit.
7 years ago
Gintas Grigelionis
aa01cc4bdb
Java 8: lambdas, instance methods, sorting
7 years ago