public void UserDomainPropertiesShown_WhenAuthModeIsWindows()
 {
     ConnectionInfo.VNCAuthMode = ProtocolVNC.AuthMode.AuthWin;
     ExpectedPropertyList.AddRange(new []
     {
         nameof(ConnectionInfo.Username),
         nameof(ConnectionInfo.Domain),
     });
 }
 public void ProxyPropertiesShown_WhenProxyModeIsNotNone(ProtocolVNC.ProxyType proxyType)
 {
     ConnectionInfo.VNCProxyType = proxyType;
     ExpectedPropertyList.AddRange(new[]
     {
         nameof(ConnectionInfo.VNCProxyIP),
         nameof(ConnectionInfo.VNCProxyPort),
         nameof(ConnectionInfo.VNCProxyUsername),
         nameof(ConnectionInfo.VNCProxyPassword),
     });
 }
예제 #3
0
        public void RdGatewayPropertiesShown_WhenRdGatewayUsageMethodIsNotNever(RdpProtocol.RDGatewayUsageMethod gatewayUsageMethod)
        {
            ConnectionInfo.RDGatewayUsageMethod = gatewayUsageMethod;
            ConnectionInfo.RDGatewayUseConnectionCredentials = RdpProtocol.RDGatewayUseConnectionCredentials.Yes;
            ExpectedPropertyList.AddRange(new []
            {
                nameof(mRemoteNG.Connection.ConnectionInfo.RDGatewayHostname),
                nameof(mRemoteNG.Connection.ConnectionInfo.RDGatewayUseConnectionCredentials)
            });

            RunVerification();
        }
예제 #4
0
        public void RdGatewayPropertiesShown_WhenRDGatewayUseConnectionCredentialsIsNotYes(RdpProtocol.RDGatewayUseConnectionCredentials useConnectionCredentials)
        {
            ConnectionInfo.RDGatewayUsageMethod = RdpProtocol.RDGatewayUsageMethod.Always;
            ConnectionInfo.RDGatewayUseConnectionCredentials = useConnectionCredentials;
            ExpectedPropertyList.AddRange(new []
            {
                nameof(mRemoteNG.Connection.ConnectionInfo.RDGatewayHostname),
                nameof(mRemoteNG.Connection.ConnectionInfo.RDGatewayUsername),
                nameof(mRemoteNG.Connection.ConnectionInfo.RDGatewayPassword),
                nameof(mRemoteNG.Connection.ConnectionInfo.RDGatewayDomain),
                nameof(mRemoteNG.Connection.ConnectionInfo.RDGatewayUseConnectionCredentials)
            });

            RunVerification();
        }