diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-01 08:46:35 +0100 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2017-01-01 08:46:35 +0100 |
| commit | fa245bf07cd476bd6e63c867a4c7c38cca6c4bcc (patch) | |
| tree | 9252bc8ff803d6d40dcc3fa18032e18978b418e0 /Tests | |
| parent | f98beedb7a53244564d2207f53f9c93514a2c2d7 (diff) | |
* FileDialog.template:
right pane
* BasicTests.cs:
divers
* OpenTKGameWindow.cs:
sleep removed from update loop
* TemplatedGroup.cs:
replace .clone with quick prop affectations
* Instantiator.cs:
prop less debug
Diffstat (limited to 'Tests')
| -rw-r--r-- | Tests/BasicTests.cs | 2 | ||||
| -rw-r--r-- | Tests/OpenTKGameWindow.cs | 12 |
2 files changed, 8 insertions, 6 deletions
diff --git a/Tests/BasicTests.cs b/Tests/BasicTests.cs index afbbad24..62fc6eb5 100644 --- a/Tests/BasicTests.cs +++ b/Tests/BasicTests.cs @@ -130,6 +130,8 @@ namespace Tests //testFiles = new string [] { @"Interfaces/Divers/colorPicker.crow" }; testFiles = new string [] { @"Interfaces/Divers/welcome.crow" }; //testFiles = new string [] { @"Interfaces/Divers/test2WayBinding.crow" }; + //testFiles = new string [] { @"Interfaces/Divers/testPropLess.crow" }; + testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Wrapper", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Splitter", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/GraphicObject", "*.crow")).ToArray (); testFiles = testFiles.Concat (Directory.GetFiles (@"Interfaces/Container", "*.crow")).ToArray (); diff --git a/Tests/OpenTKGameWindow.cs b/Tests/OpenTKGameWindow.cs index 0908ccac..359948c7 100644 --- a/Tests/OpenTKGameWindow.cs +++ b/Tests/OpenTKGameWindow.cs @@ -117,7 +117,7 @@ namespace Crow while (true) { CrowInterface.Update (); - Thread.Sleep (1); + //Thread.Sleep (1); } } @@ -253,11 +253,11 @@ namespace Crow if (frameCpt > 500) { resetFps (); frameCpt = 0; - #if DEBUG - GC.Collect(); - GC.WaitForPendingFinalizers(); - NotifyValueChanged("memory", GC.GetTotalMemory (false).ToString()); - #endif +// #if DEBUG +// GC.Collect(); +// GC.WaitForPendingFinalizers(); +// NotifyValueChanged("memory", GC.GetTotalMemory (false).ToString()); +// #endif } frameCpt++; } |