-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from whistyun/dev-sign
signing for strong name. refs #41
- Loading branch information
Showing
40 changed files
with
948 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using ApprovalTests.Namers; | ||
using System.IO; | ||
|
||
namespace MdXamlTest | ||
{ | ||
public class ChangeOutputPathNamer : UnitTestFrameworkNamer | ||
{ | ||
private string dir; | ||
|
||
|
||
public override string SourcePath | ||
{ | ||
get | ||
{ | ||
var basePath = base.SourcePath; | ||
return Path.Combine(basePath, dir); | ||
} | ||
} | ||
|
||
public ChangeOutputPathNamer(string dir) | ||
{ | ||
this.dir = dir; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-16"?> | ||
<FlowDocument Style="{x:Null}" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<Paragraph> | ||
<Button IsEnabled="False"> | ||
<FlowDocumentScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Padding="0,0,0,0" Margin="0,0,0,0"> | ||
<FlowDocument /> | ||
</FlowDocumentScrollViewer> | ||
</Button> <Button IsEnabled="False"><FlowDocumentScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Padding="0,0,0,0" Margin="0,0,0,0"><FlowDocument /></FlowDocumentScrollViewer></Button> <Button IsEnabled="False"><FlowDocumentScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Padding="0,0,0,0" Margin="0,0,0,0"><FlowDocument><Paragraph>some text</Paragraph></FlowDocument></FlowDocumentScrollViewer></Button> <Button IsEnabled="False"><FlowDocumentScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" Padding="0,0,0,0" Margin="0,0,0,0"><FlowDocument><Section TextAlignment="Center" Tag="Center"><Paragraph Tag="Heading1">title</Paragraph></Section><Paragraph>description1 description2</Paragraph></FlowDocument></FlowDocumentScrollViewer></Button></Paragraph> | ||
</FlowDocument> |
26 changes: 26 additions & 0 deletions
26
tests/MdXaml.Html.Test/Out/core/UnitTest.CodeBlock.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-16"?> | ||
<FlowDocument Style="{x:Null}" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:avalonedit="http://icsharpcode.net/sharpdevelop/avalonedit" xmlns:icscaed="clr-namespace:ICSharpCode.AvalonEdit.Document;assembly=ICSharpCode.AvalonEdit" xmlns:scmd="clr-namespace:System.ComponentModel.Design;assembly=System.ComponentModel.TypeConverter" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<BlockUIContainer Tag="CodeBlock"> | ||
<avalonedit:TextEditor IsReadOnly="True" IsModified="True" HorizontalAlignment="Stretch" xml:space="preserve"><avalonedit:TextEditor.Document><icscaed:TextDocument Text="plain text
Sub Test()
 Dim A As Long
 Dim B As Integer
End Sub
" FileName="{x:Null}"><icscaed:TextDocument.UndoStack><icscaed:UndoStack SizeLimit="2147483647" /></icscaed:TextDocument.UndoStack><icscaed:TextDocument.ServiceProvider><scmd:ServiceContainer /></icscaed:TextDocument.ServiceProvider></icscaed:TextDocument></avalonedit:TextEditor.Document><avalonedit:TextEditor.Options><avalonedit:TextEditorOptions /></avalonedit:TextEditor.Options>plain text | ||
Sub Test() | ||
Dim A As Long | ||
Dim B As Integer | ||
End Sub | ||
</avalonedit:TextEditor> | ||
</BlockUIContainer> | ||
<BlockUIContainer Tag="CodeBlock"> | ||
<avalonedit:TextEditor SyntaxHighlighting="Java" IsReadOnly="True" IsModified="True" Tag="java" HorizontalAlignment="Stretch" xml:space="preserve"><avalonedit:TextEditor.Document><icscaed:TextDocument Text="import java.lang.*;
public class Program {
 public static void main(String[] args) {
 System.out.println("Hello");
 } 
}
" FileName="{x:Null}"><icscaed:TextDocument.UndoStack><icscaed:UndoStack SizeLimit="2147483647" /></icscaed:TextDocument.UndoStack><icscaed:TextDocument.ServiceProvider><scmd:ServiceContainer /></icscaed:TextDocument.ServiceProvider></icscaed:TextDocument></avalonedit:TextEditor.Document><avalonedit:TextEditor.Options><avalonedit:TextEditorOptions /></avalonedit:TextEditor.Options>import java.lang.*; | ||
public class Program { | ||
public static void main(String[] args) { | ||
System.out.println("Hello"); | ||
} | ||
} | ||
</avalonedit:TextEditor> | ||
</BlockUIContainer> | ||
<BlockUIContainer Tag="CodeBlock"> | ||
<avalonedit:TextEditor IsReadOnly="True" IsModified="True" HorizontalAlignment="Stretch" xml:space="preserve"><avalonedit:TextEditor.Document><icscaed:TextDocument Text="NEMUI
ONAKASUITA
SHINDOI
" FileName="{x:Null}"><icscaed:TextDocument.UndoStack><icscaed:UndoStack SizeLimit="2147483647" /></icscaed:TextDocument.UndoStack><icscaed:TextDocument.ServiceProvider><scmd:ServiceContainer /></icscaed:TextDocument.ServiceProvider></icscaed:TextDocument></avalonedit:TextEditor.Document><avalonedit:TextEditor.Options><avalonedit:TextEditorOptions /></avalonedit:TextEditor.Options>NEMUI | ||
ONAKASUITA | ||
SHINDOI | ||
</avalonedit:TextEditor> | ||
</BlockUIContainer> | ||
</FlowDocument> |
9 changes: 9 additions & 0 deletions
9
tests/MdXaml.Html.Test/Out/core/UnitTest.InlineCode.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-16"?> | ||
<FlowDocument Style="{x:Null}" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<Paragraph>An <Span Tag="CodeSpan">apple</Span> is an editable fruit produced by an <Span Tag="CodeSpan">apple tree</Span>.</Paragraph> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<Paragraph> | ||
<Span Tag="CodeSpan">Apple trees</Span> are caltivated wordwide.</Paragraph> | ||
</FlowDocument> |
55 changes: 55 additions & 0 deletions
55
tests/MdXaml.Html.Test/Out/core/UnitTest.Input.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="utf-16"?> | ||
<FlowDocument Style="{x:Null}" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<Paragraph> | ||
<TextBox IsReadOnly="True" Width="100" xml:space="preserve"></TextBox> <TextBox IsReadOnly="True" Width="98" xml:space="preserve"></TextBox> <TextBox IsReadOnly="True" Width="100" xml:space="preserve"></TextBox> <TextBox IsReadOnly="True">textbox</TextBox></Paragraph> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<Paragraph> | ||
<Button Width="100" IsEnabled="False" xml:space="preserve"></Button> <Button Width="98" IsEnabled="False" xml:space="preserve"></Button> <Button Width="100" IsEnabled="False" xml:space="preserve"></Button> <Button IsEnabled="False">button</Button></Paragraph> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<Paragraph> | ||
<Button Width="100" IsEnabled="False" xml:space="preserve"></Button> <Button Width="98" IsEnabled="False" xml:space="preserve"></Button> <Button Width="100" IsEnabled="False" xml:space="preserve"></Button> <Button IsEnabled="False">button</Button></Paragraph> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<Paragraph> | ||
<Button Width="100" IsEnabled="False" xml:space="preserve"></Button> <Button Width="98" IsEnabled="False" xml:space="preserve"></Button> <Button Width="100" IsEnabled="False" xml:space="preserve"></Button> <Button IsEnabled="False">button</Button></Paragraph> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<Paragraph> | ||
<RadioButton IsEnabled="False" /> <RadioButton IsChecked="True" IsEnabled="False" /> <RadioButton IsChecked="True" IsEnabled="False" /></Paragraph> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<Paragraph> | ||
<CheckBox IsEnabled="False" /> <CheckBox IsChecked="True" IsEnabled="False" /> <CheckBox IsChecked="True" IsEnabled="False" /></Paragraph> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<Paragraph> | ||
<Slider Minimum="0" Maximum="100" Value="50" Width="100" IsEnabled="False" /> <Slider Minimum="0" Maximum="200" Value="50" Width="100" IsEnabled="False" /> <Slider Minimum="50" Maximum="100" Value="90" Width="100" IsEnabled="False" /></Paragraph> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<Paragraph> | ||
<TextBox TextWrapping="Wrap" AcceptsReturn="True" AcceptsTab="True" xml:space="preserve">asasdfasdfsadfasdfasd | ||
|
||
sd | ||
|
||
df</TextBox> | ||
</Paragraph> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<Paragraph> | ||
<TextBox TextWrapping="Wrap" AcceptsReturn="True" AcceptsTab="True" Width="210" Height="42" xml:space="preserve">afsadfasdfasd | ||
|
||
sd | ||
|
||
df</TextBox> | ||
</Paragraph> | ||
</FlowDocument> |
45 changes: 45 additions & 0 deletions
45
tests/MdXaml.Html.Test/Out/core/UnitTest.List.approved.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
<?xml version="1.0" encoding="utf-16"?> | ||
<FlowDocument Style="{x:Null}" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<List MarkerStyle="Decimal"> | ||
<ListItem> | ||
<Paragraph>asdf <Bold Tag="Bold">fdsa</Bold> jkl; <Italic Tag="Italic">;lkj</Italic></Paragraph> | ||
</ListItem> | ||
<ListItem> | ||
<Paragraph>1234567</Paragraph> | ||
</ListItem> | ||
<ListItem> | ||
<Paragraph> | ||
<RadioButton IsEnabled="False" />ねむい</Paragraph> | ||
</ListItem> | ||
</List> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<List MarkerStyle="Disc"> | ||
<ListItem> | ||
<Paragraph>asdf <Bold Tag="Bold">fdsa</Bold> jkl; <Italic Tag="Italic">;lkj</Italic></Paragraph> | ||
</ListItem> | ||
<ListItem> | ||
<Paragraph>1234567</Paragraph> | ||
</ListItem> | ||
<ListItem> | ||
<Paragraph> | ||
<RadioButton IsEnabled="False" />ねむい</Paragraph> | ||
</ListItem> | ||
</List> | ||
<BlockUIContainer Tag="RuleSingle"> | ||
<Separator /> | ||
</BlockUIContainer> | ||
<List MarkerStyle="Decimal" StartIndex="12"> | ||
<ListItem> | ||
<Paragraph>asdf <Bold Tag="Bold">fdsa</Bold> jkl; <Italic Tag="Italic">;lkj</Italic></Paragraph> | ||
</ListItem> | ||
<ListItem> | ||
<Paragraph>1234567</Paragraph> | ||
</ListItem> | ||
<ListItem> | ||
<Paragraph> | ||
<RadioButton IsEnabled="False" />ねむい</Paragraph> | ||
</ListItem> | ||
</List> | ||
</FlowDocument> |
Oops, something went wrong.