Jack Nagel
35860ac60f
Switch to string keys
...
The OpenStruct initializer accepts both symbols and strings, but any
nested hashes will only allow access via string keys, so let's always
construct the object with strings for consistency.
2015-02-21 18:44:04 -05:00
Jack Nagel
a6b16dfa18
Eliminate conditional
2015-02-21 12:26:14 -05:00
Xu Cheng
bd408fa51c
fixtures: add ps and eps files
...
Closes Homebrew/homebrew#37001
Signed-off-by: Xu Cheng <xucheng@me.com>
2015-02-21 01:52:22 +08:00
Jack Nagel
4b1028c9e5
Start recording the formula path in the install receipt
...
Later we can use this information to try and load the formula from the
correct source.
2015-02-18 21:29:17 -05:00
Jack Nagel
3f3b7746dd
Fix another filesystem leak in updater tests
2015-02-15 12:54:03 -05:00
David Christenson
fb246b0f4e
Minimize test JPEG and PNG
...
Losslessly compress with jpegoptim and optipng.
Closes Homebrew/homebrew#36606 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-08 12:23:39 +00:00
David Christenson
46aa40c067
Add test PDF and SVG.
2015-02-08 12:23:31 +00:00
Dominyk Tiller
8a707ebb2b
ngircd: system openssl fix
...
Fix for linking into the system OpenSSL, strict audit fixes, and the
plist.
Closes Homebrew/homebrew#36386 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-02-01 17:31:05 +01:00
Baptiste Fontaine
a9c4091de7
Fix more version misdetections for URLs with archs
...
Closes Homebrew/homebrew#36368 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-30 08:55:49 +00:00
Baptiste Fontaine
a9e8dfb996
Fix version misdetections for URLs with OS/archs
...
Closes Homebrew/homebrew#36308 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-28 14:19:21 +00:00
Xu Cheng
8ab4b9ae55
fixtures add test.ico
...
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-03 22:37:59 -05:00
Xu Cheng
fae84e5031
replace fixture png to 8x8 in size and rgb scale color
...
Closes Homebrew/homebrew#35456 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-03 20:50:01 +00:00
Baptiste Fontaine
8fcfa08c43
ID3 tags stripped from MP3 test fixture
...
Closes Homebrew/homebrew#35427 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-01 21:34:12 +00:00
Baptiste Fontaine
b7ca3e33d6
minimal MP3 test file added
...
Closes Homebrew/homebrew#35417 .
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-01 15:02:08 +00:00
Jack Nagel
62c0a391b4
Don't attempt to detect version if URL is not set
2014-12-31 10:38:04 -05:00
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