NativeSmokeHarness.cs (10)
62_store.Save(new TraySavedState([
83_controller = new(_client, _store);
207Require(_controller.ConfirmStop && _store.Load().ConfirmStop, "Cancel persisted the suppression checkbox.");
278Require(_controller.ConfirmStop && _store.Load().ConfirmStop, "A stale confirmation changed the saved preference.");
280Require(!_controller.ConfirmStop && !_store.Load().ConfirmStop, "Accepted Stop did not persist the suppression checkbox.");
299var saved = _store.Load();
302Require(ReferenceEquals(saved, _store.Load()), "Cancel changed recent history.");
305Require(_store.Load().AppHosts.All(host => host.IsPinned && !host.IsRecent)
306&& _store.Load().AppHosts.Any(host => TrayAppHostPath.Comparer.Equals(host.AppHostPath, _pinned)), "Clear Recent did not preserve pins.");
315Require(_store.Load().AppHosts.All(host => !TrayAppHostPath.Comparer.Equals(host.AppHostPath, _missingPin)),