aboutsummaryrefslogtreecommitdiff
path: root/modules/gcide/tests/info.at
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2012-03-04 13:57:53 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2012-03-04 14:32:54 +0200
commit37147d7c6229cfb997a4a4bdac2d9e441f79b2c7 (patch)
tree8d990de594c58f70ca0d5493d97bad7c67e109b1 /modules/gcide/tests/info.at
parent2aa9df8a67de14d1167ac96823b97461a9c28c96 (diff)
downloaddico-release-2.2.tar.gz
dico-release-2.2.tar.bz2
Implement info/descr for gcide.release-2.2
* NEWS: Update. * doc/dico.texi: Update. * include/dico/util.h (dico_string_trim): Add missing proto. * modules/gcide/gcide.c (gcide_info, gcide_descr): Implement info and description methods. * modules/gcide/tests/dict/INFO: New file. * modules/gcide/tests/Makefile.am (TESTSUITE_AT): Add descr.at and info.at. * modules/gcide/tests/testsuite.at: Include descr.at and info.at * modules/gcide/tests/dicod.cfin: Remove description. * modules/gcide/tests/descr.at: New test case. * modules/gcide/tests/info.at: New test case. * modules/gcide/tests/def00.at: Update. * modules/gcide/tests/def01.at: Update. * modules/gcide/tests/def02.at: Update. * modules/gcide/tests/def03.at: Update. * modules/gcide/tests/def04.at: Update. * modules/gcide/tests/def05.at: Update. * scripts/Makefile.am: Exempt gcider from standard options check.
Diffstat (limited to 'modules/gcide/tests/info.at')
-rw-r--r--modules/gcide/tests/info.at45
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/gcide/tests/info.at b/modules/gcide/tests/info.at
new file mode 100644
index 0000000..b237c8c
--- /dev/null
+++ b/modules/gcide/tests/info.at
@@ -0,0 +1,45 @@
+# This file is part of GNU Dico -*- Autotest -*-
+# Copyright (C) 2012 Sergey Poznyakoff
+#
+# GNU Dico is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GNU Dico is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GNU Dico. If not, see <http://www.gnu.org/licenses/>.
+
+AT_SETUP([info])
+AT_KEYWORDS([info])
+
+AT_DICOD([show info gcide
+quit
+],
+[220
+112 information for gcide
+A mock GCIDE dictionary for GNU Dico test suite.
+
+GNU Dico is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GNU Dico is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU Dico. If not, see <http://www.gnu.org/licenses/>.
+
+.
+250
+221
+])
+AT_CLEANUP
+

Return to:

Send suggestions and report system problems to the System administrator.