print more data from releng tests
diff --git a/tests/org.eclipse.wtp.releng.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.wtp.releng.tests/META-INF/MANIFEST.MF
index af95d6c..8c15c43 100644
--- a/tests/org.eclipse.wtp.releng.tests/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.wtp.releng.tests/META-INF/MANIFEST.MF
@@ -7,7 +7,8 @@
 Bundle-Localization: plugin
 Require-Bundle: org.eclipse.core.runtime,
  org.junit;bundle-version="[3.8.0,4.0.0)",
- org.eclipse.wtp.releng.versionchecker
+ org.eclipse.wtp.releng.versionchecker,
+ org.eclipse.swt;bundle-version="3.6.0"
 Eclipse-LazyStart: true
 Bundle-RequiredExecutionEnvironment: J2SE-1.5
 Bundle-ActivationPolicy: lazy
diff --git a/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/BuildTests.java b/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/BuildTests.java
index 7075dfb..4c021b6 100644
--- a/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/BuildTests.java
+++ b/tests/org.eclipse.wtp.releng.tests/src/org/eclipse/wtp/releng/tests/BuildTests.java
@@ -17,21 +17,26 @@
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.URL;
-import java.text.DecimalFormat;
 import java.util.ArrayList;
 import java.util.Arrays;
 import java.util.Enumeration;
 import java.util.Iterator;
 import java.util.List;
+import java.util.Map;
 import java.util.Properties;
 import java.util.zip.ZipException;
 import java.util.zip.ZipFile;
 
 import junit.framework.TestCase;
 
-import org.eclipse.wtp.releng.tools.versionchecker.VersionLister;
 import org.eclipse.core.runtime.Platform;
 import org.eclipse.equinox.app.IApplication;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.browser.Browser;
+import org.eclipse.swt.graphics.Device;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+import org.eclipse.wtp.releng.tools.versionchecker.VersionLister;
 
 public class BuildTests extends TestCase {
 
@@ -543,7 +548,7 @@
 
 
 	/**
-	 * This method does not really test anything, be itself (yet) it just uses
+	 * This method does not really test anything, by itself (yet) it just uses
 	 * a URL connection to access the internet just to make sure it is logged.
 	 * 
 	 * @throws Exception
@@ -558,6 +563,41 @@
 		}
 	}
 
+	public void testDisplay() throws Exception {
+
+
+		Device.DEBUG = true;
+		Browser browser = null;
+		Display display = new Display();
+		Shell shell = new Shell(display);
+		System.out.println();
+		System.out.println(">>>Attempt creating SWT.MOZILLA-style Browser");
+		try {
+			browser = new Browser(shell, SWT.MOZILLA);
+			System.out.println(">>>succeeded creating SWT.MOZILLA-style Browser");
+
+		}
+		catch (Error e) {
+			//System.out.println(">>>This failed with the following error:");
+			//e.printStackTrace();
+			System.out.println(">>>Failed creating SWT.MOZILLA-style Browser");
+			System.out.println();
+			System.out.println(">>>Attempt creating SWT.NONE-style Browser");
+			try {
+				browser = new Browser(shell, SWT.NONE);
+				System.out.println(">>>succeeded creating SWT.NONE-style Browser");
+			}
+			catch (Error e2) {
+				System.out.println(">>>failed creating SWT.NONE-style Browser");
+				System.out.println();
+				System.out.println(">>>Both attempts methods failed, ending with the following error:");
+				e2.printStackTrace();
+			}
+		}
+		display.dispose();
+		System.out.println();
+	}
+
 	/**
 	 * No assert here ... we just want a print out to log to double check
 	 * memory settings.
@@ -579,11 +619,34 @@
 		System.out.printf("%1$20s \t%2$7.2f MB%n", "Free Memory: ", (freeMem / 1000000F));
 
 	}
-	
+
 	public void testProperties() throws Exception {
 		dumpAllProperties();
-	}	
-	
+	}
+	public void testEnv() throws Exception {
+		dumpAllEnvVariables();
+	}
+
+	void dumpAllEnvVariables() {
+		System.out.println();
+		System.out.println(" = = = All Environment Variables = = = ");
+		System.out.println();
+		System.out.println("Environment Variables");
+		Map <String, String>envMap = System.getenv();
+
+		for (String key :  envMap.keySet()) {
+			
+			System.out.print(key);
+			for (int i = 0; i < (30 - key.length()); i++)
+				System.out.print(" ");
+			System.out.println("->"  + envMap.get(key));
+		}
+		System.out.println();
+		System.out.println(" = = = All Environment Variables = = = ");
+		System.out.println();
+
+	}
+
 	void dumpAllProperties() {
 		System.out.println();
 		System.out.println(" = = = Dump All Properties = = = ");
@@ -601,5 +664,5 @@
 		System.out.println("= = = Dump All Properties = = = ");
 		System.out.println();
 	}
-	
+
 }