aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
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 #31557. Closes #31559. Closes #31561. Closes #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
2014-08-10Stop exposing defined options from the build objectJack Nagel
2014-08-10Add a test for legacy optionsJack Nagel
2014-08-09Stop exposing combined options from the tabJack Nagel
2014-08-09Stop duping options when duping the build objectJack Nagel
The options collection cannot be mutated from the build object, so it can be shared among copies safely.
2014-08-08Better assertions in tab testJack Nagel
2014-08-07Avoid using setters in tab testsJack Nagel
2014-08-07Use predefined options for universal, cxx11, and 32-bit optionsJack Nagel
:universal and :cxx11 are now handled directly, so we don't need to always convert symbols to strings in this method. Symbols should be reserved for future use.
2014-08-07Raise ArgumentError for argument errorsJack Nagel
2014-08-07Add more test coverage for option descriptionsJack Nagel
2014-08-07Add a test for cxx11 option special caseJack Nagel
2014-08-02Partially revert e1f97e2 to pass new test casesJack Nagel
2014-08-02Use polymorphism to simplify stdlib compatibility checkJack Nagel
2014-07-31Hide the options data structure betterJack Nagel
2014-07-31Make options available on the spec objectsJack Nagel
2014-07-31Handle tap file renames that remove a file from the formula directoryJack Nagel
2014-07-30Remove confusing implicit options handlingJack Nagel
This code is supposed to allow depends_on "foo" => "with-bar" to work when foo has only a "without-bar" option. The options system was not designed to support this. Unfortunately, it was bolted on anyway. The implementation is extremely difficult to understand, and it only works for certain types of options, which is confusing from a user's point of view. Luckily, no formulae in core or the official taps rely on the behavior in order to function. It is hindering progress in improving this code, so I am removing it.
2014-07-30Simplify BuildOptions copy testsJack Nagel
2014-07-30Rename resource? to resource_defined?Jack Nagel
2014-07-29Simplify internal representation of patchesJack Nagel
- remove support for IO objects, since we no longer access ::DATA directly - since we don't need to support IO objects, use a separate class for string patches and stop wrapping strings in StringIO ojects
2014-07-29Decouple DATA patches from the executing scriptJack Nagel
2014-07-29Store test patches in constantsJack Nagel
2014-07-28Add test 1x1 images for formula test fixtures.Mike McQuaid
images
2014-07-26Add test for reporting tap updatesJack Nagel
2014-07-26Clean up updater testsJack Nagel
2014-07-26Only populate the report with formula pathsJack Nagel
2014-07-26Separate reading and parsing the diffJack Nagel
2014-07-25update: remove unused rename detectionJack Nagel
Right now this code only produces false positives. When we have real support for renames, we can implement it more carefully. Closes #31126.
2014-07-25update: simplify diff parsingJack Nagel
2014-07-18Add a factory method that accepts a formula objectJack Nagel
2014-07-18Ask the filename object for the prefixJack Nagel