Revision: 564 Author: christian.egli@xxxxxxxxxxxxxx Date: Fri Apr 13 05:18:42 2012 Log: Enhance the test infrastructure so that output positions can be checked for different tables http://code.google.com/p/liblouis/source/detail?r=564 Modified: /trunk/ChangeLog /trunk/tests/inpos_compbrl.c ======================================= --- /trunk/ChangeLog Fri Apr 13 05:16:37 2012 +++ /trunk/ChangeLog Fri Apr 13 05:18:42 2012 @@ -1,8 +1,9 @@ 2012-04-13 Christian Egli <christian.egli@xxxxxx> * tests/brl_checks.h: - * tests/brl_checks.c (check_outpos): Enhance so that you can pass - the table list as a parameter. + * tests/brl_checks.c (check_outpos): + * tests/inpos_compbrl.c (main): Enhance so that output position + can be checked for different tables. 2012-03-23 Christian Egli <christian.egli@xxxxxx> ======================================= --- /trunk/tests/inpos_compbrl.c Tue Sep 16 06:20:09 2008 +++ /trunk/tests/inpos_compbrl.c Fri Apr 13 05:18:42 2012 @@ -6,8 +6,8 @@ int main (int argc, char **argv) { - const char *str1 = "user@xxxxxxxxxxx"; - const int expected_inpos[] = - {0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,15,15}; - return check_outpos(str1, expected_inpos); -} + const char *str1 = "user@xxxxxxxxxxx"; + const int expected_inpos[] = + {0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,15,15}; + return check_outpos(TRANSLATION_TABLE, str1, expected_inpos); +} For a description of the software, to download it and links to project pages go to http://www.abilitiessoft.com