示例#1
0
        protected override TestRunner CreateTestRunner()
        {
            TestRunner runner = new TestRunner();
            // Run all tests from this assembly
            //runner.AddTests(Assembly.GetExecutingAssembly());
            //runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdb1WithKeyfileByDirectCall"));
            //runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdb1WithKeyfileOnly"));

            runner.AddTests(new List<Type> { typeof(TestSelectStorageLocation) });
            //runner.AddTests(new List<Type> { typeof(TestSynchronizeCachedDatabase)});
            //runner.AddTests(typeof(TestLoadDb).GetMethod("LoadErrorWithCertificateTrustFailure"));
            //runner.AddTests(typeof(TestLoadDb).GetMethod("LoadWithAcceptedCertificateTrustFailure"));

            //runner.AddTests(new List<Type> { typeof(TestSaveDb) });
            //runner.AddTests(new List<Type> { typeof(TestCachingFileStorage) });
            //runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdb1WithKeyfileOnly"));

            //runner.AddTests(typeof(TestSaveDb).GetMethod("TestLoadEditSaveWithSyncKdb"));
            //runner.AddTests(typeof(TestSaveDb).GetMethod("TestLoadAndSave_TestIdenticalFiles_kdb"));
            //runner.AddTests(typeof(TestSaveDb).GetMethod("TestCreateSaveAndLoad_TestIdenticalFiles_kdb"));

            //	runner.AddTests(typeof(TestSaveDb).GetMethod("TestSaveTwice_kdb"));

            //runner.AddTests(typeof(TestLoadDb).GetMethod("LoadAndSaveFromRemote1And1Ftp"));
            //runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdbpWithPasswordOnly"));
            //runner.AddTests(typeof(TestSaveDb).GetMethod("TestLoadKdbxAndSaveKdbp_TestIdenticalFiles"));
            return runner;
        }
示例#2
0
 protected override TestRunner CreateTestRunner()
 {
     TestRunner runner = new TestRunner();
     // Run all tests from this assembly
     runner.AddTests(Assembly.GetExecutingAssembly());
     return runner;
 }
示例#3
0
        protected override TestRunner CreateTestRunner()
        {
            var testRunner = new TestRunner();

            testRunner.AddTests(Assembly.GetExecutingAssembly());

            return testRunner;
        }
示例#4
0
 void ITestResultHandler.OnTestRunStarted(TestRunner runner)
 {
     Log.Info(TAG, string.Format("Found {0} test classes...", runner.TestClassCount));
 }
示例#5
0
 void ITestResultHandler.OnTestRunEnded(TestRunner runner)
 {
     Log.Info(TAG, "Test run finished");
 }