Skip to content
This repository was archived by the owner on Feb 19, 2019. It is now read-only.

Commit

Permalink
setup tests: mock UAC status
Browse files Browse the repository at this point in the history
This allows testing setup behavior both with UAC enabled and disabled.

The "mocking" mechanism actually changes the UAC registry setting, which
is read by UAC checking code in Chocolatey. Since the change requires OS
restart to take effect, it is indeed a mockup. However, the test suite
should not be interrupted, so that the setting is changed back to the
original value.

No effort has been made to support running the tests on XP. A modern OS is
assumed.
  • Loading branch information
jberezanski committed Jun 13, 2014
1 parent a00ec70 commit 05d3e22
Showing 1 changed file with 605 additions and 144 deletions.
Loading

0 comments on commit 05d3e22

Please sign in to comment.