コード例 #1
0
ファイル: TestRead.cs プロジェクト: nofuture-git/31g
        public void TestExeConfigReadTransform()
        {
            var testSubject = new NoFuture.Read.Config.ExeConfig(TEST_TRANS00_CONFIG);

            var testResult = testSubject.SplitAndSave(Regex2Values, true);

            Assert.IsNotNull(testResult);
            Assert.IsTrue(System.IO.File.Exists(testResult));
        }
コード例 #2
0
ファイル: TestRead.cs プロジェクト: nofuture-git/31g
 public void TestAddAppSettingItem01()
 {
     var testSubject = new NoFuture.Read.Config.ExeConfig(TEST03_EXE_CONFIG);//no appSettings node
     testSubject.AddAppSettingItem("myKey", "myValue", "this is really important");
     testSubject.Save();
 }