2013-06-14 00:14:50 -04:00
|
|
|
|
using System;
|
2013-06-25 15:27:41 -04:00
|
|
|
|
using System.Collections.Generic;
|
2013-06-14 00:14:50 -04:00
|
|
|
|
using Android.App;
|
|
|
|
|
using Android.Content;
|
|
|
|
|
using Android.Runtime;
|
|
|
|
|
using Android.Views;
|
|
|
|
|
using Android.Widget;
|
|
|
|
|
using Android.OS;
|
|
|
|
|
using MonoDroidUnitTesting;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
|
|
|
|
namespace Kp2aUnitTests
|
|
|
|
|
{
|
|
|
|
|
[Activity(Label = "MonoDroidUnit", MainLauncher = true, Icon = "@drawable/icon")]
|
|
|
|
|
public class MainActivity : GuiTestRunnerActivity
|
|
|
|
|
{
|
|
|
|
|
protected override TestRunner CreateTestRunner()
|
|
|
|
|
{
|
|
|
|
|
TestRunner runner = new TestRunner();
|
|
|
|
|
// Run all tests from this assembly
|
2014-05-14 01:23:31 -04:00
|
|
|
|
//runner.AddTests(Assembly.GetExecutingAssembly());
|
2014-11-11 11:19:22 -05:00
|
|
|
|
//runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdb1WithKeyfileByDirectCall"));
|
2014-11-18 00:24:35 -05:00
|
|
|
|
//runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdb1WithKeyfileOnly"));
|
|
|
|
|
|
2014-11-24 12:21:45 -05:00
|
|
|
|
|
2015-02-07 14:54:13 -05:00
|
|
|
|
//runner.AddTests(new List<Type> { typeof(TestSelectStorageLocation) });
|
2013-12-12 04:24:24 -05:00
|
|
|
|
//runner.AddTests(new List<Type> { typeof(TestSynchronizeCachedDatabase)});
|
2014-01-25 22:38:12 -05:00
|
|
|
|
//runner.AddTests(typeof(TestLoadDb).GetMethod("LoadErrorWithCertificateTrustFailure"));
|
2014-02-02 17:36:19 -05:00
|
|
|
|
//runner.AddTests(typeof(TestLoadDb).GetMethod("LoadWithAcceptedCertificateTrustFailure"));
|
2014-02-19 15:49:18 -05:00
|
|
|
|
|
2015-02-07 14:54:13 -05:00
|
|
|
|
//runner.AddTests(new List<Type> { typeof(TestSaveDb) });
|
2013-08-06 16:21:58 -04:00
|
|
|
|
//runner.AddTests(new List<Type> { typeof(TestCachingFileStorage) });
|
2015-02-07 14:54:13 -05:00
|
|
|
|
//runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdb1WithKeyfileOnly"));
|
2015-02-09 14:24:57 -05:00
|
|
|
|
|
|
|
|
|
//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"));
|
|
|
|
|
|
2014-02-19 15:49:18 -05:00
|
|
|
|
//runner.AddTests(typeof(TestLoadDb).GetMethod("LoadAndSaveFromRemote1And1Ftp"));
|
2014-01-26 08:27:27 -05:00
|
|
|
|
//runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdbpWithPasswordOnly"));
|
|
|
|
|
//runner.AddTests(typeof(TestSaveDb).GetMethod("TestLoadKdbxAndSaveKdbp_TestIdenticalFiles"));
|
2013-06-14 00:14:50 -04:00
|
|
|
|
return runner;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|