Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 71743 invoked from network); 2 Apr 2007 19:22:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2007 19:22:19 -0000 Received: (qmail 39809 invoked by uid 500); 2 Apr 2007 19:22:17 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 39774 invoked by uid 500); 2 Apr 2007 19:22:17 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 39758 invoked by uid 99); 2 Apr 2007 19:22:17 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 12:22:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 12:22:09 -0700 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1HYS68-0005Nx-SX for user@struts.apache.org; Mon, 02 Apr 2007 12:21:48 -0700 Message-ID: <9797200.post@talk.nabble.com> Date: Mon, 2 Apr 2007 12:21:48 -0700 (PDT) From: Rich Thornett To: user@struts.apache.org Subject: Re: Struts 2 and Validation Testing In-Reply-To: <9628117.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: rich@thornett.com References: <9628117.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org I'm seeing the same issue folks have described below. BTW, the validation testing described in: http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html did work, at least in Struts 2.0.1. I've entered the following jira issue on the matter: https://issues.apache.org/struts/browse/WW-1868 Hopefully it will be addressed soon. k hall wrote: > > I really like Struts 2 but has anyone had any success in testing Struts > 2's action validation logic? > > http://struts.apache.org/2.x/docs/how-do-i-unit-test-my-actions-validation-logic.html > > I'd like to test the validation messages I receive but get an exception > where the objectFactory is null. I've tried with putting in my own > validators.xml, but it gets hung up on the ObjectFactory and I really > can't figure out how to correct that from a Unit Test. > > Any ideas to fix this Struts 2 gurus? > > Thanks. > > -- View this message in context: http://www.nabble.com/Struts-2-and-Validation-Testing-tf3451623.html#a9797200 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org