Index: DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/DamJobTest.cs =================================================================== diff -u -r4047 -r4070 --- DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/DamJobTest.cs (.../DamJobTest.cs) (revision 4047) +++ DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/DamJobTest.cs (.../DamJobTest.cs) (revision 4070) @@ -19,22 +19,22 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using Deltares.Dam.Data; +using NUnit.Framework; + namespace Deltares.Dam.Tests { - using Deltares.Dam.Data; - using NUnit.Framework; - [TestFixture] public class DamJobTest { [Test] public void SingleJob() { - using (Location location = new Location()) + using (var location = new Location()) { location.Name = "Jan"; - DamJob job = new DamJob(location); + var job = new DamJob(location); Assert.AreEqual(false, job.Run.Value, "Initial run value"); Assert.AreEqual("Jan", job.Name, "Name of the job"); @@ -45,14 +45,14 @@ [Test] public void CompositeJob() { - using (Location location1 = new Location()) - using (Location location2 = new Location()) - using (Dike dike = new Dike()) + using (var location1 = new Location()) + using (var location2 = new Location()) + using (var dike = new Dike()) { location1.Name = "Jan"; location2.Name = "Piet"; - CompositeJob compositeJob = new CompositeJob(dike); + var compositeJob = new CompositeJob(dike); compositeJob.Jobs.Add(new DamJob(location1)); compositeJob.Jobs.Add(new DamJob(location2)); @@ -73,4 +73,4 @@ } } } -} +} \ No newline at end of file