Changeset 14019 in josm for trunk/test


Ignore:
Timestamp:
2018-07-08T17:12:38+02:00 (13 months ago)
Author:
Don-vip
Message:

update to Groovy 2.5.0 and Eclipse Photon (4.8.0)

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
         1*-josm.xml
        12bin
        23bin2
         4bintest
         5build
         6build2
        37dist
        4 build
         8foobar
         9hs_err_pid*
         10imagery_*
         11javadoc
         12junit*.properties
        513plugin-check
        6 *-josm.xml
        7 javadoc
         14taginfo-img
        815taginfo_*.json
        9 taginfo-img
        10 build2
        11 junit*.properties
        12 foobar
        13 imagery_*
         16test_BLOCK_v2.*
        1417validator-*
        15 test_BLOCK_v2.*
        16 hs_err_pid*
  • trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/ChildOrParentSelectorTest.groovy

    r9214 r14019  
    2020class ChildOrParentSelectorTest {
    2121    static private Logger logger = Logger.getLogger(ChildOrParentSelectorTest.class.getName());
    22 
    23     def shouldFail = new GroovyTestCase().&shouldFail
    2422
    2523    def DataSet ds;
  • trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/KeyConditionTest.groovy

    r10837 r14019  
    22package org.openstreetmap.josm.gui.mappaint.mapcss;
    33
     4import static groovy.test.GroovyAssert.shouldFail
    45import static org.junit.Assert.*
    56
     
    1617
    1718class KeyConditionTest {
    18 
    19     def shouldFail = new GroovyTestCase().&shouldFail
    2019
    2120    def DataSet ds;
  • trunk/test/unit/org/openstreetmap/josm/gui/mappaint/mapcss/KeyValueConditionTest.groovy

    r10837 r14019  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.gui.mappaint.mapcss;
     3
     4import static groovy.test.GroovyAssert.shouldFail
    35
    46import org.junit.*
     
    1517import org.openstreetmap.josm.gui.mappaint.mapcss.parsergen.MapCSSParser
    1618
    17 
    1819class KeyValueConditionTest {
    19 
    20     def shouldFail = new GroovyTestCase().&shouldFail
    2120
    2221    def DataSet ds;
  • trunk/test/unit/org/openstreetmap/josm/io/ChangesetQueryUrlParserTest.groovy

    r11035 r14019  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.io
     3
     4import static groovy.test.GroovyAssert.shouldFail
     5
     6import java.time.OffsetDateTime
     7import java.time.ZoneOffset
    38
    49import org.junit.Test
     
    611import org.openstreetmap.josm.io.ChangesetQuery.ChangesetQueryUrlParser
    712
    8 import java.time.OffsetDateTime
    9 import java.time.ZoneOffset
    10 
    1113class ChangesetQueryUrlParserTest {
    12     final shouldFail = new GroovyTestCase().&shouldFail
    1314
    1415    @Test
  • trunk/test/unit/org/openstreetmap/josm/io/DiffResultProcessorTest.groovy

    r10222 r14019  
    22package org.openstreetmap.josm.io;
    33
     4import static groovy.test.GroovyAssert.shouldFail
    45import static org.junit.Assert.*
    56
     
    3031    public void testParse_NOK_Cases() {
    3132        def DiffResultProcessor processor  = new DiffResultProcessor([])
    32 
    33         final shouldFail = new GroovyTestCase().&shouldFail
    3433
    3534        shouldFail(IllegalArgumentException) {
  • trunk/test/unit/org/openstreetmap/josm/io/OsmChangeBuilderTest.groovy

    r9214 r14019  
    11package org.openstreetmap.josm.io;
    22
     3import static groovy.test.GroovyAssert.shouldFail
    34import static org.junit.Assert.*
    45
     
    3839        def Changeset cs = new Changeset(1)
    3940        OsmChangeBuilder builder = new OsmChangeBuilder(cs)
    40 
    41         final shouldFail = new GroovyTestCase().&shouldFail
    4241
    4342        // should be OK
  • trunk/test/unit/org/openstreetmap/josm/io/OsmChangesetContentParserTest.groovy

    r8510 r14019  
    11// License: GPL. For details, see LICENSE file.
    22package org.openstreetmap.josm.io;
     3
     4import static groovy.test.GroovyAssert.shouldFail
    35
    46import java.nio.charset.StandardCharsets
     
    1517
    1618class OsmChangesetContentParserTest {
    17     final shouldFail = new GroovyTestCase().&shouldFail
    1819
    1920    @Test
  • trunk/test/unit/org/openstreetmap/josm/io/ParseWithChangesetReaderTest.groovy

    r8510 r14019  
    22package org.openstreetmap.josm.io;
    33
     4import static groovy.test.GroovyAssert.shouldFail
    45import static org.junit.Assert.*
    56
     
    167168        """
    168169
    169         final shouldFail = new GroovyTestCase().&shouldFail
    170 
    171170        shouldFail(IllegalDataException) {
    172171            DataSet ds = getDataSet(doc)
     
    184183        </osm>
    185184        """
    186 
    187         final shouldFail = new GroovyTestCase().&shouldFail
    188185
    189186        shouldFail(IllegalDataException) {
     
    203200            """
    204201
    205         final shouldFail = new GroovyTestCase().&shouldFail
    206 
    207202        shouldFail(IllegalDataException) {
    208203            DataSet ds = getDataSet(doc)
Note: See TracChangeset for help on using the changeset viewer.