mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
add test for image block and inline image
This commit is contained in:
@ -120,6 +120,29 @@ needs_cleanup: true
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void TestBlockImage()
|
||||||
|
{
|
||||||
|
AddStep("Add paragraph with block image", () =>
|
||||||
|
{
|
||||||
|
markdownContainer.CurrentPath = "Interface/";
|
||||||
|
markdownContainer.Text = @"Line before image
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
Line after image";
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
|
public void TestInlineImage()
|
||||||
|
{
|
||||||
|
AddStep("Add inline image", () =>
|
||||||
|
{
|
||||||
|
markdownContainer.Text = " osu!";
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
private class TestMarkdownContainer : WikiMarkdownContainer
|
private class TestMarkdownContainer : WikiMarkdownContainer
|
||||||
{
|
{
|
||||||
public LinkInline Link;
|
public LinkInline Link;
|
||||||
|
Reference in New Issue
Block a user