You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by se...@apache.org on 2003/11/30 15:08:51 UTC

cvs commit: jakarta-jmeter/src/jorphan/org/apache/jorphan/test AllTests.java

sebb        2003/11/30 06:08:51

  Modified:    src/jorphan/org/apache/jorphan/test AllTests.java
  Log:
  Still trying to find cause of GUI failures
  
  Revision  Changes    Path
  1.7       +22 -1     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.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- AllTests.java	18 Aug 2003 19:42:02 -0000	1.6
  +++ AllTests.java	30 Nov 2003 14:08:51 -0000	1.7
  @@ -157,6 +157,21 @@
           initializeManager(args);
           // end : added - 11 July 2001
   
  +//++
  +// GUI tests throw the error 
  +// testArgumentCreation(org.apache.jmeter.config.gui.ArgumentsPanel$Test)java.lang.NoClassDefFoundError
  +// 	at java.lang.Class.forName0(Native Method)
  +// 	at java.lang.Class.forName(Class.java:141)
  +// 	at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
  +//
  +//  Try to find out why this is ...
  +
  +        String e = "java.awt.headless";
  +		String g="java.awt.graphicsenv";
  +        System.out.println(e+"="+System.getProperty(e));
  +		System.out.println(g+"="+System.getProperty(g));
  +// don't call any graphics routines here, as some have side effects
  +//--
           TestSuite suite = suite(args[0]);
           // Jeremy Arnold: This method used to attempt to write results to
           // a file, but it had a bug and instead just wrote to System.out.
  @@ -165,6 +180,12 @@
           // behaving as it did before.  It would be simple to make it write
           // to a file instead if that is the desired behavior.
           TestRunner.run(suite);
  +//++
  +//      Recheck settings:
  +		System.out.println(e+"="+System.getProperty(e));
  +		System.out.println(g+"="+System.getProperty(g));
  +		System.out.println("Headless? "+java.awt.GraphicsEnvironment.isHeadless());
  +//--
           System.exit(0);
       }
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org