Return-Path: X-Original-To: apmail-commons-commits-archive@minotaur.apache.org Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7B5BF97DB for ; Mon, 9 Jan 2012 14:08:19 +0000 (UTC) Received: (qmail 32306 invoked by uid 500); 9 Jan 2012 14:08:16 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 31708 invoked by uid 500); 9 Jan 2012 14:07:59 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 31695 invoked by uid 99); 9 Jan 2012 14:07:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 14:07:56 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 14:07:54 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id AFF6F23888E4 for ; Mon, 9 Jan 2012 14:07:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1229159 - /commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java Date: Mon, 09 Jan 2012 14:07:34 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120109140734.AFF6F23888E4@eris.apache.org> Author: sebb Date: Mon Jan 9 14:07:34 2012 New Revision: 1229159 URL: http://svn.apache.org/viewvc?rev=1229159&view=rev Log: Another basic check Modified: commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java Modified: commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java?rev=1229159&r1=1229158&r2=1229159&view=diff ============================================================================== --- commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java (original) +++ commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java Mon Jan 9 14:07:34 2012 @@ -119,4 +119,9 @@ public class BaseTestCase extends TestCa assertEquals("Row 1 must contain correct number of columns", columnNames.length, row1.length); assertEquals("Row 1 must contain correct number of columns", columnNames.length, row2.length); } + + public void testResultSets() throws Exception { + assertFalse("emptyResultSet should be empty", emptyResultSet.next()); + // fails in SqlNullCheckedResultSetTest assertTrue("rs should not be empty", rs.next()); + } }