Beispiel #1
0
        public SelectionDataBaseControl()
        {
            _selectionDataBaseViewModel = new SelectionDataBaseViewModel();
            DataContext = _selectionDataBaseViewModel;

            InitializeComponent();
        }
Beispiel #2
0
        public void SelectDbTest()
        {
            SelectionDataBaseViewModel target = new SelectionDataBaseViewModel(); // TODO: Initialize to an appropriate value
            int selectedFaceDb = 0;                                               // TODO: Initialize to an appropriate value

            target.SelectDb(selectedFaceDb);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Beispiel #3
0
        public void DataBaseNamesTest()
        {
            SelectionDataBaseViewModel    target = new SelectionDataBaseViewModel(); // TODO: Initialize to an appropriate value
            ObservableCollection <string> actual;

            actual = target.DataBaseNames;
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Beispiel #4
0
        public void NumberFaceImagesTest()
        {
            SelectionDataBaseViewModel target = new SelectionDataBaseViewModel(); // TODO: Initialize to an appropriate value
            int expected = 0;                                                     // TODO: Initialize to an appropriate value
            int actual;

            target.NumberFaceImages = expected;
            actual = target.NumberFaceImages;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
Beispiel #5
0
        public void SelectionDataBaseViewModelConstructorTest()
        {
            SelectionDataBaseViewModel target = new SelectionDataBaseViewModel();

            Assert.Inconclusive("TODO: Implement code to verify target");
        }