Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,15 @@
* }
* }
* </pre>
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@ExtendWith({ SpringExtension.class })
@TestExecutionListeners(listeners = UITestSpringLookupInitializer.class, mergeMode = TestExecutionListeners.MergeMode.MERGE_WITH_DEFAULTS)
@Deprecated(forRemoval = true, since = "10.1")
public abstract class SpringUIUnitTest extends UIUnitTest {

@Autowired
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@
* <p>
* This can help with identifying a problem that has happened in the test where
* a component is missing or has faulty data.
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Deprecated(forRemoval = true, since = "10.1")
public class TreeOnFailureExtension implements AfterTestExecutionCallback {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,13 @@
* class.
*
* @see ViewPackages
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Deprecated(forRemoval = true, since = "10.1")
public abstract class UIUnitTest extends BaseUIUnitTest
implements TesterWrappers {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@
* Configures mock request with authentication details from Quarkus Security.
*
* For internal use only.
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Deprecated(forRemoval = true, since = "10.1")
public class QuarkusSecurityCustomizer implements MockRequestCustomizer {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@
* Currently, provides integration with Quarkus security.
*
* For internal use only.
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Deprecated(forRemoval = true, since = "10.1")
public class QuarkusTestLookupInitializer extends LookupInitializer {

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,14 @@
* may still be removed by the CDI container because considered unused or not
* found because of missing bean defining annotations. For the above reasons,
* currently, using {@code @QuarkusComponentTest} is not recommended.
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/

@Deprecated(forRemoval = true, since = "10.1")
public abstract class QuarkusUIUnitTest extends UIUnitTest {

@BeforeEach
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@
* Makes sure that the {@link #routes} are properly registered, and that
* {@link MockQuarkusServletService} is used instead of vanilla
* {@link com.vaadin.quarkus.QuarkusVaadinServletService}.
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Deprecated(forRemoval = true, since = "10.1")
public class MockQuarkusServlet extends QuarkusVaadinServlet {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@
* {@link com.vaadin.flow.server.VaadinSession}.</li>
* </ul>
* The class is intentionally opened, to be extensible in user's library.
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Deprecated(forRemoval = true, since = "10.1")
public class MockQuarkusServletService extends QuarkusVaadinServletService {

private final transient UIFactory uiFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(Accordion.class)
@Deprecated(forRemoval = true, since = "10.1")
public class AccordionTester<T extends Accordion> extends ComponentTester<T> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@
*
* @param <T>
* component type
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(Button.class)
@Deprecated(forRemoval = true, since = "10.1")
public class ButtonTester<T extends Button> extends ComponentTester<T> {
/**
* Wrap given button for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,14 @@
*
* @param <T>
* component type
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(Chart.class)
@Deprecated(forRemoval = true, since = "10.1")
public class ChartTester<T extends Chart> extends ComponentTester<T> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,14 @@
*
* @param <T>
* component type
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(fqn = "com.vaadin.flow.component.checkbox.CheckboxGroup")
@Deprecated(forRemoval = true, since = "10.1")
public class CheckboxGroupTester<T extends CheckboxGroup<V>, V>
extends ComponentTester<T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,14 @@
*
* @param <T>
* component type
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(Checkbox.class)
@Deprecated(forRemoval = true, since = "10.1")
public class CheckboxTester<T extends Checkbox> extends ComponentTester<T> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import com.vaadin.testbench.unit.internal.BasicUtilsKt;

@Tests(fqn = "com.vaadin.flow.component.combobox.ComboBox")
@Deprecated(forRemoval = true, since = "10.1")
public class ComboBoxTester<T extends ComboBox<Y>, Y>
extends ComponentTester<T> {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import com.vaadin.testbench.unit.internal.BasicUtilsKt;

@Tests(fqn = "com.vaadin.flow.component.combobox.MultiSelectComboBox")
@Deprecated(forRemoval = true, since = "10.1")
public class MultiSelectComboBoxTester<T extends MultiSelectComboBox<Y>, Y>
extends ComponentTester<T> {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@

/**
* Tester for ConfirmDialog.
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(ConfirmDialog.class)
@Deprecated(forRemoval = true, since = "10.1")
public class ConfirmDialogTester extends ComponentTester<ConfirmDialog> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@
*
* @param <T>
* component type
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(ContextMenu.class)
@Deprecated(forRemoval = true, since = "10.1")
public class ContextMenuTester<T extends ContextMenu>
extends ComponentTester<T> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,14 @@
*
* @param <T>
* component type
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(DatePicker.class)
@Deprecated(forRemoval = true, since = "10.1")
public class DatePickerTester<T extends DatePicker> extends ComponentTester<T> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,14 @@
*
* @param <T>
* component type
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(DateTimePicker.class)
@Deprecated(forRemoval = true, since = "10.1")
public class DateTimePickerTester<T extends DateTimePicker>
extends ComponentTester<T> {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@
*
* @param <T>
* component type
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(Details.class)
@Deprecated(forRemoval = true, since = "10.1")
public class DetailsTester<T extends Details> extends ComponentTester<T> {

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(Dialog.class)
@Deprecated(forRemoval = true, since = "10.1")
public class DialogTester extends ComponentTester<Dialog> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,14 @@
* component type
* @param <Y>
* item type
*
* @deprecated Replace the vaadin-testbench-unit dependency with
* browserless-test-junit6 and use the corresponding class from the
* com.vaadin.browserless package instead. This class will be
* removed in a future version.
*/
@Tests(fqn = { "com.vaadin.flow.component.grid.Grid" })
@Deprecated(forRemoval = true, since = "10.1")
public class GridTester<T extends Grid<Y>, Y> extends ComponentTester<T> {
/**
* Wrap grid for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(Anchor.class)
@Deprecated(forRemoval = true, since = "10.1")
public class AnchorTester extends HtmlContainerTester<Anchor> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(DescriptionList.class)
@Deprecated(forRemoval = true, since = "10.1")
public class DescriptionListTester extends HtmlClickContainer<DescriptionList> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(Div.class)
@Deprecated(forRemoval = true, since = "10.1")
public class DivTester extends HtmlClickContainer<Div> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(Emphasis.class)
@Deprecated(forRemoval = true, since = "10.1")
public class EmphasisTester extends HtmlClickContainer<Emphasis> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(H1.class)
@Deprecated(forRemoval = true, since = "10.1")
public class H1Tester extends HtmlClickContainer<H1> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(H2.class)
@Deprecated(forRemoval = true, since = "10.1")
public class H2Tester extends HtmlClickContainer<H2> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(H3.class)
@Deprecated(forRemoval = true, since = "10.1")
public class H3Tester extends HtmlClickContainer<H3> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(H4.class)
@Deprecated(forRemoval = true, since = "10.1")
public class H4Tester extends HtmlClickContainer<H4> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(H5.class)
@Deprecated(forRemoval = true, since = "10.1")
public class H5Tester extends HtmlClickContainer<H5> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(H6.class)
@Deprecated(forRemoval = true, since = "10.1")
public class H6Tester extends HtmlClickContainer<H6> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import com.vaadin.testbench.unit.Tests;

@Tests(Hr.class)
@Deprecated(forRemoval = true, since = "10.1")
public class HrTester extends HtmlComponentTester<Hr> {
/**
* Wrap given component for testing.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

import com.vaadin.flow.component.HtmlContainer;

@Deprecated(forRemoval = true, since = "10.1")
public abstract class HtmlClickContainer<T extends HtmlContainer>
extends HtmlContainerTester<T> {
/**
Expand Down
Loading
Loading