Esempio n. 1
0
            public static bool Test_EndCapture()
            {
                bool passed = false;

                cleanUp();

                TextureCapture.BeginCapture();
                TextureCapture.EndCapture();
                if (TextureCapture.photoCaptureObject == null)
                {
                    passed = true;
                }

                cleanUp();

                return(passed);
            }
Esempio n. 2
0
            public static bool Test_Capture(string expectedFileName)
            {
                bool passed = false;

                cleanUp();

                TextureCapture.BeginCapture();
                TextureCapture.Capture();
                TextureCapture.EndCapture();

                if (Directory.Exists(expectedFileName))
                {
                    passed = true;
                }

                cleanUp();

                return(passed);
            }