6.170 Forum
August 16, 2006, 04:51:19 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the 6.170 Forum.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Test failure: warning(junit.framework.TestSuite$1)  (Read 144 times)
Advay Mengle
Full Member
***
Posts: 50


View Profile
« on: April 04, 2006, 06:38:18 AM »

I'm getting a few test failures with the title equal to the subject of this post.

I look at the traces, and they have nothing to do with my code.  For example, here's one:
junit.framework.AssertionFailedError: Class ps6.test.TextUITest has no public constructor TestCase(String name) or TestCase()
   at junit.framework.Assert.fail(Assert.java:47)
   at junit.framework.TestSuite$1.runTest(TestSuite.java:263)
   at junit.framework.TestCase.runBare(TestCase.java:127)
   at junit.framework.TestResult$1.protect(TestResult.java:106)
   at junit.framework.TestResult.runProtected(TestResult.java:124)
                    ..... etc.

And that's not even true - I tried adding such a constructor to TextUITest, but it doesn't get rid of the failure.  "ant validate" seems to do just fine though (no failures).

But looking at the cross-checker pages, I've also seen that some people have gotten points off because of these "warning" test failures.  Why are they there?  And how can I get rid of them?
Logged

-- Advay Mengle, '09
Dave Glasser (LA)
Full Member
***
Posts: 39


View Profile Email
« Reply #1 on: April 04, 2006, 07:50:47 AM »

Are you trying to directly run TextUITest? Don't -- just run SpecificationTests.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1 RC2 | SMF © 2001-2005, Lewis Media Valid XHTML 1.0! Valid CSS!