//
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        internal virtual ViewModelBase_Accessor CreateViewModelBase_Accessor()
        {
            // TODO: Instantiate an appropriate concrete class.
            ViewModelBase_Accessor target = null;

            return(target);
        }
Ejemplo n.º 2
0
        public void SaveTrainImagesTest()
        {
            PrivateObject          param0 = null;                               // TODO: Initialize to an appropriate value
            ViewModelBase_Accessor target = new ViewModelBase_Accessor(param0); // TODO: Initialize to an appropriate value

            target.SaveTrainImages();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Ejemplo n.º 3
0
        public void CreateDataDirTest()
        {
            PrivateObject          param0 = null;                               // TODO: Initialize to an appropriate value
            ViewModelBase_Accessor target = new ViewModelBase_Accessor(param0); // TODO: Initialize to an appropriate value
            string shortFileName          = string.Empty;                       // TODO: Initialize to an appropriate value
            string expected = string.Empty;                                     // TODO: Initialize to an appropriate value
            string actual;

            actual = target.CreateDataDir(shortFileName);
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Ejemplo n.º 4
0
        public void ThrowOnInvalidPropertyNameTest()
        {
            PrivateObject          param0 = null;                               // TODO: Initialize to an appropriate value
            ViewModelBase_Accessor target = new ViewModelBase_Accessor(param0); // TODO: Initialize to an appropriate value
            bool expected = false;                                              // TODO: Initialize to an appropriate value
            bool actual;

            target.ThrowOnInvalidPropertyName = expected;
            actual = target.ThrowOnInvalidPropertyName;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Ejemplo n.º 5
0
        public void SaveDataTest()
        {
            PrivateObject          param0                   = null;                               // TODO: Initialize to an appropriate value
            ViewModelBase_Accessor target                   = new ViewModelBase_Accessor(param0); // TODO: Initialize to an appropriate value
            string shortFileName                            = string.Empty;                       // TODO: Initialize to an appropriate value
            ObservableCollection <FaceImage> images         = null;                               // TODO: Initialize to an appropriate value
            ObservableCollection <FaceImage> imagesExpected = null;                               // TODO: Initialize to an appropriate value

            target.SaveData(shortFileName, ref images);
            Assert.AreEqual(imagesExpected, images);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }