AtSpiTest.ImageTest.Image C# (CSharp) Method

Image() private method

private Image ( ) : void
return void
        public void Image()
        {
            Assert.IsNull (frame.QueryImage (), "Frame should not support Image");

            BoundingBox extents = image.GetImageExtents (CoordType.Window);
            Assert.AreEqual (208, extents.X, "Extents.X");
            Assert.AreEqual (86, extents.Y, "Extents.Y");
            int x, y, width, height;
            image.GetPosition (out x, out y, CoordType.Window);
            Assert.AreEqual (extents.X, x, "GetPosition X");
            Assert.AreEqual (extents.Y, y, "GetPosition Y");
            image.GetSize (out width, out height);
            Assert.AreEqual (extents.Width, width, "GetSize Width");
            Assert.AreEqual (extents.Height, height, "GetSize Height");

            Assert.AreEqual (string.Empty, image.Description, "Image Description");
            Assert.AreEqual (string.Empty, image.Locale, "Image Locale");
        }