aboutsummaryrefslogtreecommitdiffstatsci
path: root/Tests/Interfaces
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-08-18 17:26:50 +0200
committerjpbruyere <jp.bruyere@hotmail.com>2016-09-01 12:44:38 +0200
commit5fc76c5f6234fcdcf208607c434a6d5d8bbf79da (patch)
tree393b14c6c193846d33e7e5842d34250333a4cfaa /Tests/Interfaces
parentd4bc4a1aba5df1d5a93474259c5d5a52f993d475 (diff)
tests reorganization
modifié : Crow.csproj modifié : Tests/BasicTests.cs renommé : Tests/Interfaces/Expandable/0.crow -> Tests/Interfaces/TemplatedContainer/0.crow renommé : Tests/Interfaces/Expandable/6.crow -> Tests/Interfaces/TemplatedContainer/6.crow renommé : Tests/Interfaces/Expandable/7.crow -> Tests/Interfaces/TemplatedContainer/7.crow renommé : Tests/Interfaces/Divers/testDirViewer2.crow -> Tests/Interfaces/TemplatedContainer/testDirViewer2.crow renommé : Tests/Interfaces/Divers/testGroupBox.crow -> Tests/Interfaces/TemplatedContainer/testGroupBox.crow renommé : Tests/Interfaces/Divers/testMsgBox.crow -> Tests/Interfaces/TemplatedContainer/testMsgBox.crow renommé : Tests/Interfaces/Divers/testPopper.crow -> Tests/Interfaces/TemplatedContainer/testPopper.crow renommé : Tests/Interfaces/Divers/testTabView.crow -> Tests/Interfaces/TemplatedContainer/testTabView.crow renommé : Tests/Interfaces/Divers/testTreeView.crow -> Tests/Interfaces/TemplatedContainer/testTreeView.crow renommé : Tests/Interfaces/Divers/testWindow.goml -> Tests/Interfaces/TemplatedContainer/testWindow.goml renommé : Tests/Interfaces/Divers/testWindow2.goml -> Tests/Interfaces/TemplatedContainer/testWindow2.goml renommé : Tests/Interfaces/Divers/testWindow3.goml -> Tests/Interfaces/TemplatedContainer/testWindow3.goml renommé : Tests/Interfaces/Divers/test_Listbox.crow -> Tests/Interfaces/TemplatedContainer/test_Listbox.crow renommé : Tests/Interfaces/Divers/testButton.crow -> Tests/Interfaces/TemplatedControl/testButton.crow renommé : Tests/Interfaces/Divers/testCheckbox.crow -> Tests/Interfaces/TemplatedControl/testCheckbox.crow renommé : Tests/Interfaces/Divers/testCombobox.crow -> Tests/Interfaces/TemplatedControl/testCombobox.crow renommé : Tests/Interfaces/Divers/testItemTemplateTag.crow -> Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow renommé : Tests/Interfaces/Divers/testRadioButton.crow -> Tests/Interfaces/TemplatedControl/testRadioButton.crow renommé : Tests/Interfaces/Divers/testScrollbar.goml -> Tests/Interfaces/TemplatedControl/testScrollbar.goml renommé : Tests/Interfaces/Divers/testSpinner.goml -> Tests/Interfaces/TemplatedControl/testSpinner.goml modifié : Tests/Tests.csproj modifié : src/GraphicObjects/Expandable.cs modifié : src/GraphicObjects/Group.cs TemplatedGroup class nouveau fichier : src/GraphicObjects/TemplatedGroup.cs nouveau fichier : Tests/Interfaces/TemplatedGroup/0.crow modifié : src/IMLReader.cs
Diffstat (limited to 'Tests/Interfaces')
-rwxr-xr-xTests/Interfaces/TemplatedContainer/0.crow (renamed from Tests/Interfaces/Expandable/0.crow)0
-rwxr-xr-xTests/Interfaces/TemplatedContainer/6.crow (renamed from Tests/Interfaces/Expandable/6.crow)0
-rwxr-xr-xTests/Interfaces/TemplatedContainer/7.crow (renamed from Tests/Interfaces/Expandable/7.crow)0
-rw-r--r--Tests/Interfaces/TemplatedContainer/testDirViewer2.crow (renamed from Tests/Interfaces/Divers/testDirViewer2.crow)0
-rwxr-xr-xTests/Interfaces/TemplatedContainer/testGroupBox.crow (renamed from Tests/Interfaces/Divers/testGroupBox.crow)0
-rwxr-xr-xTests/Interfaces/TemplatedContainer/testMsgBox.crow (renamed from Tests/Interfaces/Divers/testMsgBox.crow)0
-rwxr-xr-xTests/Interfaces/TemplatedContainer/testPopper.crow (renamed from Tests/Interfaces/Divers/testPopper.crow)0
-rw-r--r--Tests/Interfaces/TemplatedContainer/testTabView.crow (renamed from Tests/Interfaces/Divers/testTabView.crow)1
-rwxr-xr-xTests/Interfaces/TemplatedContainer/testTreeView.crow (renamed from Tests/Interfaces/Divers/testTreeView.crow)4
-rwxr-xr-xTests/Interfaces/TemplatedContainer/testWindow.goml (renamed from Tests/Interfaces/Divers/testWindow.goml)6
-rwxr-xr-xTests/Interfaces/TemplatedContainer/testWindow2.goml (renamed from Tests/Interfaces/Divers/testWindow2.goml)0
-rwxr-xr-xTests/Interfaces/TemplatedContainer/testWindow3.goml (renamed from Tests/Interfaces/Divers/testWindow3.goml)2
-rwxr-xr-xTests/Interfaces/TemplatedContainer/test_Listbox.crow (renamed from Tests/Interfaces/Divers/test_Listbox.crow)6
-rwxr-xr-xTests/Interfaces/TemplatedControl/testButton.crow (renamed from Tests/Interfaces/Divers/testButton.crow)0
-rwxr-xr-xTests/Interfaces/TemplatedControl/testCheckbox.crow (renamed from Tests/Interfaces/Divers/testCheckbox.crow)1
-rwxr-xr-xTests/Interfaces/TemplatedControl/testCombobox.crow (renamed from Tests/Interfaces/Divers/testCombobox.crow)0
-rwxr-xr-xTests/Interfaces/TemplatedControl/testItemTemplateTag.crow (renamed from Tests/Interfaces/Divers/testItemTemplateTag.crow)6
-rwxr-xr-xTests/Interfaces/TemplatedControl/testRadioButton.crow (renamed from Tests/Interfaces/Divers/testRadioButton.crow)1
-rwxr-xr-xTests/Interfaces/TemplatedControl/testScrollbar.goml (renamed from Tests/Interfaces/Divers/testScrollbar.goml)0
-rwxr-xr-xTests/Interfaces/TemplatedControl/testSpinner.goml (renamed from Tests/Interfaces/Divers/testSpinner.goml)0
-rwxr-xr-xTests/Interfaces/TemplatedGroup/0.crow1
21 files changed, 13 insertions, 15 deletions
diff --git a/Tests/Interfaces/Expandable/0.crow b/Tests/Interfaces/TemplatedContainer/0.crow
index 0c37d335..0c37d335 100755
--- a/Tests/Interfaces/Expandable/0.crow
+++ b/Tests/Interfaces/TemplatedContainer/0.crow
diff --git a/Tests/Interfaces/Expandable/6.crow b/Tests/Interfaces/TemplatedContainer/6.crow
index 041bdf52..041bdf52 100755
--- a/Tests/Interfaces/Expandable/6.crow
+++ b/Tests/Interfaces/TemplatedContainer/6.crow
diff --git a/Tests/Interfaces/Expandable/7.crow b/Tests/Interfaces/TemplatedContainer/7.crow
index 0c94b6c4..0c94b6c4 100755
--- a/Tests/Interfaces/Expandable/7.crow
+++ b/Tests/Interfaces/TemplatedContainer/7.crow
diff --git a/Tests/Interfaces/Divers/testDirViewer2.crow b/Tests/Interfaces/TemplatedContainer/testDirViewer2.crow
index c4f0904f..c4f0904f 100644
--- a/Tests/Interfaces/Divers/testDirViewer2.crow
+++ b/Tests/Interfaces/TemplatedContainer/testDirViewer2.crow
diff --git a/Tests/Interfaces/Divers/testGroupBox.crow b/Tests/Interfaces/TemplatedContainer/testGroupBox.crow
index 416bb217..416bb217 100755
--- a/Tests/Interfaces/Divers/testGroupBox.crow
+++ b/Tests/Interfaces/TemplatedContainer/testGroupBox.crow
diff --git a/Tests/Interfaces/Divers/testMsgBox.crow b/Tests/Interfaces/TemplatedContainer/testMsgBox.crow
index 95366377..95366377 100755
--- a/Tests/Interfaces/Divers/testMsgBox.crow
+++ b/Tests/Interfaces/TemplatedContainer/testMsgBox.crow
diff --git a/Tests/Interfaces/Divers/testPopper.crow b/Tests/Interfaces/TemplatedContainer/testPopper.crow
index 0c579d95..0c579d95 100755
--- a/Tests/Interfaces/Divers/testPopper.crow
+++ b/Tests/Interfaces/TemplatedContainer/testPopper.crow
diff --git a/Tests/Interfaces/Divers/testTabView.crow b/Tests/Interfaces/TemplatedContainer/testTabView.crow
index 27c221f4..ca558d14 100644
--- a/Tests/Interfaces/Divers/testTabView.crow
+++ b/Tests/Interfaces/TemplatedContainer/testTabView.crow
@@ -32,4 +32,3 @@
Caption="Add new tab" Width="Fit" Height="30" MouseClick="onAddTabButClick"/>
</VerticalStack>
</HorizontalStack>
-
diff --git a/Tests/Interfaces/Divers/testTreeView.crow b/Tests/Interfaces/TemplatedContainer/testTreeView.crow
index 3ec7ce6a..3a44bf34 100755
--- a/Tests/Interfaces/Divers/testTreeView.crow
+++ b/Tests/Interfaces/TemplatedContainer/testTreeView.crow
@@ -9,7 +9,7 @@
MouseLeave="{Background=Transparent}"/>
</HorizontalStack>
</ItemTemplate>
- <ItemTemplate DataType="System.IO.DirectoryInfo" Data="GetFileSystemInfos">
+ <ItemTemplate DataType="System.IO.DirectoryInfo" Data="GetFileSystemInfos">
<Expandable Caption="{Name}" >
<Template>
<VerticalStack Height="{./HeightPolicy}" Width="{./WidthPolicy}">
@@ -18,7 +18,7 @@
MouseLeave="{Background=Transparent}">
<Image Margin="2" Width="12" Height="12"
Visible="{./HasContent}"
- Path="{./Image}"
+ Path="{./Image}"
SvgSub="{./IsExpanded}"/>
<Image Margin="2" Width="14" Height="14"
Path="#Crow.Images.Icons.folder.svg"/>
diff --git a/Tests/Interfaces/Divers/testWindow.goml b/Tests/Interfaces/TemplatedContainer/testWindow.goml
index 09db6193..c930d92e 100755
--- a/Tests/Interfaces/Divers/testWindow.goml
+++ b/Tests/Interfaces/TemplatedContainer/testWindow.goml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<Window Left="10" Top="10" Title="Test window"
+<Window Left="10" Top="10" Title="Test window"
Width="250" Height="550" >
<VerticalStack Name="contentVSStack" Margin="10" Spacing="10" Background="0.4,0.4,0.4,0.4">
<Slider Name="slider" Height="12" Width="Stretched" CornerRadius="3"/>
@@ -43,7 +43,7 @@
</HorizontalStack>
<HorizontalStack Fit="true">
<Label Name="captionFps" Text="Fps:" Width="50" TextAlignment="Right"/>
- <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center"
+ <Label Name="valueFps" Text="{fps}" Font="droid , 12" Width="50" TextAlignment="Center"
Background="vgradient|0:AoEnglish|1:Black"/>
</HorizontalStack>
<HorizontalStack Fit="true">
@@ -56,7 +56,7 @@
<Label Text="{fpsMax}" Font="droid , 12" Width="50" TextAlignment="Center"
Background="vgradient|0:AoEnglish|1:Black"/>
</HorizontalStack>
- </VerticalStack>
+ </VerticalStack>
</Container>
</Border>
<HorizontalStack Fit="true" Background="BlueCrayola" Margin="3">
diff --git a/Tests/Interfaces/Divers/testWindow2.goml b/Tests/Interfaces/TemplatedContainer/testWindow2.goml
index 7f0caf31..7f0caf31 100755
--- a/Tests/Interfaces/Divers/testWindow2.goml
+++ b/Tests/Interfaces/TemplatedContainer/testWindow2.goml
diff --git a/Tests/Interfaces/Divers/testWindow3.goml b/Tests/Interfaces/TemplatedContainer/testWindow3.goml
index 42459bd5..d66de1d6 100755
--- a/Tests/Interfaces/Divers/testWindow3.goml
+++ b/Tests/Interfaces/TemplatedContainer/testWindow3.goml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<Window Left="10" Top="10" Title="Test window" Width="200" Height="200" Background="0.5,0.5,0.5,0.8"
+<Window Left="10" Top="10" Title="Test window" Width="200" Height="200" Background="0.5,0.5,0.5,0.8"
Focusable="True" CornerRadius="20" MinimumSize="100,100" MaximumSize="500,500">
<Template>
<Container Margin="20" Name="Content" Height="{../HeightPolicy}" Width="{../WidthPolicy}" Background="0.5,0.5,0.5,0.5"/>
diff --git a/Tests/Interfaces/Divers/test_Listbox.crow b/Tests/Interfaces/TemplatedContainer/test_Listbox.crow
index 321ea58c..8b12cb8c 100755
--- a/Tests/Interfaces/Divers/test_Listbox.crow
+++ b/Tests/Interfaces/TemplatedContainer/test_Listbox.crow
@@ -12,15 +12,15 @@
<!-- <Template>
<Border BorderWidth="1" Height="{../HeightPolicy}" Width="{../WidthPolicy}">
<HorizontalStack Margin="1" Height="{../../HeightPolicy}" Width="{../../WidthPolicy}" >
- <Scroller Name="scroller1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"
+ <Scroller Name="scroller1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"
Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}"
ValueChanged="../../../_scroller_ValueChanged">
<VerticalStack Width="{../../../../WidthPolicy}" Height="Fit" MinimumSize="100,100"
Name="List" Margin="0" VerticalAlignment="Top"
LayoutChanged="../../../../_list_LayoutChanged"/>
</Scroller>
- <ScrollBar Name="scrollbar1" Value="{../scroller1.ScrollY}"
- Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical"
+ <ScrollBar Name="scrollbar1" Value="{../scroller1.ScrollY}"
+ Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical"
Width="12" Height="{../../../HeightPolicy}" />
</HorizontalStack>
</Border>
diff --git a/Tests/Interfaces/Divers/testButton.crow b/Tests/Interfaces/TemplatedControl/testButton.crow
index 69367eaa..69367eaa 100755
--- a/Tests/Interfaces/Divers/testButton.crow
+++ b/Tests/Interfaces/TemplatedControl/testButton.crow
diff --git a/Tests/Interfaces/Divers/testCheckbox.crow b/Tests/Interfaces/TemplatedControl/testCheckbox.crow
index ddde673d..5147a151 100755
--- a/Tests/Interfaces/Divers/testCheckbox.crow
+++ b/Tests/Interfaces/TemplatedControl/testCheckbox.crow
@@ -9,4 +9,3 @@
<CheckBox Background="Gray" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/>
<CheckBox Background="Gray" MouseEnter="{Background=Red}" MouseLeave="{Background=Transparent}"/>
</VerticalStack>
-
diff --git a/Tests/Interfaces/Divers/testCombobox.crow b/Tests/Interfaces/TemplatedControl/testCombobox.crow
index 2ef6d391..2ef6d391 100755
--- a/Tests/Interfaces/Divers/testCombobox.crow
+++ b/Tests/Interfaces/TemplatedControl/testCombobox.crow
diff --git a/Tests/Interfaces/Divers/testItemTemplateTag.crow b/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow
index e05c2d1e..5f860719 100755
--- a/Tests/Interfaces/Divers/testItemTemplateTag.crow
+++ b/Tests/Interfaces/TemplatedControl/testItemTemplateTag.crow
@@ -6,7 +6,7 @@
<Template>
<Border BorderWidth="1" Height="{../HeightPolicy}" Width="{../WidthPolicy}">
<HorizontalStack Margin="1" Height="{../../HeightPolicy}" Width="{../../WidthPolicy}" >
- <Scroller Name="scroller1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"
+ <Scroller Name="scroller1" Height="{../../../HeightPolicy}" Width="{../../../WidthPolicy}"
Margin="2" VerticalScrolling="true" ScrollY="{../scrollbar1.Value}"
ValueChanged="../../../_scroller_ValueChanged">
<VerticalStack Width="{../../../../WidthPolicy}" Height="Fit" MinimumSize="10,10"
@@ -15,8 +15,8 @@
HorizontalAlignment="Left"
LayoutChanged="../../../../_list_LayoutChanged"/>
</Scroller>
- <ScrollBar Name="scrollbar1" Value="{../scroller1.ScrollY}"
- Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical"
+ <ScrollBar Name="scrollbar1" Value="{../scroller1.ScrollY}"
+ Maximum="{../scroller1.MaximumScroll}" Orientation="Vertical"
Width="14" Height="{../../../HeightPolicy}" />
</HorizontalStack>
</Border>
diff --git a/Tests/Interfaces/Divers/testRadioButton.crow b/Tests/Interfaces/TemplatedControl/testRadioButton.crow
index de07e250..905cdeba 100755
--- a/Tests/Interfaces/Divers/testRadioButton.crow
+++ b/Tests/Interfaces/TemplatedControl/testRadioButton.crow
@@ -5,4 +5,3 @@
<RadioButton Caption="Radio3"/>
<RadioButton Caption="Radio4"/>
</VerticalStack>
-
diff --git a/Tests/Interfaces/Divers/testScrollbar.goml b/Tests/Interfaces/TemplatedControl/testScrollbar.goml
index c494e347..c494e347 100755
--- a/Tests/Interfaces/Divers/testScrollbar.goml
+++ b/Tests/Interfaces/TemplatedControl/testScrollbar.goml
diff --git a/Tests/Interfaces/Divers/testSpinner.goml b/Tests/Interfaces/TemplatedControl/testSpinner.goml
index 4efd587a..4efd587a 100755
--- a/Tests/Interfaces/Divers/testSpinner.goml
+++ b/Tests/Interfaces/TemplatedControl/testSpinner.goml
diff --git a/Tests/Interfaces/TemplatedGroup/0.crow b/Tests/Interfaces/TemplatedGroup/0.crow
new file mode 100755
index 00000000..9c7bb705
--- /dev/null
+++ b/Tests/Interfaces/TemplatedGroup/0.crow
@@ -0,0 +1 @@
+<?xml version="1.0"?>