aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_software_spec.rb
AgeCommit message (Collapse)Author
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-07-31Hide the options data structure betterJack Nagel
2014-07-31Make options available on the spec objectsJack Nagel
2014-07-30Rename resource? to resource_defined?Jack Nagel
2014-07-13Use accessor method in testJack Nagel
2014-06-18Move test helpers into Homebrew::TestCaseJack Nagel
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-04-01Stop jumping through hoops to get at the collector objectJack Nagel
2014-03-18Set bottle download strategy directlyJack Nagel
We know what strategy we want, so going through DownloadStrategyDetector is wasted work. Now we can remove those patterns from the detector and have two fewer branches each time through.
2014-03-13New patch implementation and DSLJack Nagel
This commit introduces a new patch implementation that supports checksums and caching. Patches are declared in blocks: patch do url ... sha1 ... end A strip level of -p1 is assumed. It can be overridden using a symbol argument: patch :p0 do url ... sha1 ... end Patches can be declared in stable, devel, and head blocks. This form is preferred over using conditionals. stable do # ... patch do url ... sha1 ... end end Embedded (__END__) patches are declared like so: patch :DATA patch :p0, :DATA Patches can also be embedded by passing a string. This makes it possible to provide multiple embedded patches while making only some of them conditional. patch :p0, "..."
2014-03-10Make bottle implementation more genericJack Nagel
2014-02-27Set owner ivar in SoftwareSpecJack Nagel
2013-12-05Use BottleCollector in Bottle SoftwareSpecMisty De Meo
2013-11-26Add test for 5c1ee9c1aeee00e512919f37d3fa66fcf637e070Jack Nagel
2013-09-23Set owner of resources to SoftwareSpec objectJack Nagel
2013-09-21Move dependencies to SoftwareSpecJack Nagel
2013-09-21Move options to SoftwareSpecJack Nagel
2013-09-17Make spec-scoped resources override top-level resourcesJack Nagel
2013-09-17SoftwareSpec tests are now Resource testsJack Nagel
2013-09-14Move SoftwareSpec to a separate fileJack Nagel
2013-06-28Reject versions that aren't stringsJack Nagel
2013-06-28Detect versions in tag specsJack Nagel
Closes #18300. Closes #20891.
2013-06-01Require hardware where it is neededJack Nagel
2013-04-13Remove obsolete testsJack Nagel
This behavior is now tested at more appropriate levels in test_software_spec, test_formula_spec_selection, and test_formula_validation.
2013-04-08Tests for SoftwareSpec and subclassesJack Nagel