From: jpbruyere Date: Wed, 4 Jan 2017 12:42:52 +0000 (+0100) Subject: new PerformanceMeasure class X-Git-Tag: v0.5.1~52 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=88e6f84a15a0bdbdd29f39014afff19f4362b3e9;p=jp%2Fcrow.git new PerformanceMeasure class --- diff --git a/Crow.csproj b/Crow.csproj index 9d674374..a2a99eb2 100644 --- a/Crow.csproj +++ b/Crow.csproj @@ -155,6 +155,7 @@ + diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index 0533729d..271a3499 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -129,10 +129,6 @@ namespace Tests //testFiles = new string [] { @"Interfaces/Unsorted/testFileDialog.crow" }; //testFiles = new string [] { @"Interfaces/Divers/colorPicker.crow" }; testFiles = new string [] { @"Interfaces/Divers/welcome.crow" }; - //testFiles = new string [] { @"Interfaces/TemplatedContainer/test_Listbox.crow" }; - //testFiles = new string [] { @"Interfaces/TemplatedControl/testItemTemplateTag.crow" }; - //testFiles = new string [] { @"Interfaces/Divers/test2WayBinding.crow" }; - //testFiles = new string [] { @"Interfaces/Divers/testPropLess.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 (); @@ -169,6 +165,10 @@ namespace Tests GraphicObject w = CrowInterface.LoadInterface ("Interfaces/Divers/0.crow"); w.DataSource = this; return; + }else if (e.Key == OpenTK.Input.Key.F7) { + GraphicObject w = CrowInterface.LoadInterface ("Interfaces/Divers/perfMeasures.crow"); + w.DataSource = this; + return; } else if (e.Key == OpenTK.Input.Key.F2) idx--; else if (e.Key == OpenTK.Input.Key.F3) diff --git a/Tests/Interfaces/Divers/perfMeasures.crow b/Tests/Interfaces/Divers/perfMeasures.crow new file mode 100755 index 00000000..3a0cb575 --- /dev/null +++ b/Tests/Interfaces/Divers/perfMeasures.crow @@ -0,0 +1,5 @@ + + + + diff --git a/Tests/Interfaces/perfMsr.crow b/Tests/Interfaces/perfMsr.crow new file mode 100755 index 00000000..f9fa38a9 --- /dev/null +++ b/Tests/Interfaces/perfMsr.crow @@ -0,0 +1,30 @@ + + + + + + + + + + + + +