aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_utils.rb
AgeCommit message (Collapse)Author
2016-01-09more utils testsBaptiste Fontaine
Closes Homebrew/homebrew#47856. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-04test: test popen_read and popen_write with blockMartin Afanasjew
2016-01-03test_utils: add test_which_allXu Cheng
2015-12-30test_utils: add test_disk_usage_readable and test_number_readableXu Cheng
2015-12-22Reimplement #pretty_durationSebastian Staudt
Also reuse this improved implementation in the GitHub rate limit errors. Closes Homebrew/homebrew#44721. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-14pretty_duration: fixed for int argumentsBaptiste Fontaine
Without this the returned string is not as accurate if the method is called with an int larger than 120. Closes Homebrew/homebrew#47002. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-14plural: tests addedBaptiste Fontaine
2015-08-22core file style updateXu Cheng
2015-08-16which: tests addedBaptiste Fontaine
Closes Homebrew/homebrew#42954. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-12-16Utils.popen_read doesn't doesn't require a blockJack Nagel
2014-07-05Add popen wrapper that does not invoke the shellJack Nagel
2014-06-18Use assert_silentJack Nagel
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-04-15Don't use assert_nothing_raisedJack Nagel
2014-04-15Remove questionable testJack Nagel
This is already covered in test_mach.rb.
2013-10-23test_utils: fix Mavericks arch test.Mike McQuaid
2013-06-26Skip test on Xcode only systemsAdam Vandenberg
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-05-30archs_for_command: use new Mach-O Pathname methodsJack Nagel
- Reimplement archs_for_command on top of the new Mach-O methods - Move ArchitectureListExtension to mach.rb - Add a test for the ArchitectureListExtension Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-09Fix typo in test_arch_for_commandJack Nagel
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-03-09Fix test_arch_for_command on 10.7.Mike McQuaid
2010-04-06Move utils tests to separate file.Adam Vandenberg