]> O.S.I.I.S - jp/crow.git/commitdiff
update tests 28/head 29/head
authorjpbruyere <jp.bruyere@hotmail.com>
Thu, 1 Sep 2016 10:43:21 +0000 (12:43 +0200)
committerjpbruyere <jp.bruyere@hotmail.com>
Thu, 1 Sep 2016 10:44:39 +0000 (12:44 +0200)
Tests/BasicTests.cs
Tests/Interfaces/Divers/0.crow

index 685bda58d0fb9ff886901b6ac8227ddd160123b3..62ddc567fe3eeb018a6bdf2f3d3a8629d7c1da40 100644 (file)
@@ -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 <F3> 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) {
index 69000948fe2ebde2e669a2a50d88ea061ef034d7..18b0691064b358418c0094460fa3c539ead8ffce 100755 (executable)
@@ -94,6 +94,7 @@
                                <Button Caption="Button" IsEnabled="false"/>
                        </HorizontalStack>
                </VerticalStack>
+               <Splitter/>
                <VerticalStack Width="33%" Margin="5" Spacing="5">
                        <Expandable Background="DimGray">
                                <Image Path="#Crow.Images.Icons.crow.svg"/>
                        </TabView>
                        <MessageBox Movable="false"/>
                </VerticalStack>
+               <Splitter/>
                <VerticalStack Width="33%" Margin="5">
                        <Border Margin="5" Background="Onyx" Height="Fit">
                                <Label Width="Stretched" Margin="1" Text="{../../dv.SelectedItem}"/>
                        <Border Margin="5" Background="Onyx" Height="50%">
                                <DirectoryView Name="dv" Root="./" Margin="1"/>
                        </Border>
+                       <Splitter/>
                        <ListBox Data="{TestList}" Background="Onyx" Margin="5"
                                         ItemTemplate="#Tests.Interfaces.colorItem.crow"
                                         Template="#Crow.Templates.ScrollingListBox.goml"/>