From 1a08acb6ec65508b5247b554cda403a9e51d4eb4 Mon Sep 17 00:00:00 2001 From: jpbruyere Date: Thu, 1 Sep 2016 12:43:21 +0200 Subject: [PATCH] update tests --- Tests/BasicTests.cs | 8 ++++---- Tests/Interfaces/Divers/0.crow | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index 685bda58..62ddc567 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -95,16 +95,16 @@ namespace Tests this.KeyDown += KeyboardKeyDown1; testFiles = new string [] { @"Interfaces/Divers/welcome.crow" }; - testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/TemplatedGroup", "*.crow")).ToArray (); 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/Divers", "*.crow")).ToArray (); + testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Splitter", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/TemplatedControl", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/TemplatedContainer", "*.crow")).ToArray (); + testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/TemplatedGroup", "*.crow")).ToArray (); this.Title = testFiles [idx] + ". Press to switch example."; CrowInterface.LoadInterface(testFiles[idx]).DataSource = this; @@ -119,11 +119,11 @@ namespace Tests NotifyValueChanged ("TestList", TestList); return; } else if (e.Key == OpenTK.Input.Key.F4) { - GraphicObject w = CrowInterface.LoadInterface ("Interfaces/Divers/testWindow.goml"); + GraphicObject w = CrowInterface.LoadInterface ("Interfaces/TemplatedContainer/testWindow.goml"); w.DataSource = this; return; } else if (e.Key == OpenTK.Input.Key.F5) { - GraphicObject w = CrowInterface.LoadInterface ("Interfaces/Divers/testWindow2.goml"); + GraphicObject w = CrowInterface.LoadInterface ("Interfaces/TemplatedContainer/testWindow2.goml"); w.DataSource = this; return; }else if (e.Key == OpenTK.Input.Key.F6) { diff --git a/Tests/Interfaces/Divers/0.crow b/Tests/Interfaces/Divers/0.crow index 69000948..18b06910 100755 --- a/Tests/Interfaces/Divers/0.crow +++ b/Tests/Interfaces/Divers/0.crow @@ -94,6 +94,7 @@