112 Commits

Author SHA1 Message Date
Markus Reiter
66e3541b12 Convert MacOS::Version test to spec. 2017-02-21 06:00:24 +01:00
Markus Reiter
5ec9597810 Convert OS::Mac::Keg test to spec. 2017-02-21 04:52:53 +01:00
Markus Reiter
9c1db3c820 Convert JavaRequirement test to spec. 2017-02-21 02:50:52 +01:00
Markus Reiter
398de9cf3c Merge pull request #2060 from reitermarkus/spec-bottle-collector
Convert Utils::Bottles::Collector test to spec.
2017-02-20 13:57:27 +01:00
Markus Reiter
6dfbf7066b Convert Utils::Bottles::Collector test to spec. 2017-02-19 23:55:12 +01:00
Bob W. Hogg
5a214de68d java_requirement: port to Linux and refactor
Split the core requirement class into generic, Linux-specific,
and macOS-specific parts.

Additionally, the Linux version is now able to detect Java versions
(the previous Linuxbrew implementation was only able to detect
if Java was present at all.)
2017-02-15 21:35:26 -08:00
Alyssa Ross
0c1d665568 tests: set developer in ENV rather than stubbing 2017-01-22 19:53:58 +00:00
Alyssa Ross
116ed3ec80 tests: automatically restore ENV in teardown 2017-01-22 19:53:58 +00:00
Alyssa Ross
6861451f87 tests: remove more per-test file system cleanup
These locations are now all automatically cleaned up after every test.
2017-01-22 11:15:18 +00:00
Alyssa Ross
d7b8420aaa tests: clean up file system for all tests
(No longer just integration tests.)
2017-01-22 11:15:18 +00:00
Alyssa Ross
70a381a00f tests: enforce super in lifecycle hooks
This will allow us to have global setup and teardown for tests.

For example, we can automatically clear caches after each test, to avoid
annoying intermittent failures like #1879 and #1886.
2017-01-21 11:34:52 +00:00
Markus Reiter
7457af2b23 Move test files back directly to test/. 2016-11-16 23:52:38 +01:00