Beispiel #1
0
        public void ShouldGetVersionsProvidingSystems(ControllerInfo controllerInfo)
        {
            var    client  = MultipleUploaderClient.Create();
            string version = client.GetFirmwareVersion(controllerInfo.Ip);

            _output.WriteLine(controllerInfo.Name + ": Version:" + version);
            Assert.NotNull(version);
            Assert.NotEmpty(version);
        }
Beispiel #2
0
        private void RunFirmwareUpload(ControllerInfo controllerInfo, string pathToRessorce)
        {
            var client  = MultipleUploaderClient.Create();
            var logfile = new List <string>()
            {
                "Start"
            };
            var  retryCounter = 0;
            bool success      = false;

            while (!logfile[^ 1].Contains("[SUCCESS]") && retryCounter < 4)