1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-15 15:53:44 +00:00

Moved android test project

This commit is contained in:
Kyle Spearrin
2016-08-01 21:49:32 -04:00
parent 69fa9d33f8
commit 732418d971
13 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
using System.Reflection;
using Android.App;
using Android.OS;
using Xamarin.Android.NUnitLite;
namespace Android.Test
{
[Activity(Label = "Android.Test", MainLauncher = true, Icon = "@drawable/icon")]
public class MainActivity : TestSuiteActivity
{
protected override void OnCreate(Bundle bundle)
{
// tests can be inside the main assembly
AddTest(Assembly.GetExecutingAssembly());
// or in any reference assemblies
// AddTest (typeof (Your.Library.TestClass).Assembly);
// Once you called base.OnCreate(), you cannot add more assemblies.
base.OnCreate(bundle);
}
}
}