public void SymbolRemoved() { DefineSymbolsHelper.Add(A); DefineSymbolsHelper.Remove(A); Expect(GetSymbols(), !Contains(A)); }
public void SymbolsAdded() { DefineSymbolsHelper.Add(A); DefineSymbolsHelper.Add(B); Expect(GetSymbols(), Contains(A)); Expect(GetSymbols(), Contains(B)); }
public void SymbolsAddedAndSingleRemoved() { DefineSymbolsHelper.Add(A); DefineSymbolsHelper.Add(B); DefineSymbolsHelper.Remove(A); Expect(GetSymbols(), !Contains(A)); Expect(GetSymbols(), Contains(B)); }
static void Update() { bool refresh = false; var value = AreIosPushNotificationsRemoved(); if (iosPushNotificationsRemoved != value) { iosPushNotificationsRemoved = value; refresh = true; } if (refresh) { if (iosPushNotificationsRemoved) { DefineSymbolsHelper.Add(DefineSymbolsHelper.IOS_PUSH_NOTIFICATIONS_REMOVED); } else { DefineSymbolsHelper.Remove(DefineSymbolsHelper.IOS_PUSH_NOTIFICATIONS_REMOVED); } } }
public void SymbolAdded() { DefineSymbolsHelper.Add(A); Expect(GetSymbols, Contains(A)); }