示例#1
0
        public void Constructor()
        {
            //---------------Set up test pack-------------------
            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            var thuriaSettings = new ThuriaSettings();

            //---------------Test Result -----------------------
            Assert.IsNotNull(thuriaSettings);
        }
示例#2
0
        public void ApplicationName_GivenStartDebugMode_ShouldReturnValue()
        {
            //---------------Set up test pack-------------------
            var thuriaSettings = new ThuriaSettings();
            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            var settingsValue = thuriaSettings.StartDebugMode;

            //---------------Test Result -----------------------
            Assert.That(settingsValue, Is.False);
        }
示例#3
0
        public void ApplicationName_GivenApplicationNameExists_ShouldReturnValue()
        {
            //---------------Set up test pack-------------------
            var expectedApplicationName = "SettingsTests";
            var thuriaSettings          = new ThuriaSettings();
            //---------------Assert Precondition----------------
            //---------------Execute Test ----------------------
            var settingsApplicationName = thuriaSettings.ApplicationName;

            //---------------Test Result -----------------------
            Assert.That(settingsApplicationName, Is.EqualTo(expectedApplicationName));
        }