aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
AgeCommit message (Collapse)Author
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 Homebrew/homebrew#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
2014-07-18Move bottle filename construction to a classJack Nagel
2014-07-16Remove more dead codeJack Nagel
2014-07-16Don't raise when converting the tag to a version failsJack Nagel
2014-07-16Raise ArgumentError when a symbol can't be mapped to a versionJack Nagel
The fact that this is implemented as a hash lookup is an implementation detail, so don't let the KeyError bubble up.
2014-07-16Rename testJack Nagel
2014-07-16Remove dead codeJack Nagel
Formula objects are always constructed with an explicit name, so we no longer need to special case an empty name or the name "__UNKNOWN__".
2014-07-16Rename fetch_bottle_for to fetch_checksum_forJack Nagel
2014-07-15Implement []= on BottleCollectorJack Nagel
2014-07-15No need to set the URL for dependency testJack Nagel
2014-07-15Eagerly set the download strategyJack Nagel
2014-07-13Use accessor method in testJack Nagel
2014-07-12Handle conflicts where links point at symlinksJack Nagel
Fixes Homebrew/homebrew#30664.
2014-07-12Always link symlinks directlyJack Nagel
2014-07-11Add test for InstallRenamed moduleJack Nagel
2014-07-10Raise Errno::ENOENT instead of RuntimeError from Pathname#installJack Nagel
2014-07-10Fix method signatureJack Nagel
2014-07-07Remove proc handling from BuildEnvironmentJack Nagel
2014-07-07Eliminate some indirection in evaluating requirement env blocksJack Nagel
2014-07-07Simplify BuildEnvironmentDSL test setupJack Nagel
2014-07-07Merge should return selfJack Nagel