aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/test_pathname.rb
AgeCommit message (Collapse)Author
2016-09-24Merge branch 'master' into mkdir_with_intermediatesMike McQuaid
2016-09-23Fix Style/NumericLiterals.Markus Reiter
2016-09-20Make mkdir wrapper use mkdir_p to create intermediate directoriesMarc Savy
2016-08-06tests: fix code style issues (#587)Andrea Kao
2016-04-01Pathname: improve compute_disk_usageXu Cheng
* Count .DS_Store disk usage but not file count. * Count symlink's own disk usage instead of ignoring it. * Count hardlinks disk usage only once. * Add testcase. Closes Homebrew/homebrew#50563. Closes Homebrew/homebrew#50566. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-03-08install_renamed: handle recursive installs.Mike McQuaid
Closes Homebrew/homebrew#49845. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2016-02-21test_pathname: add append_lines testsDominyk Tiller
Closes Homebrew/homebrew#49233. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
2015-11-11ruby 1.8: address syntax warnings in Homebrew coreMartin Afanasjew
Closes Homebrew/homebrew#45849. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-21Add test demonstrating installing a relative symlinkJack Nagel
2015-04-29Ensure HOMEBREW_TEMP is respected in all testsJack Nagel
2015-03-26Add tests for cp_path_subJack Nagel
2015-03-26Add test for InstallRenamed on directoriesJack Nagel
2015-03-26Adjust variable in InstallRenamed testJack Nagel
2015-03-26Don't run pathname tests twiceJack Nagel
2015-03-25Get rid of setup_install_test methodJack Nagel
2015-03-25Eliminate chdir from pathname testsJack Nagel
2015-03-25Pull install tests into a separate classJack Nagel
2015-03-25Do less work inside chdir blocksJack Nagel
2014-07-11Add test for InstallRenamed moduleJack Nagel
2014-07-10Raise Errno::ENOENT instead of RuntimeError from Pathname#installJack Nagel
2014-06-18Use assert_predicateJack Nagel
2014-06-18Use a custom test class so we can avoid monkeypatchingJack Nagel
2014-06-12Deprecate Pathname#cp and Pathname#chmod_RJack Nagel
As far as I can tell these methods have only ever been used in the test suite. Since Formula includes FileUtils, it is generally simpler (and in the case of cp, more readable) to use the FileUtils methods directly. Closes Homebrew/homebrew#30081.
2014-03-22Preserve permissions when using Pathname#atomic_writeJack Nagel
2014-03-18Make relative symlinks in Pathname#install_symlinkJack Nagel
Closes Homebrew/homebrew#27672.
2013-08-13pathname: remove unused return valuesAdam Vandenberg
Return value was used only by one test, rewrote test to know expected value.
2013-07-22Silence warningsJack Nagel
2013-04-10More comprehensive tests for Pathname extensionJack Nagel