Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 94915 invoked from network); 5 Jun 2009 11:08:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jun 2009 11:08:28 -0000 Received: (qmail 96304 invoked by uid 500); 5 Jun 2009 11:08:40 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 96226 invoked by uid 500); 5 Jun 2009 11:08:40 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 96218 invoked by uid 99); 5 Jun 2009 11:08:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 11:08:39 +0000 X-ASF-Spam-Status: No, hits=2.9 required=10.0 tests=HTML_MESSAGE,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of tiago@espinhas.net does not designate 209.85.219.211 as permitted sender) Received: from [209.85.219.211] (HELO mail-ew0-f211.google.com) (209.85.219.211) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2009 11:08:30 +0000 Received: by ewy7 with SMTP id 7so1931570ewy.7 for ; Fri, 05 Jun 2009 04:08:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.211.180.15 with SMTP id h15mr776201ebp.35.1244200088709; Fri, 05 Jun 2009 04:08:08 -0700 (PDT) Date: Fri, 5 Jun 2009 12:08:08 +0100 Message-ID: Subject: Issue with JUnit - 0 tests? From: Tiago Espinha To: derby-dev@db.apache.org Content-Type: multipart/alternative; boundary=00151748e728512be7046b97e868 X-Virus-Checked: Checked by ClamAV on apache.org --00151748e728512be7046b97e868 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hello everyone, Has anyone ever faced an issue when running JUnit tests where no fixtures from a test are ran? Here's what I get exactly: ------------------8<------------------------- C:\cygwin\home\Tiago\Derby\Testing\TempTest>java junit.textui.TestRunner org.apa che.derbyTesting.functionTests.tests.derbynet.NetworkServerControlClientCommandT est Time: 0 OK (0 tests) -------------------8<-------------------------- The odd part is that this test was running (and failing) yesterday, and now it acts as if there are no fixtures in the file. I'm looking at the file in Eclipse, and there is the testPing() fixture in it. I've also done ant clobber, all and buildjars more than once with no luck. What's even more odd, is that with the very same patch (the latest on DERBY-4217), if I try to run this test on an Ubuntu Virtual Machine, it does run the one fixture in it. Does anyone have any idea of what's going on here? Best Regards, Tiago --00151748e728512be7046b97e868 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello everyone,

Has anyone ever faced an issue when running JUnit te= sts where no fixtures from a test are ran?

Here's what I get exa= ctly:
------------------8<-------------------------
C:\cygwin\home= \Tiago\Derby\Testing\TempTest>java junit.textui.TestRunner org.apa
che.derbyTesting.functionTests.tests.derbynet.NetworkServerControlClientCom= mandT
est

Time: 0

OK (0 tests)
-------------------8<= --------------------------

The odd part is that this test was runnin= g (and failing) yesterday, and now it acts as if there are no fixtures in t= he file. I'm looking at the file in Eclipse, and there is the testPing(= ) fixture in it. I've also done ant clobber, all and buildjars more tha= n once with no luck. What's even more odd, is that with the very same p= atch (the latest on DERBY-4217), if I try to run this test on an Ubuntu Vir= tual Machine, it does run the one fixture in it.

Does anyone have any idea of what's going on here?

Best Rega= rds,
Tiago
--00151748e728512be7046b97e868--