Jack Nagel
e651e7662a
Use formula helper in tests
2014-12-28 21:56:06 -05:00
Jack Nagel
7f29dc13b8
Drop pointless subclass in test
2014-12-28 00:03:16 -05:00
Jack Nagel
8805f3ae51
Drop unnecessary requires
2014-12-28 00:03:16 -05:00
Jack Nagel
0a16fff0cd
Avoid TestBall class in checksum verification tests
2014-12-28 00:03:16 -05:00
Jack Nagel
3c9bee268b
Preserve signature of #initialize in tests
2014-12-27 23:11:32 -05:00
Jack Nagel
1ee1e2ca3c
Stop testing accessor type
2014-12-27 16:31:38 -05:00
Jack Nagel
728a7c6259
Remove dead code
2014-12-27 16:31:32 -05:00
Jack Nagel
6dd242e2df
Refactor patching tests
2014-12-26 20:51:43 -05:00
Jack Nagel
f14e38de2f
Commit test updates that were supposed to be part of b76e26c9cf1fc805663d86b6d6d081f91f73ea18
2014-12-26 20:20:10 -05:00
Jack Nagel
051658db65
Remove unnecessary require from test
2014-12-26 16:45:07 -05:00
Jack Nagel
8575034f19
Unroll validation loop
2014-12-26 16:10:28 -05:00
Jack Nagel
1bdeeefb94
Overriding #initialize is not supported, so drop late validation
2014-12-26 16:05:34 -05:00
Jack Nagel
e8e5889d32
Update minitest
2014-12-23 15:37:24 -05:00
Jack Nagel
7e20b353a2
Utils.popen_read doesn't doesn't require a block
2014-12-16 15:27:36 -05:00
Jack Nagel
5201411a6d
Provide version reader method
2014-12-10 00:55:26 -05:00
Jack Nagel
6a56c45fbf
Mark private VCSDownloadStrategy methods
2014-12-06 15:02:48 -05:00
Jack Nagel
36b26c9bfc
Update test gems
2014-12-03 20:49:36 -05:00
Jack Nagel
6fe2ccf854
Fix duplicated test methods
2014-12-02 11:15:20 -05:00
Jack Nagel
03159dd831
Remove unused entries from test/.gitignore
2014-12-02 11:14:56 -05:00
Jack Nagel
dd3d8a9060
Use better assertions
2014-12-01 11:22:58 -05:00
Mike McQuaid
52cda8fd80
Allow searching/installing Homebrew Casks.
...
People want to install things like GIMP using Homebrew so let's make it
easier for them to find a decent installation method.
Closes Homebrew/homebrew#34496 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-30 17:59:02 +00:00
Jack Nagel
a412b49c2c
Fix dependency equality
2014-11-21 17:03:58 -06:00
Jack Nagel
9dfc5e39e8
Fix Requirement equality
2014-11-12 17:35:16 -06:00
Jack Nagel
b34fa6cfd8
Use libexec method in install test
2014-11-07 17:04:23 -06:00
Jack Nagel
d63ba368ef
Normalize requires in tests
2014-11-07 17:03:51 -06:00
Tim D. Smith
f5a54ab349
BottleVersion: add imap-uw style versions
2014-11-05 19:11:25 -08:00
Jack Nagel
d3b2a213fe
Use more relevant assertions
2014-10-30 00:23:46 -05:00
Jack Nagel
503d781150
Allow tests to reset bottle hooks on teardown
...
This avoids polluting other tests that might invoke the installer, thus
executing any registered hooks.
2014-10-29 23:49:57 -05:00
Jack Nagel
1a487fa2b3
Add predicate methods for specs and stop testing internals
2014-10-29 23:32:38 -05:00
Jack Nagel
56aec9494c
Fix filename case
2014-10-26 23:17:13 -05:00
Jack Nagel
55e0f40d02
Handle broken symlinks in resolve_any_conflicts
...
Fixes Homebrew/homebrew#33328 .
2014-10-20 17:07:54 -05:00
Jack Nagel
975f61d981
Fix filesystem leak in keg tests
2014-10-20 17:07:53 -05:00
Mike McQuaid
7a06bc067e
bottle_version: handle libpano.
2014-10-20 08:57:19 +01:00
Mike McQuaid
33b3449621
tab: remap deprecated options in tabs.
...
If a deprecated option is found in a tab, rename it to the new option.
2014-10-19 13:58:52 +01:00
Mike McQuaid
d0240e7cd4
formula: add spec deprecated_option DSL.
2014-10-19 13:58:52 +01:00
Mike McQuaid
02e10beb7c
Add deprecated_option to software_spec.
...
Allows remapping one option name to another and updates build options
and flags accordingly.
2014-10-19 13:58:52 +01:00
Mike McQuaid
da0a65356d
Add DeprecatedOption class.
...
Used to capture options that are being renamed.
2014-10-19 13:58:52 +01:00
Stian Eikeland
91ec31cdd4
gifsicle 1.86
...
Closes Homebrew/homebrew#33307 .
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-10-19 01:59:09 -05:00
Jack Nagel
dfb7657557
Compare patchlevels numerically rather than lexically
...
Fixes Homebrew/homebrew#32960 .
2014-10-06 13:55:23 -05:00
J. Brandt Buckley
f2fa551291
Use pcap fixture with complete packets
...
The existing `test.pcap` consists of just one Ethernet frame, so it's missing TCP/IP headers.
This updated file is a full HTTP GET request and reply.
Relates to Homebrew/homebrew#32852
Closes Homebrew/homebrew#32869 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-02 11:02:30 -07:00
Jack Nagel
aaaab946ec
Make inreplace errors fatal
...
Closes Homebrew/homebrew#32649 .
Closes Homebrew/homebrew#32703 .
2014-09-28 01:11:31 -05:00
Jack Nagel
54ac9c560a
Revert "Add test for inreplace sub!/gsub! with hash argument"
...
Ruby 1.8 doesn't support this, so we don't officially support it (yet).
This reverts commit 7d5eb6f5e2da42c1378fefb63fde55cae97a3909.
2014-09-27 23:53:01 -05:00
Jack Nagel
14594741e1
Add test for inreplace sub!/gsub! with hash argument
2014-09-27 23:31:08 -05:00
Jack Nagel
9f9f5bf31c
Add test for inreplace sub!/gsub!
2014-09-27 23:31:08 -05:00
Jack Nagel
701691c261
Add missing test for inreplace with tabs
2014-09-26 22:01:00 -05:00
Jack Nagel
c0cb58177e
Fix formatting in inreplace tests
2014-09-26 21:55:26 -05:00
Jack Nagel
04dae13ae7
Replace CompilerQueue with predetermined priority lists
2014-09-18 15:50:54 -05:00
Jack Nagel
3bbc9998a5
Rewrite debugger to remove monkeypatches and use of call/cc
2014-09-18 14:16:07 -05:00
Jack Nagel
f3b7c3236b
Consistently call name on formula instead of relying on to_s
2014-09-14 11:19:30 -05:00
Mike McQuaid
9531ecc72a
Use bundler for test gem dependencies.
...
Closes Homebrew/homebrew#31986 .
References Homebrew/homebrew#31981 .
2014-09-10 13:29:14 +01:00