Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            TodoRepositoryTests x = new TodoRepositoryTests();

            x.AddTest();
            x.AddingExistingItemWillThrowException();
            x.GetTest();
            x.GetActiveTest();
            x.GetAllTest();
            x.GetCompletedTest();
            x.GetFilteredTest();
            x.MarkAsCompletedTest();
            x.RemoveTest();
            x.UpdateTest();

            Console.ReadLine();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            TodoRepositoryTests test = new TodoRepositoryTests();

            //test.AddingItemWillAddToDatabase();
            //test.GetItem();
            //test.GetNonExistingItemAssertFailed();
            //test.RemoveExistingItem();
            //test.RemoveNonExistingItem();
            //test.UpdateNonExistingItem();
            //test.UpdateExistingItem();
            //test.UpdatingWithNullArgThrowsException();
            //test.MarkAsCompletedNonExistingItem();
            //test.MarkAsCompletedExistingItem();
            //test.GetAllTest();
            //test.GetActiveTest();
            //test.GetCompletedTest();
            test.GetFilteredTest();
            Console.WriteLine("done");
            Console.ReadKey();
        }