Пример #1
0
 public void Test_KundenLoad()
 {
     KundeViewModel vm = new KundeViewModel(kernel.Get<IServiceFactory>());
     vm.Init();
     vm.LoadCommand.Execute(null);
     Assert.AreEqual(4, vm.Kunden.Count);
 }
Пример #2
0
        public void Test_KundenLoad()
        {
            KundeViewModel vm = new KundeViewModel(kernel.Get<IServiceFactory>());
            vm.Init();

            Assert.IsTrue(vm.Kunden.Count > 0);
        }
Пример #3
0
        public void Test_KundenLoad()
        {
            KundeViewModel vm = new KundeViewModel(kernel.Get<IServiceFactory>());
            vm.Init();

            Assert.Inconclusive("Test not implemented.");
        }
 public void KundenLoadTest()
 {
     TestEnvironmentHelper.InitializeTestData();
     KundeViewModel viewmodel = new KundeViewModel();
     Assert.IsTrue(viewmodel.LoadCommand.CanExecute(null));
     Assert.AreEqual(4, viewmodel.Kunden.Count);
 }
Пример #5
0
 public void KundenLoadTest()
 {
     var model = new KundeViewModel();
     var loadCommand = model.LoadCommand;
     Assert.IsTrue(loadCommand.CanExecute(null));
     loadCommand.Execute(null);
     Assert.AreEqual(4, model.Kunden.Count);
 }
Пример #6
0
 public void KundenLoadTest()
 {
     var v = new KundeViewModel();
     Assert.AreEqual(KundeViewModel.Kunden.Count, 4);
 }
Пример #7
0
 public void KundenLoadTest()
 {
     KundeViewModel kundeView = new KundeViewModel();
     Assert.IsFalse(0 == kundeView.Kunden.Count);
 }
Пример #8
0
 public void Test_KundenLoad()
 {
     KundeViewModel vm = new KundeViewModel(kernel.Get<IServiceFactory>());
     vm.Init();
     Assert.IsNotNull(vm.Kunden);
 }
Пример #9
0
 public KundeView()
 {
     InitializeComponent();
     DataContext = new KundeViewModel();
 }