Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 4487fe7f6040f321b1e704c08e2318c475df4943 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*******************************************************************************
 * Copyright (c) 2015 Red Hat.
 * 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:
 *     Red Hat - Initial Contribution
 *******************************************************************************/
package org.eclipse.linuxtools.internal.docker.ui.testutils.swt;

import org.eclipse.swtbot.swt.finder.widgets.SWTBotButton;

/**
 * Custom assertions on a given {@link SWTBotButton}.
 */
public class ButtonAssertions extends AbstractSWTBotAssertions<ButtonAssertions, SWTBotButton> {
	
	protected ButtonAssertions(final SWTBotButton actual) {
		super(actual, ButtonAssertions.class);
	}

	public static ButtonAssertions assertThat(final SWTBotButton actual) {
		return new ButtonAssertions(actual);
	}

}

Back to the top