The CommandLine class didn't construct command lines with empty arguments correctly (these need to be passed as empty quotes to be recognizable as an argument), fixed; added unit tests that exposes this bug; some minor cosmetic fixes

git-svn-id: file:///srv/devel/repo-conversion/nusu@154 d2e56fa2-650e-0410-a79f-9358c0239efd
This commit is contained in:
Markus Ewald 2009-06-24 19:20:26 +00:00
parent ce9a6bc932
commit 839d46ecf1
6 changed files with 100 additions and 28 deletions

View file

@ -77,6 +77,7 @@ namespace Nuclex.Support.Scheduling {
public GenericTimeSource(bool useStopwatch) {
this.useStopwatch = useStopwatch;
// Update the lastCheckedTime and lastCheckedTicks fields
checkForTimeAdjustment();
}
@ -96,7 +97,7 @@ namespace Nuclex.Support.Scheduling {
// See whether the system date/time have been adjusted while we were asleep.
checkForTimeAdjustment();
// Now tell the caller whether his even was signalled
// Now tell the caller whether his event was signalled
return signalled;
}