[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/dbtest/test Main.java

2001-07-15 Thread Tobias Frech

  User: gropi   
  Date: 01/07/15 16:13:13

  Modified:src/main/org/jboss/test/dbtest/test Main.java
  Log:
  Dummy change to test the new CVS update mailing setup.
  
  Revision  ChangesPath
  1.10  +1 -1  jbosstest/src/main/org/jboss/test/dbtest/test/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/Main.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- Main.java 2001/07/10 02:34:03 1.9
  +++ Main.java 2001/07/15 23:13:13 1.10
  @@ -322,7 +322,7 @@
System.out.println(_);
System.out.println();
System.out.println(JBoss, the EJB Open Source Server);
  - System.out.println(Copyright (C), The jBoss Organization, 2000,2001);
  + System.out.println(Copyright (C), The JBoss Organization, 2000,2001);
System.out.println(_);
System.out.println();
System.out.println(Welcome to the database test);
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



Re: [JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/dbtest/test Main.java

2001-07-15 Thread Tobias Frech

Phew, it looks like everything still works like it should right now. :-)
If other JBoss subprojects would like to get their changes mailed too,
you can easily include this into CVSROOT/loginfo now.

Ciao,
Tobias

Tobias Frech wrote:
 
   User: gropi
   Date: 01/07/15 16:13:13
 
   Modified:src/main/org/jboss/test/dbtest/test Main.java
   Log:
   Dummy change to test the new CVS update mailing setup.
 
   Revision  ChangesPath
   1.10  +1 -1  jbosstest/src/main/org/jboss/test/dbtest/test/Main.java
 
   Index: Main.java
   ===
   RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/Main.java,v
   retrieving revision 1.9
   retrieving revision 1.10
   diff -u -r1.9 -r1.10
   --- Main.java 2001/07/10 02:34:03 1.9
   +++ Main.java 2001/07/15 23:13:13 1.10
   @@ -322,7 +322,7 @@
 System.out.println(_);
 System.out.println();
 System.out.println(JBoss, the EJB Open Source Server);
   - System.out.println(Copyright (C), The jBoss Organization, 
2000,2001);
   + System.out.println(Copyright (C), The JBoss Organization, 
2000,2001);
 System.out.println(_);
 System.out.println();
 System.out.println(Welcome to the database test);
 
 
 
 
 ___
 Jboss-development mailing list
 [EMAIL PROTECTED]
 http://lists.sourceforge.net/lists/listinfo/jboss-development

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/dbtest/test Main.java

2001-07-09 Thread Jason Dillon

  User: user57  
  Date: 01/07/09 19:34:03

  Modified:src/main/org/jboss/test/dbtest/test Main.java
  Log:
   o changed all deploy tests to deploy as a test and to not call System.exit().
 this should allow reports to be generated for tests that fail to deploy.
   o modified run_tests.xml basic-security-tests to not-halt on error, so that
 test-and-report will produce reports even if the security tests fail.
  
  Revision  ChangesPath
  1.9   +14 -17jbosstest/src/main/org/jboss/test/dbtest/test/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/Main.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- Main.java 2001/07/06 02:29:20 1.8
  +++ Main.java 2001/07/10 02:34:03 1.9
  @@ -336,24 +336,21 @@
*/
}
   
  -public static Test suite() {
  -TestSuite suite = new TestSuite();
  - 
  -try {
  -String filename = ../deploy/dbtest.jar;
  -System.out.println(Deploying...);
  -Deploy.deploy(filename);
  +   /**
  +* Setup the test suite.
  +*/
  +   public static Test suite() {
  +  TestSuite suite = new TestSuite();
  +
  +  // add a test case to deploy our support applications
  +  String filename = dbtest.jar;
  +  suite.addTest(new Deploy.Deployer(filename));
   
  -suite.addTest(new TestSuite(Main.class));
  +  suite.addTest(new TestSuite(Main.class));
   
  -// add a test case to undeploy our support applications
  -suite.addTest(new Deploy.Undeployer(filename));
  -}
  -catch (Throwable t) {
  -t.printStackTrace();
  -System.exit(0);
  -}
  +  // add a test case to undeploy our support applications
  +  suite.addTest(new Deploy.Undeployer(filename));
   
  -return suite;
  -}
  +  return suite;
  +   }
   }
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/dbtest/test Main.java

2001-07-08 Thread Scott M Stark

  User: starksm 
  Date: 01/07/08 18:06:03

  Modified:src/main/org/jboss/test/dbtest/test Tag: Branch_2_4
Main.java
  Log:
  Merge latest changes from main to the 2.4 branch
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.7.2.1   +27 -1 jbosstest/src/main/org/jboss/test/dbtest/test/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/Main.java,v
  retrieving revision 1.7
  retrieving revision 1.7.2.1
  diff -u -r1.7 -r1.7.2.1
  --- Main.java 2001/06/20 08:57:29 1.7
  +++ Main.java 2001/07/09 01:06:03 1.7.2.1
  @@ -22,8 +22,11 @@
   import org.jboss.test.dbtest.interfaces.Record;
   import org.jboss.test.dbtest.interfaces.RecordHome;
   
  +import junit.framework.*;
  +import org.jboss.test.util.Deploy;
   
  -public class Main extends junit.framework.TestCase
  +public class Main
  +extends TestCase
   {
   
static boolean deployed = false;
  @@ -313,6 +316,7 @@
   
protected void setUp() throws Exception
{
  +/*
if (deployed) return;
   
System.out.println(_);
  @@ -329,5 +333,27 @@
new org.jboss.jmx.client.Deployer().deploy(../deploy/dbtest.jar);
deployed = true;
System.out.println(done!);
  + */
}
  +
  +public static Test suite() {
  +TestSuite suite = new TestSuite();
  + 
  +try {
  +String filename = ../deploy/dbtest.jar;
  +System.out.println(Deploying...);
  +Deploy.deploy(filename);
  +
  +suite.addTest(new TestSuite(Main.class));
  +
  +// add a test case to undeploy our support applications
  +suite.addTest(new Deploy.Undeployer(filename));
  +}
  +catch (Throwable t) {
  +t.printStackTrace();
  +System.exit(0);
  +}
  +
  +return suite;
  +}
   }
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/dbtest/test Main.java

