mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
1efe5bff9f
It looks to me like the test cases just was also wrong and just wasn't updated with the fix.
I've modified some of the test cases to verify the expected behavior:
1) Slight refactor of the tests to pass in the SearchReplaceExpected and flags for the tests.
2) Using Assert::AreEqual instead of Assert::IsTrue for better error meesaging when failed.
3) Verifying that the behavior is the same with or without match all occurances when using *.
4) Verifying that without the `UseRegularExpressionsFlag` the `.*` characters get replaced, including when MatchAllOccurances is set.
PowerToys Modules
The source code of the PowerToys modules:
example_powertoy
An example PowerToy, that demonstrates how to create new ones.
fancyzones
The FancyZones PowerToy that allows users to create custom zones on the screen, to which the windows will snap when moved.
FancyZonesEditor
Editor for the snap-zones of the FancyZones PowerToy.
interface
Definition of the interface used by the runner to manage the PowerToys. All PowerToys must implement this interface.
powerrename
PowerRename is a Windows Shell Context Menu Extension for advanced bulk renaming using simple search and replace or more powerful regular expression matching.
shortcut_guide
The Windows Shortcut Guide, displayed when the WinKey is held for some time.