-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #103 from Azure/develop
Develop
- Loading branch information
Showing
13 changed files
with
4,102 additions
and
2,871 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
using System; | ||
using System.Reflection; | ||
using Android.App; | ||
using Android.Content; | ||
using Android.Runtime; | ||
using Android.Views; | ||
using Android.Widget; | ||
using Android.OS; | ||
|
||
using Xunit.Sdk; | ||
using Xunit.Runners.UI; | ||
|
||
namespace Test.Microsoft.Amqp.Android | ||
{ | ||
[Activity(Label = "xUnit Android Runner", MainLauncher = true, Theme= "@android:style/Theme.Material.Light")] | ||
public class MainActivity : RunnerActivity | ||
{ | ||
|
||
protected override void OnCreate(Bundle bundle) | ||
{ | ||
// tests can be inside the main assembly | ||
AddTestAssembly(Assembly.GetExecutingAssembly()); | ||
|
||
AddExecutionAssembly(typeof(ExtensibilityPointFactory).Assembly); | ||
// or in any reference assemblies | ||
|
||
//AddTestAssembly(typeof(PortableTests).Assembly); | ||
// or in any assembly that you load (since JIT is available) | ||
|
||
#if false | ||
// you can use the default or set your own custom writer (e.g. save to web site and tweet it ;-) | ||
Writer = new TcpTextWriter ("10.0.1.2", 16384); | ||
// start running the test suites as soon as the application is loaded | ||
AutoStart = true; | ||
// crash the application (to ensure it's ended) and return to springboard | ||
TerminateAfterExecution = true; | ||
#endif | ||
// you cannot add more assemblies once calling base | ||
base.OnCreate(bundle); | ||
} | ||
} | ||
} | ||
|
Oops, something went wrong.