public void ExpectedCefSharpBuildNumberShouldNotBeZero()
        {
            if (ChromelyRuntime.Platform != ChromelyPlatform.Windows)
            {
                return;
            }

            var buildNumber = ChromelyRuntime.GetExpectedChromiumBuildNumber(ChromelyCefWrapper.CefSharp);

            Assert.True(buildNumber > 3300);
        }
Exemple #2
0
        private CefLoader()
        {
            _platform     = ChromelyRuntime.Platform;
            _architecture = RuntimeInformation.ProcessArchitecture;
            _build        = ChromelyRuntime.GetExpectedChromiumBuildNumber(ChromelyCefWrapper.CefGlue);
            Log.Info($"CefLoader: Load CEF for {_platform} {_architecture}, version {_build}");

            _lastPercent = 0;
            _numberOfParallelDownloads = Environment.ProcessorCount;

            _tempBz2File   = Path.GetTempFileName();
            _tempTarFile   = Path.GetTempFileName();
            _tempDirectory = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
        }
        public void ExpectedCefGlueBuildNumberShouldNotBeZero()
        {
            var buildNumber = ChromelyRuntime.GetExpectedChromiumBuildNumber(ChromelyCefWrapper.CefGlue);

            Assert.True(buildNumber > 3300);
        }