Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public void Ctor_EmptyArgument()
 {
     var target = new MemberPathStack(string.Empty);
 }
Exemplo n.º 3
0
 public void Ctor_NullArgument()
 {
     var target = new MemberPathStack(null);
 }
Exemplo n.º 4
0
 private IEnumerable<IAnalysisLogDiff> DiffObjectsWithPathStack(Xml.Object oldObject, Xml.Object newObject, MemberPathStack pathStack)
 {
     yield break;
 }