summaryrefslogtreecommitdiffstats
path: root/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java')
-rw-r--r--tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java32
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java b/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java
deleted file mode 100644
index f2d03a721b..0000000000
--- a/tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/SwtJunit.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package org.eclipse.swt.tests.junit;
-
-/*
- * (c) Copyright IBM Corp. 2000, 2002. All rights reserved.
- * This file is made available under the terms of the Common Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/cpl-v10.html
- */
-
-/**
- * Platform-specific constants used in SWT test cases.
- */ public class SwtJunit {
-
- public static final String testFontName;
- public final static boolean isWindows = System.getProperty("os.name").startsWith("Win");
- public final static boolean isLinux = System.getProperty("os.name").equals("Linux");
- public final static boolean isAIX = System.getProperty("os.name").equals("AIX");
- public final static boolean isSolaris = System.getProperty("os.name").equals("Solaris") || System.getProperty("os.name").equals("SunOS");
- public final static boolean isHPUX = System.getProperty("os.name").equals("HP-UX");
- public final static boolean isCarbon = System.getProperty("os.name").startsWith("Mac");
-
- public final static boolean isMotif = /*!isGTK &&*/ isLinux || isAIX || isSolaris || isHPUX;
-
- static {
- if (isMotif) {
- testFontName = "misc-fixed";
- }
- else {
- testFontName = "Helvetica";
- }
- }
-}