Exemplo n.º 1
0
        public async Task InitTests()
        {
            _client = new CertifyServerClient();

            // TODO : create API server instance instead of invoking directly
            if (_apiService == null)
            {
                _apiService = Process.Start(@"C:\Work\GIT\certify\src\Certify.Service\bin\Debug\net462\CertifySSLManager.Service.exe");

                await Task.Delay(2000);
            }
        }
Exemplo n.º 2
0
        public async Task InitTests()
        {
            _client = new CertifyServerClient(new ServiceConfigManager());

            // TODO : create API server instance instead of invoking directly
            if (_apiService == null)
            {
                var svcpath = $"{ Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)}\\..\\..\\..\\..\\..\\Certify.Service\\bin\\Debug\\net462\\CertifySSLManager.Service.exe";

                _apiService = Process.Start(svcpath);

                await Task.Delay(2000);
            }
        }