db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vemund Ostgaard <Vemund.Ostga...@Sun.COM>
Subject Re: Java ME and ToursDB
Date Mon, 21 Jan 2008 14:08:52 GMT
Daniel John Debrunner wrote:
> I just added a "test" org.apache.derbyTesting.junit.EnvTest that shows 
> the environment that the Junit setup sees. It does this by changing 
> the name of the fixture, e.g.
>
> public void testJSR169() {
>     setName(JDBC.vmSupportsJSR169() + "_vmSupportsJSR169()");
> }
>
> When I run this in the swing ui test runner I see the updated names in 
> the test hierarchy window.
>
> I wonder if it would show different settings for weme6.1 and phoneME, 
> leading to a different number of tests being run?
No swing in CDC/FP, but my modified textbased testrunner showed:

Test ended: 
true_hasTools(org.apache.derbyTesting.junit.EnvTest)duration: 0.014 (+0.014)
Test ended: 
true_hasEmbedded(org.apache.derbyTesting.junit.EnvTest)duration: 0.018 
(+0.001)
Test ended: 
false_hasClient(org.apache.derbyTesting.junit.EnvTest)duration: 0.018 (+0)
Test ended: 
true_hasServer(org.apache.derbyTesting.junit.EnvTest)duration: 0.021 
(+0.002)
Test ended: 
false_vmSupportsJDBC4()(org.apache.derbyTesting.junit.EnvTest)duration: 
0.022 (+0)
Test ended: 
false_vmSupportsJDBC3()(org.apache.derbyTesting.junit.EnvTest)duration: 
0.022 (+0)
Test ended: 
true_vmSupportsJSR169()(org.apache.derbyTesting.junit.EnvTest)duration: 
0.023 (+0)

Vemund



Mime
View raw message