[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/bank/interfaces BankException.java Customer.java CustomerHome.java CustomerPK.java Teller.java TellerHome.java

2002-04-17 Thread Scott M Stark

  User: starksm 
  Date: 02/04/17 12:06:45

  Modified:src/main/org/jboss/test/bank/interfaces Tag: Branch_2_4
BankException.java Customer.java CustomerHome.java
CustomerPK.java Teller.java TellerHome.java
  Log:
  Add tests of creating and removing an entity using the default commit
  option to test caching.
  
  Revision  ChangesPath
  No   revision
  
  
  No   revision
  
  
  1.2.2.1   +2 -14 
jbosstest/src/main/org/jboss/test/bank/interfaces/BankException.java
  
  Index: BankException.java
  ===
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/interfaces/BankException.java,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  --- BankException.java7 Jan 2001 23:14:35 -   1.2
  +++ BankException.java17 Apr 2002 19:06:45 -  1.2.2.1
  @@ -10,8 +10,8 @@
   /**
*  
*   @see 
  - *   @author $Author: peter $
  - *   @version $Revision: 1.2 $
  + *   @author $Author: starksm $
  + *   @version $Revision: 1.2.2.1 $
*/
   public class BankException
  extends Exception
  @@ -41,18 +41,3 @@
  
  public String toString() { return super.toString()+", Cause:"+cause; }
   }
  -
  -/*
  - *   $Id: BankException.java,v 1.2 2001/01/07 23:14:35 peter Exp $
  - *   Currently locked by:$Locker:  $
  - *   Revision:
  - *   $Log: BankException.java,v $
  - *   Revision 1.2  2001/01/07 23:14:35  peter
  - *   Trying to get JAAS to work within test suite.
  - *
  - *   Revision 1.1.1.1  2000/06/21 15:52:38  oberg
  - *   Initial import of jBoss test. This module contains CTS tests, some simple 
examples, and small bean suites.
  - *
  - *
  - *  
  - */
  
  
  
  1.3.2.1   +3 -21 jbosstest/src/main/org/jboss/test/bank/interfaces/Customer.java
  
  Index: Customer.java
  ===
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/interfaces/Customer.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- Customer.java 7 Jan 2001 23:14:36 -   1.3
  +++ Customer.java 17 Apr 2002 19:06:45 -  1.3.2.1
  @@ -11,8 +11,8 @@
   /**
*  
*   @see 
  - *   @author $Author: peter $
  - *   @version $Revision: 1.3 $
  + *   @author $Author: starksm $
  + *   @version $Revision: 1.3.2.1 $
*/
   public interface Customer
  extends EJBObject
  @@ -28,10 +28,7 @@
  // Public 
  public String getName()
 throws RemoteException;
  -  
  -   public void setName(String name)
  -  throws RemoteException;
  -  
  +
  public Collection getAccounts()
 throws RemoteException;
  
  @@ -41,21 +38,3 @@
  public void removeAccount(Account acct)
throws RemoteException;
   }
  -
  -/*
  - *   $Id: Customer.java,v 1.3 2001/01/07 23:14:36 peter Exp $
  - *   Currently locked by:$Locker:  $
  - *   Revision:
  - *   $Log: Customer.java,v $
  - *   Revision 1.3  2001/01/07 23:14:36  peter
  - *   Trying to get JAAS to work within test suite.
  - *
  - *   Revision 1.2  2000/09/30 01:00:57  fleury
  - *   Updated bank tests to work with new jBoss version
  - *
  - *   Revision 1.1.1.1  2000/06/21 15:52:38  oberg
  - *   Initial import of jBoss test. This module contains CTS tests, some simple 
examples, and small bean suites.
  - *
  - *
  - *  
  - */
  
  
  
  1.3.2.1   +2 -18 
jbosstest/src/main/org/jboss/test/bank/interfaces/CustomerHome.java
  
  Index: CustomerHome.java
  ===
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/interfaces/CustomerHome.java,v
  retrieving revision 1.3
  retrieving revision 1.3.2.1
  diff -u -r1.3 -r1.3.2.1
  --- CustomerHome.java 20 Jan 2001 16:32:52 -  1.3
  +++ CustomerHome.java 17 Apr 2002 19:06:45 -  1.3.2.1
  @@ -10,9 +10,8 @@
   
   /**
*  
  - *   @see 
  - *   @author $Author: osh $
  - *   @version $Revision: 1.3 $
  + *   @author $Author: starksm $
  + *   @version $Revision: 1.3.2.1 $
*/
   public interface CustomerHome
  extends EJBHome
  @@ -37,21 +36,3 @@
  public Collection findAll()
 throws RemoteException, FinderException;
   }
  -
  -/*
  - *   $Id: CustomerHome.java,v 1.3 2001/01/20 16:32:52 osh Exp $
  - *   Currently locked by:$Locker:  $
  - *   Revision:
  - *   $Log: CustomerHome.java,v $
  - *   Revision 1.3  2001/01/20 16:32:52  osh
  - *   More cleanup to avoid verifier warnings.
  - *
  - *   Revision 1.2  2001/01/07 23:14:36  peter
  - *   Trying to get JAAS to work within test suite.
  - *
  - *   Revision 1.1.1.1  2000/06/21 15:52:38  oberg
  - *   Initial import of jBoss test. This module contains CTS tests, some simple 
exa

[JBoss-dev] CVS update: jbosstest/src/main/org/jboss/test/bank/interfaces BankException.java

2001-12-04 Thread Guillaume Boissiere

  User: boissier
  Date: 01/12/04 10:36:47

  Modified:src/main/org/jboss/test/bank/interfaces BankException.java
  Log:
  * In JDK 1.4, the Throwable interface has a new method:
public Throwable getCause()
This causes a conflict with the file BankException.java.
This patch fixes that.
  
  Revision  ChangesPath
  1.3   +7 -4  
jbosstest/src/main/org/jboss/test/bank/interfaces/BankException.java
  
  Index: BankException.java
  ===
  RCS file: 
/cvsroot/jboss/jbosstest/src/main/org/jboss/test/bank/interfaces/BankException.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- BankException.java2001/01/07 23:14:35 1.2
  +++ BankException.java2001/12/04 18:36:47 1.3
  @@ -10,8 +10,8 @@
   /**
*  
*   @see 
  - *   @author $Author: peter $
  - *   @version $Revision: 1.2 $
  + *   @author $Author: boissier $
  + *   @version $Revision: 1.3 $
*/
   public class BankException
  extends Exception
  @@ -37,16 +37,22 @@
  }
  
  // Public 
  -   public Exception getCause() { return cause; }
  +   public Throwable getCause() { return cause; }
  
  public String toString() { return super.toString()+", Cause:"+cause; }
   }
   
   /*
  - *   $Id: BankException.java,v 1.2 2001/01/07 23:14:35 peter Exp $
  + *   $Id: BankException.java,v 1.3 2001/12/04 18:36:47 boissier Exp $
*   Currently locked by:$Locker:  $
*   Revision:
*   $Log: BankException.java,v $
  + *   Revision 1.3  2001/12/04 18:36:47  boissier
  + *   * In JDK 1.4, the Throwable interface has a new method:
  + * public Throwable getCause()
  + * This causes a conflict with the file BankException.java.
  + * This patch fixes that.
  + *
*   Revision 1.2  2001/01/07 23:14:35  peter
*   Trying to get JAAS to work within test suite.
*
  
  
  

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