From e6150732b608de512220c8afb4a4998084ad02b9 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 9 Feb 2016 12:36:23 +0100 Subject: [PATCH] update tests case --- Tests/GOLIBTests.cs | 3 +- Tests/Interfaces/0.crow | 57 +++++++++++ Tests/Interfaces/colorItem.crow | 6 +- Tests/Interfaces/testImage.crow | 142 ++++++++++++++-------------- Tests/Interfaces/testPopper.goml | 1 + Tests/image/crow0.svg | 36 ++++--- UnitTest/Interfaces/testStacks.crow | 4 +- src/GraphicObjects/ListBox.cs | 2 +- 8 files changed, 160 insertions(+), 91 deletions(-) diff --git a/Tests/GOLIBTests.cs b/Tests/GOLIBTests.cs index 56275a3a..dfbba27f 100644 --- a/Tests/GOLIBTests.cs +++ b/Tests/GOLIBTests.cs @@ -37,10 +37,11 @@ namespace test int frameCpt = 0; int idx = 0; string[] testFiles = { + "0.crow", "testPopper.goml", "testTextBox.crow", "testColorList.crow", - "0.crow", + "testExpandable.goml", "4.crow", "5.crow", diff --git a/Tests/Interfaces/0.crow b/Tests/Interfaces/0.crow index 9319aa60..47cd01de 100755 --- a/Tests/Interfaces/0.crow +++ b/Tests/Interfaces/0.crow @@ -1,5 +1,62 @@  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Tests/image/crow0.svg b/Tests/image/crow0.svg index 72ea6af7..c6211302 100644 --- a/Tests/image/crow0.svg +++ b/Tests/image/crow0.svg @@ -1,18 +1,30 @@ - - - + + - + image/svg+xml - - + + - - - - - - \ No newline at end of file + + + diff --git a/UnitTest/Interfaces/testStacks.crow b/UnitTest/Interfaces/testStacks.crow index 5283b00a..7dce3c88 100755 --- a/UnitTest/Interfaces/testStacks.crow +++ b/UnitTest/Interfaces/testStacks.crow @@ -1,5 +1,4 @@  - @@ -82,5 +81,4 @@ - - \ No newline at end of file + \ No newline at end of file diff --git a/src/GraphicObjects/ListBox.cs b/src/GraphicObjects/ListBox.cs index 607f6316..c90593cb 100644 --- a/src/GraphicObjects/ListBox.cs +++ b/src/GraphicObjects/ListBox.cs @@ -113,7 +113,7 @@ namespace Crow loadPage (1); } } - int itemPerPage = 40; + int itemPerPage = 100; MemoryStream templateStream = null; Type templateBaseType = null; -- 2.47.3