Changeset 10300 in josm for trunk/test


Ignore:
Timestamp:
2016-05-30T01:17:28+02:00 (5 years ago)
Author:
Don-vip
Message:

sonar - Performance - Method passes constant String of length 1 to character overridden method + add unit tests/javadoc

Location:
trunk/test
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/config/unit-josm.home

    • Property svn:ignore
      •  

        old new  
        88preferences.xml.bak
        99ebdirigo
         10autosave
  • trunk/test/unit/org/openstreetmap/josm/gui/dialogs/layer/LayerVisibilityActionTest.java

    r10144 r10300  
    4848            action.updateValues();
    4949            assertEquals(1.0, action.opacitySlider.getRealValue(), 1e-15);
     50            assertEquals("OpacitySlider [getRealValue()=1.0]", action.opacitySlider.toString());
    5051
    5152            action.opacitySlider.setRealValue(.5);
     
    5354
    5455            assertEquals(0.5, action.opacitySlider.getRealValue(), 1e-15);
     56            assertEquals("OpacitySlider [getRealValue()=0.5]", action.opacitySlider.toString());
    5557
    5658            action.setVisibleFlag(false);
Note: See TracChangeset for help on using the changeset viewer.