Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 63434 invoked from network); 7 Sep 2005 09:27:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Sep 2005 09:27:48 -0000 Received: (qmail 36570 invoked by uid 500); 7 Sep 2005 09:27:47 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 36544 invoked by uid 500); 7 Sep 2005 09:27:46 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 36531 invoked by uid 99); 7 Sep 2005 09:27:46 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2005 02:27:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.77.152.181] (HELO mail.hometree.net) (194.77.152.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Sep 2005 02:27:58 -0700 Received: from tangens.hometree.net (mail.hometree.net [194.77.152.181]) by mail.hometree.net (8.12.11/8.12.11) with ESMTP id j879RhYw002914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Sep 2005 11:27:43 +0200 Received: (from news@localhost) by tangens.hometree.net (8.12.11/8.12.11/Submit) id j879RhpH002912 for torque-user@db.apache.org; Wed, 7 Sep 2005 11:27:43 +0200 To: torque-user@db.apache.org Path: not-for-mail From: "Henning P. Schmiedehausen" Newsgroups: hometree.jakarta.torque.user Subject: Re: JUnit + Torque Date: Wed, 7 Sep 2005 09:27:43 +0000 (UTC) Organization: INTERMETA - Gesellschaft fuer Mehrwertdienste mbH Lines: 21 Message-ID: References: <20050907083446.CF18710FB2B9@asf.osuosl.org> Reply-To: hps@intermeta.de NNTP-Posting-Host: forge.intermeta.de X-Trace: tangens.hometree.net 1126085263 2879 194.77.152.164 (7 Sep 2005 09:27:43 GMT) X-Complaints-To: news@intermeta.de NNTP-Posting-Date: Wed, 7 Sep 2005 09:27:43 +0000 (UTC) X-Copyright: (C) 1996-2005 Henning Schmiedehausen User-Agent: nn/6.6.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N "Ferruh Zamangoer" writes: >does anybody know if any examples exist how to write a Junit test for >torque. I have a couple of Web Services which uses torque to access a >database. Thanks in advance for any ideas. If you look at the Turbine (http://jakarta.apache.org/turbine/) unit tests, especially at the Security Service unit tests, you can see some example on how to do this using hsqldb as the backing database. Best regards Henning -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH hps@intermeta.de +49 9131 50 654 0 http://www.intermeta.de/ RedHat Certified Engineer -- Jakarta Turbine Development -- hero for hire Linux, Java, perl, Solaris -- Consulting, Training, Development 4 - 8 - 15 - 16 - 23 - 42 --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org