public IdentityTests(ITestOutputHelper output) { this.output = output; appHandle = AppSource.GenerateWebDriver(); webDriver = appHandle.WebDriver; }
internal static unsafe void Initialize() { if (Interlocked.CompareExchange(ref _isInitialized, 1, 0) == 0) { var platform = Environment.OSVersion.Platform; if (platform == PlatformID.Win32NT) { // This is the path for regular windows apps using NuGet. AddWindowsWrappersToPath("lib\\win32"); // This is the path for Unity apps built as standalone. AddWindowsWrappersToPath("..\\Plugins", isUnityTarget: true); // This is the path in the Unity package - it is what the Editor uses. AddWindowsWrappersToPath("Windows", isUnityTarget: true); } SynchronizationContextScheduler.Install(); SharedRealmHandle.Initialize(); SessionHandle.InstallCallbacks(); HttpClientTransport.Install(); AppHandle.Initialize(); } }
public PersonalGalleryTests(ITestOutputHelper output) { this.output = output; appHandle = AppSource.GenerateWebDriver(); webDriver = appHandle.WebDriver; }
private static extern bool MSTerminate(ref AppHandle handle);
private static extern bool MSRestore(ref AppHandle handle);
private static extern bool MSMinimize(ref AppHandle handle);
private static extern bool MSGetWindowHandle(ref AppHandle handle);
private static extern bool MSCreateProcess(StringBuilder path, out AppHandle handle);
public static bool Terminate(AppHandle handle) { return MSTerminate(ref handle); }
public static bool Restore(AppHandle handle) { return MSRestore(ref handle); }
public static bool Terminate(AppHandle handle) { return(MSTerminate(ref handle)); }
public static bool Restore(AppHandle handle) { return(MSRestore(ref handle)); }
public static bool Minimize(AppHandle handle) { return(MSMinimize(ref handle)); }
public static bool Minimize(AppHandle handle) { return MSMinimize(ref handle); }