~ubuntu-branches/ubuntu/precise/uim/precise

« back to all changes in this revision

Viewing changes to test2/test-composer.scm

  • Committer: Package Import Robot
  • Author(s): Ilya Barygin
  • Date: 2011-12-18 16:35:38 UTC
  • mfrom: (1.1.13) (15.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20111218163538-8ktir39z2mjpii8z
Tags: 1:1.7.1-3ubuntu1
* Merge from Debian testing (LP: #818199).
* Remaining changes:
  - debian/uim-qt.install: Fix plugin path for multiarch location.
* Dropped changes:
  - uim-applet-gnome removal (GNOME 3 applet is available)
  - 19_as-needed_compile_fix.dpatch (accepted into Debian package)
* translations.patch: add several files to POTFILE.in to prevent
  intltool-update failure.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
;;  test-composer.scm: Unit tests for composer.scm
 
2
;;
 
3
;;; Copyright (c) 2008-2011 uim Project http://code.google.com/p/uim/
 
4
;;
 
5
;;  All rights reserved.
 
6
;;
 
7
;;  Redistribution and use in source and binary forms, with or without
 
8
;;  modification, are permitted provided that the following conditions
 
9
;;  are met:
 
10
;;
 
11
;;  1. Redistributions of source code must retain the above copyright
 
12
;;     notice, this list of conditions and the following disclaimer.
 
13
;;  2. Redistributions in binary form must reproduce the above copyright
 
14
;;     notice, this list of conditions and the following disclaimer in the
 
15
;;     documentation and/or other materials provided with the distribution.
 
16
;;  3. Neither the name of authors nor the names of its contributors
 
17
;;     may be used to endorse or promote products derived from this software
 
18
;;     without specific prior written permission.
 
19
;;
 
20
;;  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
 
21
;;  IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 
22
;;  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 
23
;;  PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
 
24
;;  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 
25
;;  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
 
26
;;  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
 
27
;;  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
 
28
;;  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 
29
;;  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 
30
;;  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
31
 
 
32
(require-extension (unittest))
 
33
 
 
34
(require "composer.scm")
 
35
 
 
36
(test-begin "composer")
 
37
(test-true  (make-composer))
 
38
(test-end)
 
39
 
 
40
(test-begin "composer-base")
 
41
(test-true  (make-composer-base '()))
 
42
(test-end)
 
43
 
 
44
(test-begin "composer-base (list-based)")
 
45
(test-true  (make-list-based-composer-base '()))
 
46
(test-end)
 
47
 
 
48
(test-report-result)