aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_bucket.rb
AgeCommit message (Collapse)Author
2013-04-10Eliminate test_bucketJack Nagel
Most of the behavior tested here is now tested elsewhere. Move the remaining useful tests to better places.
2013-04-10More comprehensive tests for Pathname extensionJack Nagel
2013-04-10Move formula equality tests out of test_bucketJack Nagel
2013-04-09Simplify these testsJack Nagel
2013-04-08Fix specs in TestBallJack Nagel
2013-04-07Clean up some things in test_bucketJack Nagel
2013-04-07Isolate ARGV extension testsJack Nagel
2013-04-07Delete pointless testJack Nagel
2013-04-01Silence stderr in test suiteJack Nagel
2013-03-28Suppress ambiguous argument and grouped expression warningsJack Nagel
2012-12-01Fix broken `brew cleanup` testsJack Nagel
2012-09-27test_bucket: don't try to clean a non-existent kegJack Nagel
It is a no-op under Ruby 1.8 but Pathname#find raises ENOENT if the directory doesn't exist under 1.9. But we really shouldn't try to clean a non-existent keg anyway, and FormulaInstaller will have bailed out long before the clean step if the keg doesn't exist, so lets just not even test this condition; the cleaner has its own tests anyway. Alternatively we can adjust the cleaner to handle this case, but I don't see much value in that. n.b. with this, the tests now pass under 1.9.3 (for me), which is nice because I often run them on that version inadvertently. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18Replace version strings with Version objectsJack Nagel
2012-08-09Deprecate ancient formula syntaxJack Nagel
Closes Homebrew/homebrew#13444. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04tests: clean up whitespaceJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-04Prune some requires from test filesJack Nagel
testing_env already requires utils; set up the ARGV and ENV extensions there as well. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16tests: silence `zip` output in test_bucketJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-16tests: setup and teardown cleanupsJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-14tests: remove special-casing @path in TestBallJack Nagel
Tests that expect Formula#path to resolve to a real path should use TestBallWithRealPath; TestBall gets its original behavior back, fixing a failing test in test_formula_install. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-17Update return values of install and install_symlinkAdam Vandenberg
These now return an Array of all the target destinations. Previously, if a single argument was passed a single non- Array was returned. This behavior has been changed so that an Array is always returned even for a single argument. Updated the test. Hopefully this won't break any custom code out there.
2012-01-12pathname: recognize ".cpio.*" double extensionsJack Nagel
Just a cosmetic nicety. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-12-09Add support for xz-compressed tarballsJack Nagel
Rationale: some software (e.g. GNU Coreutils, GnuTLS 3.x), have started distributing _only_ xz-compressed tarballs. There is no system XZ utility provided by OS X, but it is necessary so that we can continue to provide formulae for this software. If XZUtils isn't installed, we abort and prompt the user to `brew install xz`. The `xz` command itself doesn't do any untarring, so we write the decompressed archive to stdout and pipe it to tar.
2011-03-12Some CleanupMax Howell
2011-03-12Refactor the brew command into one file per commandMax Howell
The code was sucking. To the extent that maintenance was hard. It's a lot easier to work with code that is sensibly split at sensible boundaries. So now it is more like that. But the refactor is minimal. Because we don't want you to have more merge hell than absolutely necessary. If you merge you will need to pay attention to brew.h.rb (as it is deleted) and bin/brew (as command logic is gone). It will be painful, but you will just have to help git out by moving any changes around manually. Note compatibility.rb. It ensures that any function renames or removals don't break anything. We're pretty serious about backwards compatibility. And that's because we encourage you to hack around with the innards. And we couldn't do that if we would then just make stuff disappear behind your back.
2010-07-29Fix brew info testAdam Vandenberg
2010-04-06Move ENV tests to separate file.Adam Vandenberg
2010-04-06Split out some Formula tests.Adam Vandenberg
2010-04-06Switch test_bucket over to use testing_env.Adam Vandenberg
2010-04-06Move Pathename property tests to separate file.Adam Vandenberg
2010-04-06Move ARGV tests to separate file.Adam Vandenberg
2010-04-06Move utils tests to separate file.Adam Vandenberg
2010-04-06Tests for Pathname.install.Adam Vandenberg
2010-04-06Merge Formula class name testsAdam Vandenberg
2010-04-06Move version tests to separate file.Adam Vandenberg
2010-04-06Move hardware detection tests to separate file.Adam Vandenberg
2010-04-06Move install tests to separate file.Adam Vandenberg
2010-04-06Remove silly concatenation.Adam Vandenberg
2010-02-02Update test suite.Adam Vandenberg
* Break single test case class into several test cases. * Fix broken arch test. * Make update tests optional (seem to only work for mxcl). * Add more tests. * Move fixtures to separate folder.