mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
23 lines
688 B
C#
23 lines
688 B
C#
using System.Reflection;
|
|
using Android.App;
|
|
using Android.OS;
|
|
using Xamarin.Android.NUnitLite;
|
|
|
|
namespace Android.Test
|
|
{
|
|
[Activity(Label = "bitwarden 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);
|
|
}
|
|
}
|
|
}
|
|
|