Changeset 13352 in josm for trunk/test


Ignore:
Timestamp:
2018-01-21T23:28:56+01:00 (19 months ago)
Author:
Don-vip
Message:

fix #15816 - full XZ support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/actions/ExtensionFileFilterTest.java

    r13079 r13352  
    99
    1010import nl.jqno.equalsverifier.EqualsVerifier;
    11 import nl.jqno.equalsverifier.Warning;
    1211
    1312/**
     
    3130    public void testNewFilterWithArchiveExtensions() {
    3231        test("ext1", "ext1", "description", true,
    33                 "ext1,ext1.gz,ext1.bz2", "description (*.ext1, *.ext1.gz, *.ext1.bz2)");
     32                "ext1,ext1.gz,ext1.bz,ext1.bz2,ext1.xz,ext1.zip",
     33                "description (*.ext1, *.ext1.gz, *.ext1.bz, *.ext1.bz2, *.ext1.xz, *.ext1.zip)");
    3434        test("ext1", "ext1", "description", false,
    35                 "ext1,ext1.gz,ext1.bz2", "description (*.ext1)");
     35                "ext1,ext1.gz,ext1.bz,ext1.bz2,ext1.xz,ext1.zip", "description (*.ext1)");
    3636        test("ext1,ext2", "ext1", "description", true,
    37                 "ext1,ext1.gz,ext1.bz2,ext2,ext2.gz,ext2.bz2", "description (*.ext1, *.ext1.gz, *.ext1.bz2, *.ext2, *.ext2.gz, *.ext2.bz2)");
     37                "ext1,ext1.gz,ext1.bz,ext1.bz2,ext1.xz,ext1.zip,ext2,ext2.gz,ext2.bz,ext2.bz2,ext2.xz,ext2.zip",
     38                "description (*.ext1, *.ext1.gz, *.ext1.bz, *.ext1.bz2, *.ext1.xz, *.ext1.zip, " +
     39                             "*.ext2, *.ext2.gz, *.ext2.bz, *.ext2.bz2, *.ext2.xz, *.ext2.zip)");
    3840        test("ext1,ext2", "ext1", "description", false,
    39                 "ext1,ext1.gz,ext1.bz2,ext2,ext2.gz,ext2.bz2", "description (*.ext1, *.ext2)");
     41                "ext1,ext1.gz,ext1.bz,ext1.bz2,ext1.xz,ext1.zip,ext2,ext2.gz,ext2.bz,ext2.bz2,ext2.xz,ext2.zip",
     42                "description (*.ext1, *.ext2)");
    4043    }
    4144
     
    4750        TestUtils.assumeWorkingEqualsVerifier();
    4851        EqualsVerifier.forClass(ExtensionFileFilter.class).usingGetClass()
    49             .suppress(Warning.ANNOTATION) // FIXME: remove it after https://github.com/jqno/equalsverifier/issues/152 is fixed
    5052            .verify();
    5153    }
Note: See TracChangeset for help on using the changeset viewer.