blob: 792d755e73d2db6ede99551eb6fba3ca7d022c78 [file] [log] [blame]
/**
* Copyright (c) 2011, 2014 - Lunifera GmbH (Gross Enzersdorf, Austria), Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
* 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:
* Florian Pirchner - Initial implementation
*/
package org.eclipse.osbp.runtime.web.testbase.api;
import com.vaadin.ui.Component;
/**
* Vaadin UI components that should become tested by selenium must implement
* that interface. It will become hooked by the TestbaseUI and new instances of
* the test component are requested.
*
* Subclasses that should become tested must also be annotated with the Testable
* annotation.
*/
public interface ITestPart {
/**
* Returns the vaadin component that will be displayed if the fragment is
* addressed. Fragment is specified in the Testable annotation.
*
* @return
*/
Component getTestComponent();
}