blob: 93e566256b932337fade45aef381fb3b1d4d9318 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
/*
* $RCSfile: IListenerTester.java,v $
* $Revision: 1.3 $ $Date: 2005/08/24 20:58:55 $
*/
package org.eclipse.jem.tests.modelListeners;
import junit.framework.AssertionFailedError;
/**
* For many of the listener tests, the actual Assert is done on a safe runnable so that it can't be
* normally sent. So we will have a listener tester that will retrieve the exception and will
* be called to get it from the main thread.
* @since 1.0.0
*/
public interface IListenerTester {
public void isException() throws AssertionFailedError;
public void isComplete() throws AssertionFailedError;
}