示例#1
0
        public void CanGetAndSetProperties()
        {
            var moduleAttribute = new ModuleAttribute();
            moduleAttribute.ModuleName = "Test";
            moduleAttribute.StartupLoaded = false;

            Assert.AreEqual("Test", moduleAttribute.ModuleName);
            Assert.AreEqual(false, moduleAttribute.StartupLoaded);
        }
        public void CanGetAndSetProperties()
        {
            var moduleAttribute = new ModuleAttribute();
            moduleAttribute.ModuleName = "Test";
            moduleAttribute.OnDemand = true;

            Assert.AreEqual("Test", moduleAttribute.ModuleName);
            Assert.AreEqual(true, moduleAttribute.OnDemand);
        }
示例#3
0
        public void StartupLoadedDefaultsToTrue()
        {
            var moduleAttribute = new ModuleAttribute();

            Assert.AreEqual(true, moduleAttribute.StartupLoaded);
        }
        public void StartupLoadedDefaultsToTrue()
        {
            var moduleAttribute = new ModuleAttribute();

            Assert.AreEqual(false, moduleAttribute.OnDemand);
        }