public static GetMobileServicesSdkVersion ( |
||
executingAssembly | ||
return | string |
/// <summary> /// Initialize the test harness. /// </summary> static App() { Harness = new TestHarness(); Harness.Platform = string.Format("Win8 Store-C#|sdk v{0}|", TestPlatform.GetMobileServicesSdkVersion(typeof(App).GetTypeInfo().Assembly)); Harness.LoadTestAssembly(typeof(FunctionalTestBase).GetTypeInfo().Assembly); Harness.LoadTestAssembly(typeof(LoginTests).GetTypeInfo().Assembly); }
/// <summary> /// Initializes the singleton application object. This is the first line of authored code /// executed, and as such is the logical equivalent of main() or WinMain(). /// </summary> public App() { this.InitializeComponent(); this.Suspending += OnSuspending; HardwareButtons.BackPressed += HardwareButtons_BackPressed; Harness = new TestHarness(); Harness.Platform = string.Format("Win Phone 8.1|sdk v{0}|", TestPlatform.GetMobileServicesSdkVersion(typeof(App).GetTypeInfo().Assembly)); Harness.LoadTestAssembly(typeof(FunctionalTestBase).GetTypeInfo().Assembly); }