Index: Riskeer/Common/test/Riskeer.Common.Util.Test/AssemblyHelperTest.cs
===================================================================
diff -u
--- Riskeer/Common/test/Riskeer.Common.Util.Test/AssemblyHelperTest.cs (revision 0)
+++ Riskeer/Common/test/Riskeer.Common.Util.Test/AssemblyHelperTest.cs (revision cbdc0258282cd75c87fe54da3f91d47c699c349d)
@@ -0,0 +1,41 @@
+// Copyright (C) Stichting Deltares 2019. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+using System.IO;
+using NUnit.Framework;
+
+namespace Riskeer.Common.Util.Test
+{
+ [TestFixture]
+ public class AssemblyHelperTest
+ {
+ [Test]
+ public void GetApplicationDirectory_Always_ReturnsExpectedDirectory()
+ {
+ // Call
+ string applicationDirectory = AssemblyHelper.GetApplicationDirectory();
+
+ // Assert
+ Assert.IsTrue(Directory.Exists(applicationDirectory));
+ Assert.AreEqual("Application", new DirectoryInfo(applicationDirectory).Name);
+ }
+ }
+}
\ No newline at end of file
Index: Riskeer/Common/test/Riskeer.Common.Util.Test/Riskeer.Common.Util.Test.csproj
===================================================================
diff -u -r08e8d26a0715f0f3db57c1d3e86256aa06934db4 -rcbdc0258282cd75c87fe54da3f91d47c699c349d
--- Riskeer/Common/test/Riskeer.Common.Util.Test/Riskeer.Common.Util.Test.csproj (.../Riskeer.Common.Util.Test.csproj) (revision 08e8d26a0715f0f3db57c1d3e86256aa06934db4)
+++ Riskeer/Common/test/Riskeer.Common.Util.Test/Riskeer.Common.Util.Test.csproj (.../Riskeer.Common.Util.Test.csproj) (revision cbdc0258282cd75c87fe54da3f91d47c699c349d)
@@ -10,15 +10,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+