From f8b773da1ccca42933f9db45718b2415b57fb90b Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Tue, 26 Jul 2022 22:33:45 -0400 Subject: [PATCH] more Rider changes --- BenchtopParser/TransducerVerify.cs | 4 ++-- BenchtopParserTests/Program_Config_Tests.cs | 6 +++--- BenchtopParserTests/Transducer_Verify_Tests.cs | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/BenchtopParser/TransducerVerify.cs b/BenchtopParser/TransducerVerify.cs index adbea5a..5ad0663 100644 --- a/BenchtopParser/TransducerVerify.cs +++ b/BenchtopParser/TransducerVerify.cs @@ -28,9 +28,9 @@ namespace BenchtopParser { public TransducerVerify() { } - public TransducerVerify(string transducer_verify_value) { + public TransducerVerify(string transducerVerifyValue) { const string separator = "==============================================================="; - List documentLines = transducer_verify_value.Split(new string[] { Environment.NewLine }, StringSplitOptions.TrimEntries).ToList(); + List documentLines = transducerVerifyValue.Split(new string[] { Environment.NewLine }, StringSplitOptions.TrimEntries).ToList(); // Check if proper document string title = documentLines[0]; diff --git a/BenchtopParserTests/Program_Config_Tests.cs b/BenchtopParserTests/Program_Config_Tests.cs index 1334fa5..4dfed12 100644 --- a/BenchtopParserTests/Program_Config_Tests.cs +++ b/BenchtopParserTests/Program_Config_Tests.cs @@ -1,17 +1,17 @@ namespace BenchtopParserTests { public class Program_Config_Tests { - public String program_config_value; + public String ProgramConfigValue; [SetUp] public void Setup() { - program_config_value = File.ReadAllText( + ProgramConfigValue = File.ReadAllText( Path.Combine(TestContext.CurrentContext.TestDirectory, @"TestFiles\Program Config.txt") ); } [Test] public void Test_ProgramConfig() { - BenchtopParser.ProgramConfig programConfigs = new(program_config_value); + BenchtopParser.ProgramConfig programConfigs = new(ProgramConfigValue); Assert.IsNotNull(programConfigs); // Check that group collecting works - diff --git a/BenchtopParserTests/Transducer_Verify_Tests.cs b/BenchtopParserTests/Transducer_Verify_Tests.cs index ce43556..ec20a95 100644 --- a/BenchtopParserTests/Transducer_Verify_Tests.cs +++ b/BenchtopParserTests/Transducer_Verify_Tests.cs @@ -1,16 +1,16 @@ namespace BenchtopParserTests { public class Transducer_Verify_Tests { - public String transducer_verify_value; + public String TransducerVerifyValue; [SetUp] public void Setup() { - transducer_verify_value = File.ReadAllText( + TransducerVerifyValue = File.ReadAllText( Path.Combine(TestContext.CurrentContext.TestDirectory, @"TestFiles\Transducer Verify.txt") ); } [Test] public void Test_TransducerVerify() { - BenchtopParser.TransducerVerify tv = new(transducer_verify_value); + BenchtopParser.TransducerVerify tv = new(TransducerVerifyValue); Assert.That(tv.Transducers[1].Id, Is.EqualTo(1)); Assert.That(tv.Transducers[1].Name, Is.EqualTo("CTS D34-442 115PSIA")); }