external/rx/Rx/NET/Source/Rx_Xamarin/android/ReactiveTestApplication/MainActivity.cs
raw| 1 | using System.Reflection; |
| 2 | using Android.App; |
| 3 | using Android.OS; |
| 4 | using Xamarin.Android.NUnitLite; |
| 5 | |
| 6 | namespace ReactiveTestApplication |
| 7 | { |
| 8 | [Activity (Label = "ReactiveTestApplication", MainLauncher = true)] |
| 9 | public class MainActivity : TestSuiteActivity |
| 10 | { |
| 11 | protected override void OnCreate (Bundle bundle) |
| 12 | { |
| 13 | AddTest (typeof (ReactiveTests.Extensions).Assembly); |
| 14 | // Once you called base.OnCreate(), you cannot add more assemblies. |
| 15 | base.OnCreate (bundle); |
| 16 | } |
| 17 | } |
| 18 | } |
| 19 |