using System; using System.Collections.Generic; 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 runner.AddTests(Assembly.GetExecutingAssembly()); //runner.AddTests(new List { typeof(TestSynchronizeCachedDatabase) }); //runner.AddTests(typeof(TestSaveDbCached).GetMethod("TestLoadEditSaveWhenModified")); //runner.AddTests(new List { typeof(TestSaveDb) }); //runner.AddTests(new List { typeof(TestCachingFileStorage) }); //runner.AddTests(typeof(TestCachingFileStorage).GetMethod("TestSaveToRemote")); //runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdbpWithPasswordOnly")); //runner.AddTests(typeof(TestSaveDb).GetMethod("TestLoadKdbxAndSaveKdbp_TestIdenticalFiles")); return runner; } } }