public void GetValue_IllegalNodePath() { IQuillConfig target = QuillConfigImpl.Load("Config/Impl/Files/QuillConfigImplTest.xml"); var actual = target.GetValue(""); Assert.IsNull(actual); }
public void GetValue_Child() { IQuillConfig target = QuillConfigImpl.Load("Config/Impl/Files/QuillConfigImplTest.xml"); var actual = target.GetValue("Par.Chi"); Assert.AreEqual("ChildValue", actual); }
public void GetValue_AdditionalFilter() { IQuillConfig target = QuillConfigImpl.Load("Config/Impl/Files/QuillConfigImplTest.xml"); var actual = target.GetValue("Par.Bro", e => e.Value.StartsWith("a")); Assert.True(actual.StartsWith("a")); }
public void GetValue() { IQuillConfig target = QuillConfigImpl.Load("Config/Impl/Files/QuillConfigImplTest.xml"); var actual = target.GetValue("hoge"); Assert.AreEqual("XXX", actual); }
public void GetValue_IllegalNodePath() { IQuillConfig target = QuillAppConfig.Load(); var actual = target.GetValue(""); Assert.IsNull(actual); }
public void GetValue_AdditionalFilter() { IQuillConfig target = QuillAppConfig.Load(); var actual = target.GetValue("Par.Bro", e => e.Value.StartsWith("a")); Assert.True(actual.StartsWith("a")); }
public void GetValue_Child() { IQuillConfig target = QuillAppConfig.Load(); var actual = target.GetValue("Par.Chi"); Assert.AreEqual("ChildValue", actual); }
public void GetValue() { IQuillConfig target = QuillAppConfig.Load(); var actual = target.GetValue("hoge"); Assert.AreEqual("XXX", actual); }