Exemple #1
0
        public void Base_ExtractTemporalProxy()
        {
            // Verify that we can extract the [temporal-proxy] binaries.

            using (var folder = new TempFolder())
            {
                TemporalClient.ExtractTemporalProxy(folder.Path);

                var names = new string[]
                {
                    "temporal-proxy.win.exe",
                    "temporal-proxy.linux",
                    "temporal-proxy.osx"
                };

                foreach (var name in names)
                {
                    var fullPath = Path.Combine(folder.Path, name);

                    Assert.True(File.Exists(fullPath));
                    Assert.True(new FileInfo(fullPath).Length > 0);
                }
            }
        }