aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
2014-10-19Add deprecated_option to software_spec.Mike McQuaid
Allows remapping one option name to another and updates build options and flags accordingly.
2014-10-19Add DeprecatedOption class.Mike McQuaid
Used to capture options that are being renamed.
2014-10-19gifsicle 1.86Stian Eikeland
Closes Homebrew/homebrew#33307. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-10-06Compare patchlevels numerically rather than lexicallyJack Nagel
Fixes Homebrew/homebrew#32960.
2014-10-02Use pcap fixture with complete packetsJ. Brandt Buckley
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-09-28Make inreplace errors fatalJack Nagel
Closes Homebrew/homebrew#32649. Closes Homebrew/homebrew#32703.
2014-09-27Revert "Add test for inreplace sub!/gsub! with hash argument"Jack Nagel
Ruby 1.8 doesn't support this, so we don't officially support it (yet). This reverts commit 7d5eb6f5e2da42c1378fefb63fde55cae97a3909.
2014-09-27Add test for inreplace sub!/gsub! with hash argumentJack Nagel
2014-09-27Add test for inreplace sub!/gsub!Jack Nagel
2014-09-26Add missing test for inreplace with tabsJack Nagel
2014-09-26Fix formatting in inreplace testsJack Nagel
2014-09-18Replace CompilerQueue with predetermined priority listsJack Nagel
2014-09-18Rewrite debugger to remove monkeypatches and use of call/ccJack Nagel
2014-09-14Consistently call name on formula instead of relying on to_sJack Nagel
2014-09-10Use bundler for test gem dependencies.Mike McQuaid
Closes Homebrew/homebrew#31986. References Homebrew/homebrew#31981.
2014-09-08test.pcap: add pcap fixture.Mike McQuaid
2014-08-31Rewrite fails_with tests as tests for CompilerFailureJack Nagel
2014-08-30Use the accessors to update the test doubleJack Nagel
2014-08-30Test CompilerSelector against a SoftwareSpec instanceJack Nagel
2014-08-30Remove unnecessary empty blockJack Nagel
2014-08-30Test fails_with against spec objectsJack Nagel
2014-08-30Test against real CompilerFailure objectsJack Nagel
2014-08-30Remove obsolete nil checkJack Nagel
2014-08-30Fix tests on 1.8Jack Nagel
2014-08-29Options internals no longer need to support switchesJack Nagel
2014-08-29Add a method for retrieving only flags from ARGVJack Nagel
2014-08-29Move handling of leading dashes to Options.createJack Nagel
2014-08-28Implement ARGV.named in terms of ARGV.options_onlyJack Nagel
2014-08-27Remove to_str from OptionJack Nagel
We no longer need implicit conversion of options to strings.
2014-08-20Options no longer needs deep-copy semanticsJack Nagel
Follow-up to 23d90a6a187a57fbdf4eeac146993e3b37c3d4d9.
2014-08-14Use the as_flags method instead of mapJack Nagel
2014-08-13Remove Options#concatJack Nagel
2014-08-13Simplify tab test setupJack Nagel
2014-08-13Drop unnecessary parens in testsJack Nagel
2014-08-13Drop unnecessary to_a calls in options testsJack Nagel
2014-08-13Replace Options.coerce with an alternate constructorJack Nagel
2014-08-13Remove unused branches from Options.coerceJack Nagel
2014-08-13Options is no longer used directly by BuildOptionsJack Nagel
2014-08-13Always pass an Options instance to the BuildOptions constructorJack Nagel
2014-08-13Revert "Always pass an Options instance to the BuildOptions constructor"Mike McQuaid
This reverts commit e143bcef259ca76b2124e6e73bd9bdf872418723. Closes Homebrew/homebrew#31557. Closes Homebrew/homebrew#31559. Closes Homebrew/homebrew#31561. Closes Homebrew/homebrew#31562.
2014-08-13Revert "Options is no longer used directly by BuildOptions"Mike McQuaid
This reverts commit 1c05bc0238aa1abf7d5542b8afa11ead2bee66a8.
2014-08-13Revert "Remove unused branches from Options.coerce"Mike McQuaid
This reverts commit cee42c339e7632eab15111e2c4e6c121ace6f9e2.
2014-08-13Revert "Replace Options.coerce with an alternate constructor"Mike McQuaid
This reverts commit 8d2ef974a3a87bf4207f71ccb8a7b4776e16a016.
2014-08-13Revert "Drop unnecessary to_a calls in options tests"Mike McQuaid
This reverts commit 6f29c36aed9d951499146054a4caca702fa33d1a.
2014-08-13Drop unnecessary to_a calls in options testsJack Nagel
2014-08-12Replace Options.coerce with an alternate constructorJack Nagel
2014-08-12Remove unused branches from Options.coerceJack Nagel
2014-08-12Options is no longer used directly by BuildOptionsJack Nagel
2014-08-12Always pass an Options instance to the BuildOptions constructorJack Nagel
2014-08-11Deep copies of the build object are no longer neededJack Nagel