Ignore:
Timestamp:
2014-05-09T14:15:51+02:00 (11 years ago)
Author:
Don-vip
Message:

more fixes in unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/gui/conflict/properties/PropertiesMergeModelTest.java

    r7081 r7088  
    2525public class PropertiesMergeModelTest {
    2626
    27     static public class ObserverTest implements Observer {
     27    public static abstract class TestObserver implements Observer {
    2828        public int numInvocations;
    2929
     
    3333        }
    3434
    35         public void test() {
    36         }
     35        public abstract void test();
    3736
    3837        public void assertNumInvocations(int count) {
     
    112111        // decide KEEP_MINE  and ensure notification via Observable
    113112        //
    114         ObserverTest observerTest;
     113        TestObserver observerTest;
    115114        model.addObserver(
    116                 observerTest = new ObserverTest() {
     115                observerTest = new TestObserver() {
    117116                    @Override
    118117                    public void test() {
     
    129128        model.deleteObserver(observerTest);
    130129        model.addObserver(
    131                 observerTest = new ObserverTest() {
     130                observerTest = new TestObserver() {
    132131                    @Override
    133132                    public void test() {
Note: See TracChangeset for help on using the changeset viewer.