Bug 178439 [DataBinding] WritableList.removeAll(...) ListDiffEntry reports addition
The ListChangeEvent fired when WritableList.removeAll(...) is invoked reports that an addition occurred when it should report a removal.
tests/org.eclipse.jface.tests.databinding/src/org/eclipse/jface/tests/databinding/observable/list/WritableListTest.java
protected void tearDown() throws Exception {
		RealmTester.setDefault(null);
	}
	public void testClear() {
		ThreadRealm realm = new ThreadRealm();
		realm.init(Thread.currentThread());
		WritableList writableList = new WritableList(realm);
		writableList.add("hello");
		writableList.add("world");
		assertEquals(2, writableList.size());
		writableList.clear();
		assertEquals(0, writableList.size());
	}
	public void testSetRealmChecks() throws Exception {
		RealmTester.exerciseCurrent(new Runnable() {
			public void run() {
				WritableList list = new WritableList();
				list.add("");
				list.set(0, "");
			}
		});
	}
	public void testAddRealmChecks() throws Exception {
		RealmTester.exerciseCurrent(new Runnable() {
			public void run() {
				WritableList list = new WritableList();
				list.add("");
			}
		});