25 using MonoDroid.Dialog;
26 using NUnit.Framework.Api;
27 using NUnit.Framework.Internal;
29 namespace Android.NUnitLite.UI {
38 protected override void OnCreate (Bundle bundle)
40 base.OnCreate (bundle);
42 test_suite = Intent.GetStringExtra (
"TestSuite");
43 suite = AndroidRunner.Suites [test_suite];
47 while (suite.Tests.Count == 1 && (suite.Tests[0] is TestSuite))
48 suite = (TestSuite)suite.Tests[0];
50 main =
new Section(suite.FullName ?? suite.Name);
51 foreach (ITest test
in suite.Tests) {
52 TestSuite ts = test as TestSuite;
66 var lv =
new ListView (
this) {
72 public async
void Run ()
75 if (!runner.
OpenWriter (
"Run " + test_suite,
this))
79 foreach (NUnit.Framework.Internal.Test test in suite.Tests)
81 await runner.Run(test);
85 runner.CloseWriter ();
override void OnCreate(Bundle bundle)
bool OpenWriter(string message, Context activity)
Sections contain individual Element instances that are rendered by MonoDroid.Dialog ...