blob: 77266483e827d3c739640a21ca02151f7dc3e575 [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 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* 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();
}