2001-07-05 Thread Jason Dillon

  User: user57  
  Date: 01/07/05 19:29:20

  Modified:src/main/org/jboss/test/dbtest/test Main.java
  Log:
   o Changed all tests which deploy one or more jars to undeploy after
 testing.
  
  Revision  ChangesPath
  1.8   +27 -1 jbosstest/src/main/org/jboss/test/dbtest/test/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/Main.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- Main.java 2001/06/20 08:57:29 1.7
  +++ Main.java 2001/07/06 02:29:20 1.8
  @@ -22,8 +22,11 @@
   import org.jboss.test.dbtest.interfaces.Record;
   import org.jboss.test.dbtest.interfaces.RecordHome;
   
  +import junit.framework.*;
  +import org.jboss.test.util.Deploy;
   
  -public class Main extends junit.framework.TestCase
  +public class Main
  +extends TestCase
   {
   
static boolean deployed = false;
  @@ -313,6 +316,7 @@
   
protected void setUp() throws Exception
{
  +/*
if (deployed) return;
   
System.out.println(_);
  @@ -329,5 +333,27 @@
new org.jboss.jmx.client.Deployer().deploy(../deploy/dbtest.jar);
deployed = true;
System.out.println(done!);
  + */
}
  +
  +public static Test suite() {
  +TestSuite suite = new TestSuite();
  + 
  +try {
  +String filename = ../deploy/dbtest.jar;
  +System.out.println(Deploying...);
  +Deploy.deploy(filename);
  +
  +suite.addTest(new TestSuite(Main.class));
  +
  +// add a test case to undeploy our support applications
  +suite.addTest(new Deploy.Undeployer(filename));
  +}
  +catch (Throwable t) {
  +t.printStackTrace();
  +System.exit(0);
  +}
  +
  +return suite;
  +}
   }
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/dbtest/test Main.java

2001-06-20 Thread gropi

  User: gropi   
  Date: 01/06/20 01:23:01

  Modified:src/main/org/jboss/test/dbtest/test Main.java
  Log:
  Be a little more descriptive at failures: print local stack trace
  
  Revision  ChangesPath
  1.6   +1 -1  jbosstest/src/main/org/jboss/test/dbtest/test/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/Main.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Main.java 2001/02/27 17:44:27 1.5
  +++ Main.java 2001/06/20 08:23:01 1.6
  @@ -100,7 +100,7 @@
System.out.println();
System.out.println(Could not lookup the context:  the beans 
are probably not deployed);
System.out.println(Check the server trace for details);
  -
  + e.printStackTrace();
throw new Exception();
}
   
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development



[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/dbtest/test Main.java

2001-06-20 Thread gropi

  User: gropi   
  Date: 01/06/20 01:57:29

  Modified:src/main/org/jboss/test/dbtest/test Main.java
  Log:
  cosmetics
  
  Revision  ChangesPath
  1.7   +5 -5  jbosstest/src/main/org/jboss/test/dbtest/test/Main.java
  
  Index: Main.java
  ===
  RCS file: /cvsroot/jboss/jbosstest/src/main/org/jboss/test/dbtest/test/Main.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Main.java 2001/06/20 08:23:01 1.6
  +++ Main.java 2001/06/20 08:57:29 1.7
  @@ -56,14 +56,14 @@
System.out.println(   OS  :);
System.out.println(   JDK vendor/version  :);
System.out.println();
  - System.out.println(   jBoss version   :);
  + System.out.println(   JBoss version   :);
System.out.println();
System.out.println(   Database name/version   :);
System.out.println(   JDBC driver version :);
System.out.println();
System.out.println(And please include:);
  - System.out.println(   Your setup: relevant parts of 
jboss.properties, jboss.conf and jboss.jcml);
  - System.out.println(   The type-mappings from jaws.xml if you 
changed them);
  + System.out.println(   Your setup: relevant parts of 
jboss.jcml);
  + System.out.println(   The type-mappings from jaws.xml or 
standardjaws.xml if you changed them);
System.out.println();
System.out.println(Thanks very much!);
System.out.println();
  @@ -317,8 +317,8 @@
   
System.out.println(_);
System.out.println();
  - System.out.println(jBoss, the EJB Open Source Server);
  - System.out.println(Copyright (C), The jBoss Organization, 2000);
  + System.out.println(JBoss, the EJB Open Source Server);
  + System.out.println(Copyright (C), The jBoss Organization, 2000,2001);
System.out.println(_);
System.out.println();
System.out.println(Welcome to the database test);
  
  
  

___
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development