Mercurial > projects > mde
diff mde/input/Input.d @ 107:20f7d813bb0f
Translation: now has a file for each locale, instead of a file for each section. Items updated; all strings translated.
New unittest for Translation; I realised the old one wasn't run anymore.
Changed unittest data and conf dirs.
author | Diggory Hardy <diggory.hardy@gmail.com> |
---|---|
date | Sun, 30 Nov 2008 17:17:56 +0000 |
parents | 5de5810e3516 |
children | a2ef6b549101 |
line wrap: on
line diff
--- a/mde/input/Input.d Sat Nov 29 16:43:44 2008 +0000 +++ b/mde/input/Input.d Sun Nov 30 17:17:56 2008 +0000 @@ -586,11 +586,11 @@ * currently conf/input.mtt). */ debug (mdeUnitTest) unittest { Input ut = new Input(); - ut.loadConfig ("unittest/InputConfig"); - + ut.loadConfig ("InputConfig"); + int[6] counters; // counters for callbacks // Should become: [2,2,0,2,1,1] - + //BEGIN Set up some callbacks ut.addButtonCallback (0x03F0, delegate void(inputID id, bool status) { assert (status == !counters[0]); // true first call, false next