61 references to Assert
PresentationFramework (61)
src\Framework\System\Windows\Shell\WindowChrome.cs (2)
74Assert.IsNotNull(window); 331Assert.IsNotNull(bp.DependencyProperty);
src\Framework\System\Windows\Shell\WindowChromeWorker.cs (33)
123Assert.IsNotNull(_window); 174Assert.IsNotNull(w); 175Assert.IsNotNull(cw); 176Assert.IsNull(cw._window); 187Assert.IsNull(_window); 188Assert.IsNotNull(window); 213Assert.IsNotNull(_hwndSource); 236Assert.IsNotDefault(_hwnd); 238Assert.IsNotNull(_hwndSource); 380Assert.IsNotNull(_chromeInfo); 381Assert.IsNotNull(_window); 536Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 569Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 592Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 618Assert.AreEqual(hwnd, _hwnd); 874Assert.IsNotDefault(lParam); 914Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 929Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 935Assert.Implies(_window.WindowState == WindowState.Maximized, Utility.IsOSWindows7OrNewer); 956Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 964Assert.IsTrue(Utility.IsOSWindows7OrNewer); 976Assert.IsTrue(Utility.IsPresentationFrameworkVersionLessThan4); 999Assert.IsNotDefault(_hwnd); 1248Assert.AreEqual(topRightRegionRect.Right, windowSize.Width); 1256Assert.AreEqual(bottomLeftRegionRect.Bottom, windowSize.Height); 1264Assert.AreEqual(bottomRightRegionRect.Right, windowSize.Width); 1265Assert.AreEqual(bottomRightRegionRect.Bottom, windowSize.Height); 1358Assert.IsNotNull(_window); 1517Assert.IsNotDefault(_hwnd); 1518Assert.IsNotNull(_window); 1542Assert.IsTrue(_isFixedUp); 1554Assert.IsNull(_chromeInfo); 1555Assert.IsNotNull(_window);
src\Framework\System\Windows\Standard\Debug.cs (2)
195Assert.Fail(); 204Assert.Fail();
src\Framework\System\Windows\Standard\ErrorCodes.cs (6)
297Assert.Implies((int)facility != (int)((int)facility & 0x1FF), facility == Facility.Ese || facility == Facility.WinCodec); 299Assert.AreEqual(code, code & 0xFFFF); 469Assert.IsNotNull(e); 474Assert.IsFalse(e is ArgumentNullException); 496Assert.IsNotNull(e); 511Assert.Fail();
src\Framework\System\Windows\Standard\MessageWindow.cs (1)
213Assert.IsNotNull(hwndWrapper);
src\Framework\System\Windows\Standard\NativeMethods.cs (5)
1425Assert.NullableIsNull(_hwnd); 1717Assert.IsNotNull(_cp); 2546Assert.AreEqual(IntPtr.Zero, p); 2850Assert.IsTrue(Utility.IsOSVistaOrNewer); 2862Assert.IsTrue(Utility.IsOSWindows7OrNewer);
src\Framework\System\Windows\Standard\Utilities.cs (5)
248Assert.IsTrue(Marshal.IsComObject(t)); 259Assert.IsNotNull(property); 260Assert.IsNotNull(listener); 272Assert.IsNotNull(property); 273Assert.IsNotNull(listener);
src\Framework\System\Windows\Standard\Verify.cs (6)
58Assert.IsNeitherNullNorEmpty(name); 83Assert.IsNeitherNullNorEmpty(name); 267Assert.IsNeitherNullNorEmpty(parameterName); 292Assert.IsNotNull(parameter); 293Assert.IsNotNull(interfaceType); 294Assert.IsTrue(interfaceType.IsInterface);
src\Framework\System\Windows\SystemParameters.cs (1)
6202Standard.Assert.IsNeitherNullNorEmpty(UxThemeName);