Ejemplo n.º 1
0
        public void RemindersTable_SqlServer_Can_Have_Different_Reminders_And_Membership_Settings_ViaXml()
        {
            var config = new ClusterConfiguration();
            var doc    = new XmlDocument();

            doc.LoadXml(sampleSpecificMembershipAndRemidersTableConfiguration);
            config.LoadFromXml(doc.DocumentElement);
            Assert.IsTrue(config.Globals.MembershipTableAssembly == "MembershipTableDLL");
            Assert.IsTrue(config.Globals.ReminderTableAssembly == "RemindersTableDLL");
            Assert.IsTrue(config.Globals.AdoInvariant == "AdoInvariantValue");
            Assert.IsTrue(config.Globals.AdoInvariantForReminders == "AdoInvariantForReminders");
            Assert.IsTrue(config.Globals.DataConnectionString == "MembershipConnectionString");
            Assert.IsTrue(config.Globals.DataConnectionStringForReminders == "RemindersConnectionString");
        }