aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/test
AgeCommit message (Collapse)Author
2017-02-04Merge pull request #1743 from toonetown/robust-pkgutil-cleanupMarkus Reiter
Delete pkgutil directories that are really files.
2017-02-04Always use `Pathname.new` in `pkg_test.rb`.Markus Reiter
2017-02-04Make descriptions a bit clearer.Markus Reiter
2017-02-03Remove `TestCask` class.Markus Reiter
2017-01-31Merge pull request #1930 from vitorgalvao/set-permissions-sudoMarkus Reiter
cask: staged: no sudo in set_permissions
2017-01-29Use dedicated upload_coverage script.Mike McQuaid
2017-01-28cask: staged: no sudo in set_permissionsVĂ­tor GalvĂŁo
2017-01-25Remove Cask’s `test` ReadMe.Markus Reiter
2017-01-25Move Cask fixtures to `test/support/fixtures`.Markus Reiter
2017-01-23Delete with_environment from cask tests.Markus Reiter
2017-01-17suite_test: skip flaky test.Mike McQuaid
2017-01-02cask depends_on arch: remove everything but 64-bit intelVĂ­tor GalvĂŁo
2016-12-28Delete pkgutil directories that are really files.Nathan Toone
Sometimes, pkgutil will return actual files (usually .nib files) as if they were part of the directory. Microsoft Office is an example of this: in a recent update the file `/Library/Application Support/Microsoft/MAU2.0/Microsoft AutoUpdate.app/Contents/SharedSupport/Microsoft Error Reporting.app/Contents/Resources/en.lproj/MainWindowAlt.nib` was returning from `/usr/sbin/pkgutil --only-dirs --files com.microsoft.package.component` even though it should have been a file instead of a directory. This caused the `rmdir` command to fail. This patch will check if we are trying to delete a “directory” that is really a “file” - and if we are, we just delete the file instead. This will allow packages that get in this state to be uninstalled. A unit test which can be run using `brew cask-tests` is also included.
2016-12-06Merge pull request #1464 from reitermarkus/quit-with-launchctlMarkus Reiter
Use `launchctl` to get running processes by bundle ID.
2016-12-05Merge pull request #1620 from reitermarkus/refactoringMarkus Reiter
Refactor Cask installer.
2016-12-05Use `launchctl` to get running processes by bundle ID.Markus Reiter
2016-12-04Use Homebrew’s `Emoji` class in cask installer.Markus Reiter
2016-12-04Use Homebrew to detect if X11 is installed.Markus Reiter
2016-11-29Fix tests.Markus Reiter
2016-11-21Merge pull request #1535 from umireon/cask-pkg-choiceMarkus Reiter
Cask: Add the choices option to pkg stanza
2016-11-21cask: compact the codeKaito Udagawa
2016-11-20cask: Call Tempfile#close(true) with the choices file to ensure it deletedKaito Udagawa
2016-11-19cask: use Tempfile and some style fixesKaito Udagawa
2016-11-19Remove kernel extensions specified in `uninstall :kext`.Markus Reiter
2016-11-19cask: add the choices option to pkg stanzaKaito Udagawa
installer command accepts -applyChoiceChangesXML option to change customize options on the GUI installer from the commandline. (`man installer` for more detailed information) The introduced option `choice` enables the choice changes to be supplied via pkg stanza without tricks in preflight code.
2016-11-16Move all remaining fixtures to `test/support/fixtures`.Markus Reiter
2016-11-11Merge pull request #1475 from reitermarkus/fix-locationsMarkus Reiter
Fix `Hbc::Locations` in tests.
2016-11-10Remove unnecessary `Hbc::Locations` aliases.Markus Reiter
2016-11-10Ensure `Hbc.caskroom` in tests does not use `legacy_caskroom`.Markus Reiter
2016-11-10cask-test: fix reinstall a non installed CaskKaito Udagawa
Trying to uninstall a non installed Cask made this test fail. This commit remove that and thus this test passes. Note that every Cask is uninstalled after each test case.
2016-10-24Move cask fixtures to `test/fixtures/cask`.Markus Reiter
2016-10-24Merge pull request #1248 from Git-Jiro/add_reinstall_cmd_to_caskJosh Hagins
add cask reinstall command
2016-10-23Merge pull request #1357 from reitermarkus/refactor-accessibility-testJosh Hagins
Refactor accessibility test.
2016-10-23Merge pull request #1358 from reitermarkus/refactor-audit-testJosh Hagins
Refactor Audit test.
2016-10-23Merge pull request #1359 from reitermarkus/refactor-dsl-testJosh Hagins
Refactor DSL test.
2016-10-23Merge pull request #1360 from reitermarkus/refactor-installer-testJosh Hagins
Refactor Installer test.
2016-10-24Refactor Installer test.Markus Reiter
2016-10-23Refactor Audit test.Markus Reiter
2016-10-23Refactor DSL test.Markus Reiter
2016-10-23Refactor accessibility test.Markus Reiter
2016-10-23Refactor Hbc::UrlChecker test.Markus Reiter
2016-10-23Use proper path to `caskroom/cask` tap in `test_helper`.Markus Reiter
2016-10-23Add dictionary artifactEitot
2016-10-23Fix failing test caused by `repo_info`.Markus Reiter
2016-10-23Avoid empty rescue.Markus Reiter
2016-10-23Use short-style lambdas.Markus Reiter
2016-10-23Fix spacing and indentation.Markus Reiter
2016-10-23Use `()` as delimiters for `%Q` and `%q` literals.Markus Reiter
2016-10-23Use slash-delimited regular expressions.Markus Reiter
2016-10-23Use `0`-only prefix for octal numbers.Markus Reiter