4620 Commits

Author SHA1 Message Date
Jack Nagel
f666b76c39 Add more tests documenting linking behavior 2014-07-03 23:27:54 -05:00
Jack Nagel
60fc7eb0ed Avoid chdir just to make a symlink 2014-07-03 23:27:54 -05:00
Jack Nagel
083448d55d Move repeated pathname into setup 2014-07-03 23:27:54 -05:00
Jack Nagel
9e19db0dd6 Don't assign @keg twice in setup 2014-07-03 23:27:53 -05:00
Jack Nagel
4acf25a2b9 No need to silence output from Keg#link anymore 2014-07-03 23:27:53 -05:00
Jack Nagel
aad09a5a63 Option does not need to be Comparable 2014-07-03 19:29:18 -05:00
Jack Nagel
7d8a901f7a Add assert_eql to provide better failure messages for eql? tests 2014-07-03 16:55:13 -05:00
Jack Nagel
1ee4cd94ba Fix PkgVersion#<=> 2014-07-03 16:37:43 -05:00
Jack Nagel
b78308d2d5 Fix Formula#<=> on trunk Ruby
Arguably this method shouldn't exist and sort_by(&:name) used instead.
2014-07-03 15:00:41 -05:00
Jack Nagel
618b894c3e Replace ComparableSet with a Requirements collection 2014-07-03 14:50:57 -05:00
Jack Nagel
3ad6fc6636 Don't invoke mdfind in the tests 2014-07-03 13:02:26 -05:00
Jack Nagel
191e017d56 Add inspect to mock updater so test failures are readable 2014-07-03 12:57:16 -05:00
Jack Nagel
9106f221cb Add regression test for decf7acced44bb156ba18677f55609b19ff6ca5a 2014-07-02 15:22:32 -05:00
Jack Nagel
4cbae37d62 Don't expose the dependency cache data structure 2014-07-02 15:15:59 -05:00
Jack Nagel
fbe8dc8fc6 Add a test that exercises the code in X11Dependency#satisfied? 2014-07-02 00:25:01 -05:00
Jack Nagel
fe3e802c50 X11Dependency objects: fix hash equality 2014-07-01 21:26:41 -05:00
Jack Nagel
fc2d403a82 X11Dependency: use Version objects 2014-07-01 21:26:41 -05:00
Jack Nagel
a6c514024b Flesh out linking tests 2014-07-01 09:01:06 -05:00
Jack Nagel
c0baad7e68 Add tests around opt links 2014-06-30 22:14:06 -05:00
Jack Nagel
c904c71792 Fix tab tests 2014-06-30 08:54:47 -05:00
Jack Nagel
07171f5527 Test that the tab round-trips through JSON 2014-06-29 22:18:44 -05:00
Jack Nagel
cd91709120 Fix typo in tab test setup
This is one of the many problems with using OpenStruct.
2014-06-29 22:18:44 -05:00
Jack Nagel
391bc4c981 Normalize paths before calling Tab.from_file 2014-06-29 21:50:08 -05:00
Jack Nagel
4d11def53c Add tests documenting install receipt loading behavior 2014-06-29 21:49:34 -05:00
Jack Nagel
34db1bd1ef Remove test that is now covered by tab tests 2014-06-29 19:27:28 -05:00
Jack Nagel
e2e5839a9a Get the Tab class under test 2014-06-29 00:55:56 -05:00
Jack Nagel
fde884e319 Use TEST_SHA1 constant in checksum tests 2014-06-28 23:46:23 -05:00
Jack Nagel
7cd31377a4 Convert update report to use composition 2014-06-27 21:58:15 -05:00
Jack Nagel
acf76f3f55 Add module for logging filesystem leaks in tests 2014-06-23 23:28:25 -05:00
Jack Nagel
5ab65d0b25 Make the test tmpdir a constant 2014-06-23 23:24:45 -05:00
Jack Nagel
de24d73172 Use Keg#uninstall to uninstall kegs 2014-06-23 22:34:41 -05:00
Jack Nagel
f222ca04fd Remove pin directory when empty 2014-06-23 22:34:41 -05:00
Jack Nagel
35b9a00706 Fix file leak in lock tests 2014-06-23 22:34:05 -05:00
Jack Nagel
f25f6fbb39 Fix directory leaks in formula prefix tests 2014-06-23 22:11:40 -05:00
Jack Nagel
88165986e8 Clear cache after patching tests 2014-06-23 22:11:39 -05:00
Jack Nagel
63d3a17f2b Fix test class name collision 2014-06-23 22:11:39 -05:00
Jack Nagel
9a6d2a31d9 Fix directory leak in test_cleanup 2014-06-23 22:11:39 -05:00
Jack Nagel
c2337771f7 Clear cache after checksum verification tests 2014-06-23 22:11:39 -05:00
Jack Nagel
98e01d2b83 Fix directory leak in test_argv 2014-06-23 22:11:39 -05:00
Jack Nagel
4d14cafaa5 Fix directory leak in test_cleaner 2014-06-23 22:11:39 -05:00
Jack Nagel
45840f43a2 Clear cache after formula install tests 2014-06-23 22:11:39 -05:00
Jack Nagel
9f03b28573 Fix directory leak in test_pathname_version 2014-06-23 22:11:39 -05:00
Jack Nagel
f9fd3f46d4 Explicitly create top-level directories for tests 2014-06-23 22:11:39 -05:00
Jack Nagel
04f504546c Give the temporary test directory a prefix 2014-06-23 18:58:58 -05:00
Jack Nagel
3dbcba0c03 Call original backtick using super 2014-06-23 18:50:55 -05:00
Jack Nagel
43cb0b9141 Use Dir.mktmpdir to create temp directory for tests 2014-06-23 18:42:27 -05:00
Jack Nagel
8d12684efe Pass repository path into the updater 2014-06-23 18:41:50 -05:00
Jack Nagel
4d9d01893e Move deprecated Formula class methods to compat
These have all been moved to Formulary.
2014-06-22 15:03:17 -05:00
Jack Nagel
445dd80e44 Remove ARGV.filter_for_dependencies 2014-06-20 21:32:36 -05:00
Jack Nagel
10fda9e9b9 Decouple spec selection from ARGV 2014-06-20 21:32:36 -05:00