Commit Graph
41 Commits
Author SHA1 Message Date
Adam Vandenberg e48b73f21f Move ENV tests to separate file. 2010-04-06 08:27:12 -07:00
Adam Vandenberg 2926d9a8b2 Split out some Formula tests. 2010-04-06 08:27:12 -07:00
Adam Vandenberg c6dc5f8661 Switch test_bucket over to use testing_env. 2010-04-06 08:27:12 -07:00
Adam Vandenberg fd823136f6 Move Pathename property tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg 09be718d31 Move ARGV tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg 3473320bc0 Move utils tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg 6bb6c16184 Tests for Pathname.install. 2010-04-06 08:27:11 -07:00
Adam Vandenberg 48980c06c1 Merge Formula class name tests 2010-04-06 08:27:11 -07:00
Adam Vandenberg 5dd30cbf39 Add external deps. tests. 2010-04-06 08:27:11 -07:00
Adam Vandenberg 9c4623c427 Move TestBall definition to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg 13f63b18a8 Move checksum tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg c550e83613 Move version tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg a4e3dcf514 Move inreplace tests to separate file. 2010-04-06 08:27:11 -07:00
Adam Vandenberg 61d35f06ca Tests - remove some unused includes 2010-04-06 08:27:11 -07:00
Adam Vandenberg 5f9067262f Move hardware detection tests to separate file. 2010-04-06 08:27:10 -07:00
Adam Vandenberg 0e549bd8e0 Move install tests to separate file. 2010-04-06 08:27:10 -07:00
Adam Vandenberg 68e81b5a6a Move updater tests to separate file. 2010-04-06 08:27:10 -07:00
Adam Vandenberg 2efd382e3a Add tests for patching. 2010-04-06 08:27:10 -07:00
Adam Vandenberg 8c448ca360 Add new "testing environment" include. 2010-04-06 08:27:10 -07:00
Adam Vandenberg bf56c82c84 Add shell script 'tests' to run ruby test suites. 2010-04-06 08:27:10 -07:00
Adam Vandenberg 46bbea89d0 Remove silly concatenation. 2010-04-06 08:27:10 -07:00
Adam Vandenberg e609640610 Add test script to extract version from URL/path. 2010-04-04 11:49:09 -07:00
Joshua Peek 74ec7a12fa fix github version parser with multidigit number
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-27 14:01:19 -07:00
Adam Vandenberg 068c3aced5 Use tab/space when finding vars (and not newlines). 2010-03-16 12:00:00 -07:00
Martin Kühl f82f7f9a2c Fix change_make_var! for empty variables.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-03-16 11:54:09 -07:00
Adam Vandenberg 88beb21b72 remove_make_var! should not leave an empty assignment 2010-02-09 09:21:25 -08:00
Adam Vandenberg 85c8c5c630 Add formula check for crufy SourceForge URLs. 2010-02-04 17:29:47 -08:00
Adam Vandenberg 8d02ae7431 Update test suite.
* 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.
2010-02-02 09:08:10 -08:00
Joshua Peek 8585a7598e Unit test for brew cleanup 2010-01-18 08:27:55 +00:00
Adam Vandenberg 6060088521 Add unittest for issue #127 2009-12-20 12:56:49 +00:00
Adam Vandenberg 075727251d Refactor formula_test. 2009-11-19 14:13:31 -08:00
Adam Vandenberg 944751f36a Refactor formula_test. 2009-11-18 15:50:01 -08:00
Adam Vandenberg 32da375fc6 Add test for legacy prefix quoting. 2009-11-18 15:43:00 -08:00
Max Howell 70bed07247 More tweaking of main exception handler output 2009-11-12 01:37:02 +00:00
Max Howell 0618d3c576 Ignore stdout during GitDownloadStrategy.stage 2009-11-09 18:24:36 +00:00
Max Howell 0d87b6d380 Don't use Kernel.system much
It just seems to behave strangely with SIGINT. Eg. SIGINT causes tar to exit, but the SIGINT is ignored by our process. This is not the case when used with curl.
2009-11-09 17:55:11 +00:00
Max Howell 1b066d77bf Better errors if missing keg or formula arguments 2009-11-07 18:22:33 +00:00
Max Howell f13eb162ce Fixes #106; Don't downcase ARGV.named 2009-11-04 16:27:37 +00:00
Max Howell 25f76f2691 The tests need the actual optparse apparently 2009-10-23 19:22:51 +01:00
Max Howell 02e34e1e44 Camelcase class names around the . from filenames
Eg. shell.fm -> ShellFm
2009-10-19 13:48:34 +01:00
Max Howell 0b192930f0 Some subdirs and renames to aid homebrew n00bs
The classes better reflect their contents. I'm sure this change may be
contentious, but I am a sucker for trying to create source bases that are easy
to get to grips with and easy to navigate.

brewkit.rb is now a deprecated file.
2009-10-15 16:51:53 +01:00