From 71349cb4a31cedd1cf3553dfdc5d888b8f26d703 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Tue, 16 Aug 2016 16:40:34 +0200 Subject: [PATCH] clean test files --- .gitignore | 1 + Tests/BasicTests.cs | 6 +- Tests/Interfaces/Divers/0.crow | 144 +++++++ Tests/Interfaces/Divers/imlEditor.crow | 27 -- Tests/Interfaces/Divers/test0.crow | 12 - Tests/Interfaces/Divers/test2.crow | 9 - Tests/Interfaces/Divers/test2WayBinding.crow | 13 - Tests/Interfaces/Divers/test3.crow | 9 - Tests/Interfaces/Divers/test5.crow | 21 - Tests/Interfaces/Divers/test7.crow | 18 - Tests/Interfaces/Divers/testAll.crow | 46 --- Tests/Interfaces/Divers/testBorder.crow | 5 - Tests/Interfaces/Divers/testContainer.crow | 6 - Tests/Interfaces/Divers/testGrid.crow | 7 - Tests/Interfaces/Divers/testHStack.crow | 19 - .../{Unsorted => Divers}/testImage.crow | 0 .../testItemTemplateTag.crow | 0 .../{Unsorted => Divers}/testMsgBox.crow | 0 .../testOutOfClipUpdate.crow | 0 .../{Unsorted => Divers}/testTabView.crow | 0 .../{Unsorted => Divers}/testTreeView.crow | 0 Tests/Interfaces/Expandable/1.crow | 13 - Tests/Interfaces/Expandable/6.crow | 21 + Tests/Interfaces/Expandable/7.crow | 23 +- Tests/Interfaces/Unsorted/0.crow | 2 - Tests/Interfaces/Unsorted/test6.crow | 32 -- Tests/Interfaces/Unsorted/testColorList.crow | 31 -- Tests/Interfaces/Unsorted/testDirViewer.crow | 24 -- Tests/Interfaces/basicTests/0.crow | 8 - Tests/Interfaces/basicTests/1.crow | 17 - Tests/Interfaces/basicTests/2.crow | 14 - Tests/Interfaces/basicTests/4.crow | 377 ------------------ Tests/Interfaces/basicTests/5.1.crow | 10 - Tests/Interfaces/basicTests/5.crow | 32 -- Tests/Interfaces/basicTests/6.crow | 6 - Tests/Interfaces/basicTests/8.crow | 34 -- Tests/Tests.csproj | 96 +---- 37 files changed, 183 insertions(+), 900 deletions(-) create mode 100755 Tests/Interfaces/Divers/0.crow delete mode 100644 Tests/Interfaces/Divers/imlEditor.crow delete mode 100755 Tests/Interfaces/Divers/test0.crow delete mode 100755 Tests/Interfaces/Divers/test2.crow delete mode 100755 Tests/Interfaces/Divers/test2WayBinding.crow delete mode 100755 Tests/Interfaces/Divers/test3.crow delete mode 100755 Tests/Interfaces/Divers/test5.crow delete mode 100755 Tests/Interfaces/Divers/test7.crow delete mode 100755 Tests/Interfaces/Divers/testAll.crow delete mode 100755 Tests/Interfaces/Divers/testBorder.crow delete mode 100755 Tests/Interfaces/Divers/testContainer.crow delete mode 100755 Tests/Interfaces/Divers/testGrid.crow delete mode 100755 Tests/Interfaces/Divers/testHStack.crow rename Tests/Interfaces/{Unsorted => Divers}/testImage.crow (100%) rename Tests/Interfaces/{Unsorted => Divers}/testItemTemplateTag.crow (100%) rename Tests/Interfaces/{Unsorted => Divers}/testMsgBox.crow (100%) rename Tests/Interfaces/{Unsorted => Divers}/testOutOfClipUpdate.crow (100%) rename Tests/Interfaces/{Unsorted => Divers}/testTabView.crow (100%) rename Tests/Interfaces/{Unsorted => Divers}/testTreeView.crow (100%) delete mode 100755 Tests/Interfaces/Expandable/1.crow create mode 100755 Tests/Interfaces/Expandable/6.crow delete mode 100755 Tests/Interfaces/Unsorted/0.crow delete mode 100755 Tests/Interfaces/Unsorted/test6.crow delete mode 100755 Tests/Interfaces/Unsorted/testColorList.crow delete mode 100755 Tests/Interfaces/Unsorted/testDirViewer.crow delete mode 100755 Tests/Interfaces/basicTests/0.crow delete mode 100755 Tests/Interfaces/basicTests/1.crow delete mode 100755 Tests/Interfaces/basicTests/2.crow delete mode 100755 Tests/Interfaces/basicTests/4.crow delete mode 100755 Tests/Interfaces/basicTests/5.1.crow delete mode 100755 Tests/Interfaces/basicTests/5.crow delete mode 100755 Tests/Interfaces/basicTests/6.crow delete mode 100755 Tests/Interfaces/basicTests/8.crow diff --git a/.gitignore b/.gitignore index a34076d6..477bac00 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ Win_x86 Crow.userprefs Debug packages +*.nupkg /GOLib.suo /tmp /bin/* diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index 1114cdf3..9717c230 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -94,17 +94,15 @@ namespace Tests this.KeyDown += KeyboardKeyDown1; - //testFiles = new string [] { @"Interfaces/Divers/welcome.crow" }; - testFiles = Directory.GetFiles (@"Interfaces/basicTests", "*.crow"); - testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Container", "*.crow")).ToArray (); + testFiles = new string [] { @"Interfaces/Divers/welcome.crow" }; testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/GraphicObject", "*.crow")).ToArray (); + testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Container", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Group", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Stack", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Wrapper", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Splitter", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Expandable", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Divers", "*.crow")).ToArray (); - testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Unsorted", "*.crow")).ToArray (); this.Title = testFiles [idx] + ". Press to switch example."; CrowInterface.LoadInterface(testFiles[idx]).DataSource = this; diff --git a/Tests/Interfaces/Divers/0.crow b/Tests/Interfaces/Divers/0.crow new file mode 100755 index 00000000..8df18346 --- /dev/null +++ b/Tests/Interfaces/Divers/0.crow @@ -0,0 +1,144 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tests/Interfaces/Divers/imlEditor.crow b/Tests/Interfaces/Divers/imlEditor.crow deleted file mode 100644 index 17e711a5..00000000 --- a/Tests/Interfaces/Divers/imlEditor.crow +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/Tests/Interfaces/Divers/test0.crow b/Tests/Interfaces/Divers/test0.crow deleted file mode 100755 index e7c8425a..00000000 --- a/Tests/Interfaces/Divers/test0.crow +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - - - - diff --git a/Tests/Interfaces/Divers/test2.crow b/Tests/Interfaces/Divers/test2.crow deleted file mode 100755 index 6ff77d1b..00000000 --- a/Tests/Interfaces/Divers/test2.crow +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/Tests/Interfaces/Divers/test2WayBinding.crow b/Tests/Interfaces/Divers/test2WayBinding.crow deleted file mode 100755 index f4f03be7..00000000 --- a/Tests/Interfaces/Divers/test2WayBinding.crow +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/Tests/Interfaces/Divers/test3.crow b/Tests/Interfaces/Divers/test3.crow deleted file mode 100755 index bfcfa508..00000000 --- a/Tests/Interfaces/Divers/test3.crow +++ /dev/null @@ -1,9 +0,0 @@ - - - - - \ No newline at end of file diff --git a/Tests/Interfaces/Divers/test5.crow b/Tests/Interfaces/Divers/test5.crow deleted file mode 100755 index 1d2d0689..00000000 --- a/Tests/Interfaces/Divers/test5.crow +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/Tests/Interfaces/Divers/test7.crow b/Tests/Interfaces/Divers/test7.crow deleted file mode 100755 index bbf2de83..00000000 --- a/Tests/Interfaces/Divers/test7.crow +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/Tests/Interfaces/Divers/testAll.crow b/Tests/Interfaces/Divers/testAll.crow deleted file mode 100755 index 6f5be081..00000000 --- a/Tests/Interfaces/Divers/testAll.crow +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Tests/Interfaces/Divers/testBorder.crow b/Tests/Interfaces/Divers/testBorder.crow deleted file mode 100755 index 40ba7cf1..00000000 --- a/Tests/Interfaces/Divers/testBorder.crow +++ /dev/null @@ -1,5 +0,0 @@ - - - - diff --git a/Tests/Interfaces/Divers/testContainer.crow b/Tests/Interfaces/Divers/testContainer.crow deleted file mode 100755 index 8c0fed76..00000000 --- a/Tests/Interfaces/Divers/testContainer.crow +++ /dev/null @@ -1,6 +0,0 @@ - - - - - diff --git a/Tests/Interfaces/Divers/testGrid.crow b/Tests/Interfaces/Divers/testGrid.crow deleted file mode 100755 index 0342f9a2..00000000 --- a/Tests/Interfaces/Divers/testGrid.crow +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/Tests/Interfaces/Divers/testHStack.crow b/Tests/Interfaces/Divers/testHStack.crow deleted file mode 100755 index 5de0fecb..00000000 --- a/Tests/Interfaces/Divers/testHStack.crow +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - diff --git a/Tests/Interfaces/Unsorted/testImage.crow b/Tests/Interfaces/Divers/testImage.crow similarity index 100% rename from Tests/Interfaces/Unsorted/testImage.crow rename to Tests/Interfaces/Divers/testImage.crow diff --git a/Tests/Interfaces/Unsorted/testItemTemplateTag.crow b/Tests/Interfaces/Divers/testItemTemplateTag.crow similarity index 100% rename from Tests/Interfaces/Unsorted/testItemTemplateTag.crow rename to Tests/Interfaces/Divers/testItemTemplateTag.crow diff --git a/Tests/Interfaces/Unsorted/testMsgBox.crow b/Tests/Interfaces/Divers/testMsgBox.crow similarity index 100% rename from Tests/Interfaces/Unsorted/testMsgBox.crow rename to Tests/Interfaces/Divers/testMsgBox.crow diff --git a/Tests/Interfaces/Unsorted/testOutOfClipUpdate.crow b/Tests/Interfaces/Divers/testOutOfClipUpdate.crow similarity index 100% rename from Tests/Interfaces/Unsorted/testOutOfClipUpdate.crow rename to Tests/Interfaces/Divers/testOutOfClipUpdate.crow diff --git a/Tests/Interfaces/Unsorted/testTabView.crow b/Tests/Interfaces/Divers/testTabView.crow similarity index 100% rename from Tests/Interfaces/Unsorted/testTabView.crow rename to Tests/Interfaces/Divers/testTabView.crow diff --git a/Tests/Interfaces/Unsorted/testTreeView.crow b/Tests/Interfaces/Divers/testTreeView.crow similarity index 100% rename from Tests/Interfaces/Unsorted/testTreeView.crow rename to Tests/Interfaces/Divers/testTreeView.crow diff --git a/Tests/Interfaces/Expandable/1.crow b/Tests/Interfaces/Expandable/1.crow deleted file mode 100755 index d243e67e..00000000 --- a/Tests/Interfaces/Expandable/1.crow +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - diff --git a/Tests/Interfaces/Expandable/6.crow b/Tests/Interfaces/Expandable/6.crow new file mode 100755 index 00000000..041bdf52 --- /dev/null +++ b/Tests/Interfaces/Expandable/6.crow @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Tests/Interfaces/Expandable/7.crow b/Tests/Interfaces/Expandable/7.crow index 293c4d8f..0c94b6c4 100755 --- a/Tests/Interfaces/Expandable/7.crow +++ b/Tests/Interfaces/Expandable/7.crow @@ -11,28 +11,7 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/Tests/Interfaces/Unsorted/0.crow b/Tests/Interfaces/Unsorted/0.crow deleted file mode 100755 index d25557db..00000000 --- a/Tests/Interfaces/Unsorted/0.crow +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/Tests/Interfaces/Unsorted/test6.crow b/Tests/Interfaces/Unsorted/test6.crow deleted file mode 100755 index aa1f33e8..00000000 --- a/Tests/Interfaces/Unsorted/test6.crow +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - -