diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-16 18:48:24 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2015-09-16 18:48:24 +0200 |
| commit | 3aba832ca7c6f9da0e9be8f5060013a2bbc6d345 (patch) | |
| tree | 3b08608962b2fb7c8e503049ae0dc0b1eedc7806 /Tests | |
| parent | 7ce38b9e00ba8341a70a26d1c51f4a8160b4d46b (diff) | |
clean tests
Diffstat (limited to 'Tests')
| -rw-r--r-- | Tests/GOLIBTest_Listbox.cs | 2 | ||||
| -rw-r--r-- | Tests/GOLIBTests.cs | 23 | ||||
| -rwxr-xr-x | Tests/Interfaces/fps.goml | 9 | ||||
| -rwxr-xr-x | Tests/Interfaces/testBorder.goml | 8 | ||||
| -rwxr-xr-x | Tests/Interfaces/testPopper.goml | 2 | ||||
| -rw-r--r-- | Tests/Tests.csproj | 2 |
6 files changed, 14 insertions, 32 deletions
diff --git a/Tests/GOLIBTest_Listbox.cs b/Tests/GOLIBTest_Listbox.cs index 607b2f05..0189e3f6 100644 --- a/Tests/GOLIBTest_Listbox.cs +++ b/Tests/GOLIBTest_Listbox.cs @@ -76,7 +76,7 @@ namespace test {
base.OnLoad (e);
- TestList = Directory.GetFileSystemEntries("/mnt/data/MagicCardDataBase/", "*.txt",SearchOption.AllDirectories).ToList();
+ TestList = Directory.GetFileSystemEntries("/mnt/data/MagicCardDataBase/a/", "*.txt",SearchOption.AllDirectories).ToList();
LoadInterface("Interfaces/test_Listbox.goml");
// TestList [1].Field = "test string";
diff --git a/Tests/GOLIBTests.cs b/Tests/GOLIBTests.cs index a9014d3f..14c6c1a1 100644 --- a/Tests/GOLIBTests.cs +++ b/Tests/GOLIBTests.cs @@ -25,38 +25,27 @@ namespace test #endregion
public GOLIBTests ()
- : base(800, 600,"test")
+ : base(600, 400,"test: press spacebar to toogle test files")
{}
int frameCpt = 0;
int idx = 0;
string[] testFiles = {
- "testGroupBox.goml",
"testBorder.goml",
- "testCheckbox.goml",
- "testWindow.goml",
- "test0.goml",
- "test1.goml",
- "test1.1.goml",
- "test1.2.goml",
- "testLabel.goml",
"testContainer.goml",
+ "testLabel.goml",
+ "testCheckbox.goml",
"testRadioButton.goml",
"testSpinner.goml",
"testPopper.goml",
"testExpandable.goml",
+ "testGroupBox.goml",
+ "test_stack.goml",
+ "testWindow.goml",
"testMsgBox.goml",
"testGrid.goml",
"fps.goml",
"testMeter.goml",
- "test6.goml",
- "testHStack.goml",
- "test2.goml",
- "test_stack.goml",
- "testScrollbar.goml",
- "test3.goml",
- "test4.1.goml",
- "test7.goml",
};
#region FPS
diff --git a/Tests/Interfaces/fps.goml b/Tests/Interfaces/fps.goml index edc63e70..baa85b63 100755 --- a/Tests/Interfaces/fps.goml +++ b/Tests/Interfaces/fps.goml @@ -1,25 +1,22 @@ <?xml version="1.0"?>
<Container Name="MainGrp" Background="0,5;0,5;0,5;0,5"
- HorizontalAlignment="Left" VerticalAlignment="Top"
Margin="10" Width="-1" Height="-1" Focusable="True" >
-
<VerticalStack Name="vsFps" BorderWidth="1" Margin="5" Spacing="4" Fit="true">
<HorizontalStack Height="-1">
<Label Text="Update:" FontColor="White" />
<Label Name="labUpdate" Text="{update}" FontSize="12" Background="DarkGreen"/>
</HorizontalStack>
- <HorizontalStack Height="-1" Name="hsFps" Background="Red" >
+ <HorizontalStack Height="-1" Name="hsFps" Background="Mantis" >
<Label Name="captionFps" Text="Fps:" />
<Label Name="valueFps" Text="{fps}" Font="droid bold, 12" TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
- <HorizontalStack Height="-1" Background="Red">
+ <HorizontalStack Height="-1" Background="UniversityOfCaliforniaGold">
<Label Text="Min:" Width = "30" />
<Label Text="{fpsMin}" Font="droid bold, 12" TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
- <HorizontalStack Height="-1" Background="Red" >
+ <HorizontalStack Height="-1" Background="Sienna" >
<Label Text="Max:" Width = "30"/>
<Label Text="{fpsMax}" Font="droid bold, 12" TextAlignment="Center" Background="AoEnglish"/>
</HorizontalStack>
-
</VerticalStack>
</Container>
\ No newline at end of file diff --git a/Tests/Interfaces/testBorder.goml b/Tests/Interfaces/testBorder.goml index 8a6627b6..90863352 100755 --- a/Tests/Interfaces/testBorder.goml +++ b/Tests/Interfaces/testBorder.goml @@ -1,8 +1,4 @@ <?xml version="1.0"?>
-<Container Fit="true" Margin="5" Background="Blue">
-<Group Fit="true" Margin="5" Background="Green">
-<Border Fit="true" Background="Red" Margin="10">
- <Checkbox/>
+<Border BorderWidth="5" Width="200" Height="200" CornerRadius="20" Margin="0" Background="Mantis">
+ <GraphicObject CornerRadius="0" Background="CornflowerBlue" Height="100" Width="100"/>
</Border>
-</Group>
-</Container>
diff --git a/Tests/Interfaces/testPopper.goml b/Tests/Interfaces/testPopper.goml index 114f471a..4c6ba76b 100755 --- a/Tests/Interfaces/testPopper.goml +++ b/Tests/Interfaces/testPopper.goml @@ -2,7 +2,7 @@ <Popper Title="TestPopper" Width="100" Background="DimGray">
<Border Fit="True" Background="ArmyGreen">
<!-- <Image Fit="true" Path="#go.Images.Icons.tetra.png" Margin="10"/>-->
- <VerticalStack Fit="true" Background="Blue">
+ <VerticalStack Fit="true" Margin="10" Background="CornflowerBlue">
<Checkbox Name="chk1"/>
<Checkbox Name="chk2" IsChecked="true"/>
<Checkbox Name="chk3"/>
diff --git a/Tests/Tests.csproj b/Tests/Tests.csproj index 6e504bad..06eba842 100644 --- a/Tests/Tests.csproj +++ b/Tests/Tests.csproj @@ -8,7 +8,7 @@ <OutputType>Exe</OutputType> <RootNamespace>Tests</RootNamespace> <AssemblyName>Tests</AssemblyName> - <StartupObject>test.GOLIBTest_TypeViewer</StartupObject> + <StartupObject>test.GOLIBTests</StartupObject> <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> <OutputPath>..\bin\$(configuration)</OutputPath> <IntermediateOutputPath>obj\$(configuration)</IntermediateOutputPath> |