public async Task InitTests()
        {
            _client = new Certify.Client.CertifyServiceClient(new SharedUtils.ServiceConfigManager());

            // 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);
            }
        }
        public async Task InitTests()
        {
            _client = new Certify.Client.CertifyServiceClient(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);
            }
        }
Exemple #3
0
        public async Task InitTests()
        {
            _client = new Certify.Client.CertifyServiceClient(new ServiceConfigManager());

            // create API server instance
            if (_svc == null)
            {
                _svc = new Certify.Service.OwinService();
                _svc.Start();

                await Task.Delay(2000);

                await _client.GetAppVersion();
            }
        }
Exemple #4
0
 public void Setup()
 {
     _client = new Certify.Client.CertifyServiceClient();
 }