Example #1
0
        public void CurrentPathProp_ReturnsValidPath()
        {
            var expected = "RootType.path.to.field.or.property";
            var target = new MemberPathStack("RootType");
            target.Push("path");
            target.Push("to");
            target.Push("field");
            target.Push("or");
            target.Push("property");

            Assert.AreEqual(expected, target.CurrentPath);
        }
Example #2
0
 public void Ctor_EmptyArgument()
 {
     var target = new MemberPathStack(string.Empty);
 }
Example #3
0
 public void Ctor_NullArgument()
 {
     var target = new MemberPathStack(null);
 }
Example #4
0
 private IEnumerable<IAnalysisLogDiff> DiffObjectsWithPathStack(Xml.Object oldObject, Xml.Object newObject, MemberPathStack pathStack)
 {
     yield break;
 }