コード例 #1
0
        public void TestRefreshConfiguration()
        {
            IMessageParser parser1 = MessageParserManager.GetParser("XmlMessageParser");

            MessageParserManager.RefreshConfiguration("XmlMessageParser");
            IMessageParser parser2 = MessageParserManager.GetParser("XmlMessageParser");

            Assert.IsFalse(object.ReferenceEquals(parser1, parser2), "Incorrect RefreshConfiguration implementation.");
        }
コード例 #2
0
 public void TestRefreshConfiguration()
 {
     MessageParserManager.GetParser("XmlMessageParser");
     MessageParserManager.RefreshConfiguration("XmlMessageParser");
 }
コード例 #3
0
 public void TestRefreshConfigurationFail2()
 {
     MessageParserManager.RefreshConfiguration("  ");
 }
コード例 #4
0
 public void TestRefreshConfigurationFail1()
 {
     MessageParserManager.RefreshConfiguration(null);
 }