~ubuntu-branches/ubuntu/utopic/java-gnome/utopic

« back to all changes in this revision

Viewing changes to tests/bindings/org/freedesktop/enchant/ValidateEnchantInternals.java

  • Committer: Package Import Robot
  • Author(s): Guillaume Mazoyer
  • Date: 2014-05-19 17:39:50 UTC
  • mfrom: (10.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20140519173950-83fho9yg0xqijcfu
Tags: 4.1.3-1
* New upstream release.
* debian/control
  - Remove libunique dependency.
  - Remove DM-Upload-Allowed field.
  - Add dbus-x11 dependency to take doc screenshots.
  - Update Standards-Version to 3.9.4.
* debian/README.Maintainer
  - Add instructions for maintainers.
* debian/libjava-gnome-java.docs
  - Update documentation filenames.
* debian/libjava-gnome-java-doc.install
  - Fix HACKING file installation.
* debian/patches/02_unique_dependency.diff
  - Remove no longer needed patch (fixed upstream).
* debian/patches/02_build_python.diff
  - Add patch to fix build process (python2 env variable not found).
* debian/patches/03_build_doc_snapshots.diff (Closes: #748565)
  - Add patch to fix build process of the documentation (accessibilty bug).

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        assertTrue(list.length > 0);
53
53
 
54
54
        for (String tag : list) {
55
 
            if (tag.equals("en")) {
 
55
            if (tag.equals("en") || tag.startsWith("en_")) {
56
56
                return;
57
57
            }
58
58
        }
62
62
    public final void testDictionaryKnownToExist() {
63
63
        final boolean result;
64
64
 
65
 
        result = Enchant.existsDictionary("en");
 
65
        result = Enchant.existsDictionary("en") || Enchant.existsDictionary("en_GB")
 
66
                || Enchant.existsDictionary("en_US");
66
67
        assertTrue(result);
67
68
    }
68
69