Ejemplo n.º 1
0
 public UiElementRemote(
     RemoteUiElement remoteUiElement,
     UnityDriverHostProcess process
     ) : base(remoteUiElement)
 {
     _remoteUiElement = remoteUiElement;
     _process         = process;
 }
 public async Task Build_WithInstalledExecutable_ThrowsNoExceptions()
 {
     // Arrange
     try {
         // Act
         await UnityDriverHostProcess.Attach("./Agent/RemoteHost.exe");
     } catch (Exception ex) {
         // Assert
         Assert.Fail("Expected no exception, but caught: " + ex.Message);
     }
 }
 public async Task TestInitialize()
 => _agent = await UnityDriverHostProcess.Attach(
     AGENT_PATH,
     new[] { "-loadPlugin", "./Plugin/AIR.UnityTestPilot.Remote.dll" }
     );