Changeset 7087 in josm for trunk/test/unit


Ignore:
Timestamp:
2014-05-09T11:42:57+02:00 (10 years ago)
Author:
simon04
Message:

ignore (non-working) functional GUI functional tests without assertions from JUnit, fix another test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/io/OsmChangesetContentParserTest.groovy

    r7086 r7087  
    1818class OsmChangesetContentParserTest {
    1919        final shouldFail = new GroovyTestCase().&shouldFail
    20        
     20
    2121        @Test
    2222        public void test_Constructor() {
     
    2525                // should be OK
    2626                parser = new OsmChangesetContentParser(new ByteArrayInputStream("".bytes))
    27                
    28                 shouldFail(IllegalArgumentException) {
    29                         parser = new OsmChangesetContentParser(null)
    30                 }
     27
     28        shouldFail(IllegalArgumentException) {
     29            parser = new OsmChangesetContentParser((String) null)
     30        }
     31
     32        shouldFail(IllegalArgumentException) {
     33            parser = new OsmChangesetContentParser((InputStream) null)
     34        }
    3135        }
    3236       
Note: See TracChangeset for help on using the changeset viewer.