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
|
2013-08-01 16:20:39 -04:00
|
|
|
|
runner.AddTests(Assembly.GetExecutingAssembly());
|
2013-08-08 14:40:02 -04:00
|
|
|
|
//runner.AddTests(new List<Type> { typeof(TestSaveDbCached) });
|
|
|
|
|
//runner.AddTests(typeof(TestSaveDbCached).GetMethod("TestLoadEditSaveWhenModified"));
|
|
|
|
|
|
|
|
|
|
//runner.AddTests(new List<Type> { typeof(TestSaveDb) });
|
2013-08-06 16:21:58 -04:00
|
|
|
|
//runner.AddTests(new List<Type> { typeof(TestCachingFileStorage) });
|
2013-07-30 14:42:16 -04:00
|
|
|
|
//runner.AddTests(typeof(TestCachingFileStorage).GetMethod("TestSaveToRemote"));
|
|
|
|
|
//runner.AddTests(typeof(TestLoadDb).GetMethod("TestLoadKdbpWithPasswordOnly"));
|
2013-07-13 14:13:45 -04:00
|
|
|
|
//runner.AddTests(typeof(TestSaveDb).GetMethod("TestLoadKdbxAndSaveKdbp_TestIdenticalFiles"));
|
2013-06-14 00:14:50 -04:00
|
|
|
|
return runner;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|