Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix API errors in SWT due to tests #1299

Closed
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 @@ -11,12 +11,15 @@
* Contributors:
* Yatta Solutions - initial API and implementation
*******************************************************************************/
package org.eclipse.swt.internal;
package org.eclipse.swt;

import org.eclipse.swt.*;
import org.eclipse.swt.internal.*;
import org.eclipse.swt.widgets.*;
import org.junit.*;

/**
* @since 3.127
*/
public abstract class Win32AutoscaleTestBase {
protected Display display;
protected Shell shell;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
import org.eclipse.swt.widgets.*;
import org.junit.*;

/**
* @since 3.127
*/
public class GCWin32Tests extends Win32AutoscaleTestBase {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@

import java.util.*;

import org.eclipse.swt.*;
import org.eclipse.swt.internal.*;
import org.eclipse.swt.internal.gdip.*;
import org.junit.*;

/**
* @since 3.127
*/
public class PathWin32Tests extends Win32AutoscaleTestBase {

int zoom = 100;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@

import static org.junit.Assert.assertEquals;

import org.eclipse.swt.*;
import org.eclipse.swt.internal.*;
import org.junit.*;

/**
* @since 3.127
*/
public class TextLayoutWin32Tests extends Win32AutoscaleTestBase {
final static String text = "This is a text for testing.";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals;

import org.eclipse.swt.*;
import org.eclipse.swt.internal.*;
import org.eclipse.swt.internal.gdip.*;
import org.junit.*;

/**
* @since 3.127
*/
public class TransformWin32Tests extends Win32AutoscaleTestBase {

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
* for Windows specific behavior
*
* @see org.eclipse.swt.widgets.Control
* @since 3.127
*/
public class ControlWin32Tests extends Win32AutoscaleTestBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
import org.eclipse.swt.internal.*;
import org.junit.*;

/**
* @since 3.127
*/
public class WidgetWin32Tests extends Win32AutoscaleTestBase {

@Test
Expand Down
Loading