6.170 Forum
August 16, 2006, 04:51:19 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Remember: PS4 due 9pm Tuesday, 2006-03-14.
Home
Help
Search
Login
Register
6.170 Forum
>
Problem Sets
>
Problem Set 6
>
Test failure: warning(junit.framework.TestSuite$1)
Pages: [
1
]
« previous
next »
Print
Author
Topic: Test failure: warning(junit.framework.TestSuite$1) (Read 144 times)
Advay Mengle
Full Member
Posts: 50
Test failure: warning(junit.framework.TestSuite$1)
«
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
Re: Test failure: warning(junit.framework.TestSuite$1)
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Lectures and Recitations
-----------------------------
Java Questions
-----------------------------
=> Java in General
=> Eclipse
=> emacs
=> Java Generics
-----------------------------
Final Projects
-----------------------------
=> General Discussion
=> Team Building
=> Antichess
=> Gizmoball
-----------------------------
Problem Sets
-----------------------------
=> Problem Set 0
=> Problem Set 1
=> Problem Set 2
=> Problem Set 3
=> Problem Set 4
=> Problem Set 5
=> Problem Set 6