keepass2android/src/Kp2aUnitTests/MainActivity.cs

31 lines
897 B
C#
Raw Normal View History

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
2013-06-28 14:22:28 -04:00
runner.AddTests(Assembly.GetExecutingAssembly());
//runner.AddTests(new List<Type> { typeof(TestSaveDb)});
//runner.AddTests(typeof(TestSaveDb).GetMethod("TestLoadEditSaveWithSyncConflict"));
//runner.AddTests(typeof(TestSaveDb).GetMethod("TestLoadEditSave"));
return runner;
}
}
}