Changeset 7088 in josm for trunk/test/unit/org/openstreetmap/josm/gui/conflict
- Timestamp:
- 2014-05-09T14:15:51+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/unit/org/openstreetmap/josm/gui/conflict/properties/PropertiesMergeModelTest.java
r7081 r7088 25 25 public class PropertiesMergeModelTest { 26 26 27 static public class ObserverTestimplements Observer {27 public static abstract class TestObserver implements Observer { 28 28 public int numInvocations; 29 29 … … 33 33 } 34 34 35 public void test() { 36 } 35 public abstract void test(); 37 36 38 37 public void assertNumInvocations(int count) { … … 112 111 // decide KEEP_MINE and ensure notification via Observable 113 112 // 114 ObserverTestobserverTest;113 TestObserver observerTest; 115 114 model.addObserver( 116 observerTest = new ObserverTest() {115 observerTest = new TestObserver() { 117 116 @Override 118 117 public void test() { … … 129 128 model.deleteObserver(observerTest); 130 129 model.addObserver( 131 observerTest = new ObserverTest() {130 observerTest = new TestObserver() { 132 131 @Override 133 132 public void test() {
Note:
See TracChangeset
for help on using the changeset viewer.