Return-Path: Delivered-To: apmail-jakarta-jetspeed-dev-archive@www.apache.org Received: (qmail 7843 invoked from network); 3 Aug 2004 17:53:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 3 Aug 2004 17:53:52 -0000 Received: (qmail 20070 invoked by uid 500); 3 Aug 2004 17:53:49 -0000 Delivered-To: apmail-jakarta-jetspeed-dev-archive@jakarta.apache.org Received: (qmail 20040 invoked by uid 500); 3 Aug 2004 17:53:49 -0000 Mailing-List: contact jetspeed-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jetspeed Developers List" Reply-To: "Jetspeed Developers List" Delivered-To: mailing list jetspeed-dev@jakarta.apache.org Received: (qmail 20027 invoked by uid 500); 3 Aug 2004 17:53:48 -0000 Received: (qmail 20022 invoked by uid 500); 3 Aug 2004 17:53:48 -0000 Received: (qmail 20017 invoked by uid 99); 3 Aug 2004 17:53:48 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.27.1) with SMTP; Tue, 03 Aug 2004 10:53:48 -0700 Received: (qmail 7821 invoked by uid 1265); 3 Aug 2004 17:53:47 -0000 Date: 3 Aug 2004 17:53:47 -0000 Message-ID: <20040803175347.7820.qmail@minotaur.apache.org> From: taylor@apache.org To: jakarta-jetspeed-2-cvs@apache.org Subject: cvs commit: jakarta-jetspeed-2/components/rdbms/src/test/org/apache/jetspeed/components TestRDBMS.java X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N taylor 2004/08/03 10:53:47 Modified: components/rdbms/src/test/org/apache/jetspeed/components TestRDBMS.java Log: test for the new java:/jdbc/jetspeed named connection CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.9 +3 -3 jakarta-jetspeed-2/components/rdbms/src/test/org/apache/jetspeed/components/TestRDBMS.java Index: TestRDBMS.java =================================================================== RCS file: /home/cvs/jakarta-jetspeed-2/components/rdbms/src/test/org/apache/jetspeed/components/TestRDBMS.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- TestRDBMS.java 31 Jul 2004 20:05:28 -0000 1.8 +++ TestRDBMS.java 3 Aug 2004 17:53:47 -0000 1.9 @@ -60,7 +60,7 @@ InitialContext context = new InitialContext(); //look up from jndi - assertNotNull(context.lookup("java:comp/env/jdbc/jetspeed")); + assertNotNull(context.lookup("java:/jdbc/jetspeed")); assertNotNull(datasourceComponent); DataSource ds = datasourceComponent.getDatasource(); assertNotNull(ds); @@ -73,8 +73,8 @@ try { - context.lookup("java:comp/env/jdbc/jetspeed"); - assertNotNull("java:comp/env/jdbc/jetspeed was not unbound", null); + context.lookup("java:/jdbc/jetspeed"); + assertNotNull("java:/jdbc/jetspeed was not unbound", null); } catch (NamingException e) { --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org