Update of /cvsroot/javaprofiler/test/snapshot
In directory usw-pr-cvs1:/tmp/cvs-serv8534/test/snapshot
Modified Files:
TestNoSwing.java
Log Message:
pauses added
Index: TestNoSwing.java
===================================================================
RCS file: /cvsroot/javaprofiler/test/snapshot/TestNoSwing.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** TestNoSwing.java 22 Feb 2002 13:33:33 -0000 1.1
--- TestNoSwing.java 22 Feb 2002 17:16:40 -0000 1.2
***************
*** 1,6 ****
! /* Some test, that doesn't require X console
*/
import java.util.*;
class TestNoSwing {
--- 1,42 ----
! /* Some test, that can be ran wihtout X console
*/
+
+ /*
+ * Sun Public License Notice
+ *
+ * The contents of this file are subject to the Sun Public License
+ * Version 1.0 (the "License"); you may not use this file except
+ * in compliance with the License. A copy of the License is available
+ * at http://www.sun.com/
+ *
+ * The Original Code is the Java Profiler module. The Initial Developers
+ * of the Original Code are Jan Stola, Pavel Vacha, Michal Pise, Petr Luner,
+ * Lukas Petru and Marek Przeczek.
+ *
+ * Portions created by Jan Stola are Copyright (C) 2000-2001.
+ * All Rights Reserved.
+ *
+ * Portions created by Pavel Vacha are Copyright (C) 2000-2001.
+ * All Rights Reserved.
+ *
+ * Portions created by Michal Pise are Copyright (C) 2000-2001.
+ * All Rights Reserved.
+ *
+ * Portions created by Petr Luner are Copyright (C) 2000-2001.
+ * All Rights Reserved.
+ *
+ * Portions created by Lukas Petru are Copyright (C) 2000-2001.
+ * All Rights Reserved.
+ *
+ * Portions created by Marek Przeczek are Copyright (C) 2000-2001.
+ * All Rights Reserved.
+ *
+ * Contributors: Jan Stola, Pavel Vacha, Michal Pise, Petr Luner,
+ * Lukas Petru and Marek Przeczek.
+ */
+
import java.util.*;
+ import java.io.*;
class TestNoSwing {
***************
*** 17,21 ****
int i;
! for (i = 1; i < 1000; i++) {
set.add( new Double(Math.random()) );
}
--- 53,57 ----
int i;
! for (i = 1; i < 500; i++) {
set.add( new Double(Math.random()) );
}
***************
*** 57,61 ****
System.out.println( "Start" );
! for (i = 1; i < 20; i++) {
a.initSet();
a.initList();
--- 93,105 ----
System.out.println( "Start" );
! System.err.print("Press a key");
! try {
! int c = System.in.read();
! }
! catch (IOException ioe) {
! System.err.println( "IOException caught:" + ioe );
! }
!
! for (i = 1; i < 20; i++) {
a.initSet();
a.initList();
***************
*** 63,67 ****
System.out.print( i + " " );
}
! System.out.println( "end" );
}
}
--- 107,119 ----
System.out.print( i + " " );
}
!
! System.out.println( "end." );
! System.err.print("Press a key");
! try {
! int c = System.in.read();
! }
! catch (IOException ioe) {
! System.err.println( "IOException caught:" + ioe );
! }
}
}
|