public void String() { var sut = CreateSut(); var sysNs = new NamespaceDeclaration("clr-namespace:System;assembly=mscorlib", "sys"); Assert.Equal(source.GetString(sysNs), sut.Parse(File.LoadAsString(@"Xaml\Dummy\String.xaml"))); }
public void String() { var sut = CreateSut(); var sysNs = new NamespaceDeclaration("clr-namespace:System;assembly=mscorlib", "sys"); Assert.Equal(source.GetString(sysNs).ToList(), sut.Parse(Dummy.String).ToList()); }
public void String() { var sysNs = new NamespaceDeclaration("clr-namespace:System;assembly=mscorlib", "sys"); var input = protoResources.GetString(sysNs); var expectedInstructions = source.GetString(sysNs); var actualNodes = sut.Parse(input); var xamlNodes = actualNodes.ToList(); Assert.Equal(expectedInstructions.ToList(), xamlNodes); }