This is the mail archive of the frysk@sources.redhat.com mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: frysk.junit.TestCase


Hi Andrew,

On Mon, 2006-08-28 at 13:37 -0400, Andrew Cagney wrote:
> Just a heads up, I moved the brokenXXX methods to frysk.junit.TestCase 
> and had any code needing to pull that trick extend that object (there 
> were many!)

Our build system picks up everything called Test* and tries to run it.
But since TestCase doesn't actually contain any tests we get one failure
in frysk-import:

There was 1 failure:
1) warning(junit.framework.TestSuite$1)junit.framework.AssertionFailedError: No tests found in frysk.junit.TestCase
   at frysk.junit.Runner.<init>(TestRunner)
   at TestRunner.main(TestRunner)

make check in other directories seems to work fine. It is probably
easiest to rename this class. Or we can add some special case to
common/Makefile.gen.sh (at the end).

Cheers,

Mark


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]