sebb 2003/12/05 03:58:45
Modified: src/jorphan/org/apache/jorphan/test AllTests.java
Log:
Comment out test code for now
Revision Changes Path
1.11 +35 -35 jakarta-jmeter/src/jorphan/org/apache/jorphan/test/AllTests.java
Index: AllTests.java
===================================================================
RCS file:
/home/cvs/jakarta-jmeter/src/jorphan/org/apache/jorphan/test/AllTests.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- AllTests.java 4 Dec 2003 02:04:42 -0000 1.10
+++ AllTests.java 5 Dec 2003 11:58:45 -0000 1.11
@@ -166,25 +166,25 @@
//
// Try to find out why this is ...
- String e = "java.awt.headless";
- String g="java.awt.graphicsenv";
- System.out.println("+++++++++++");
- System.out.println(e+"="+System.getProperty(e));
- String n=System.getProperty(g);
- System.out.println(g+"="+n);
-
- try {//
- Class c = Class.forName(n);
- System.out.println("Found class: "+n);
-// c.newInstance();
-// System.out.println("Instantiated: "+n);
- } catch (Exception e1) {
- System.out.println("Error finding class "+n+" "+e1);
- } catch (java.lang.InternalError e1){
- System.out.println("Error finding class "+n+" "+e1);
- }
-
- System.out.println("------------");
+// String e = "java.awt.headless";
+// String g="java.awt.graphicsenv";
+// System.out.println("+++++++++++");
+// System.out.println(e+"="+System.getProperty(e));
+// String n=System.getProperty(g);
+// System.out.println(g+"="+n);
+//
+// try {//
+// Class c = Class.forName(n);
+// System.out.println("Found class: "+n);
+//// c.newInstance();
+//// System.out.println("Instantiated: "+n);
+// } catch (Exception e1) {
+// System.out.println("Error finding class "+n+" "+e1);
+// } catch (java.lang.InternalError e1){
+// System.out.println("Error finding class "+n+" "+e1);
+// }
+//
+// System.out.println("------------");
// don't call isHeadless() here, as it has a side effect.
//--
TestSuite suite = suite(args[0]);
@@ -197,21 +197,21 @@
TestRunner.run(suite);
//++
// Recheck settings:
- System.out.println("+++++++++++");
- System.out.println(e+"="+System.getProperty(e));
- System.out.println(g+"="+System.getProperty(g));
- System.out.println("Headless?
"+java.awt.GraphicsEnvironment.isHeadless());
- try {
- Class c = Class.forName(n);
- System.out.println("Found class: "+n);
- c.newInstance();
- System.out.println("Instantiated: "+n);
- } catch (Exception e1) {
- System.out.println("Error with class "+n+" "+e1);
- } catch (java.lang.InternalError e1){
- System.out.println("Error with class "+n+" "+e1);
- }
- System.out.println("------------");
+// System.out.println("+++++++++++");
+// System.out.println(e+"="+System.getProperty(e));
+// System.out.println(g+"="+System.getProperty(g));
+// System.out.println("Headless?
"+java.awt.GraphicsEnvironment.isHeadless());
+// try {
+// Class c = Class.forName(n);
+// System.out.println("Found class: "+n);
+// c.newInstance();
+// System.out.println("Instantiated: "+n);
+// } catch (Exception e1) {
+// System.out.println("Error with class "+n+" "+e1);
+// } catch (java.lang.InternalError e1){
+// System.out.println("Error with class "+n+" "+e1);
+// }
+// System.out.println("------------");
//--
System.exit(0);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]