Hi Drew,
Andrew Jensen wrote:
Ocke,
Just looked over the files DBaseStringFunctions.java and
DriverTest.java ( under the HSQL directory ).
I believe I could write similar function test programs for HSQL. If I
could just figure out what why one file simply imports ComplexTestCase
and the other extends it, I know I would be able to... ( Kind of a joke )
:-) It's even easier. The import wasn't removed from the file :-) The
best way to use it would be to remove all files and start from scratch.
( Kind of a joke )
I see that for DriverTest.java uses a database of
("file:///g:/test.odb"), which means nothing on my machine. Would it
be possible to get a copy of that database. Otherwise I can have the
program(s) go ahead and create the database I want, when needed. ( I
know where to find example java code for that )
You got me. :-) The code is really old. Today I would prefer to use
connectivity.tools.HsqlDatabase to create a hsqldb db on the field.
Also, I suppose there was no reason to differentiate between Escape
Processing True / False with DBase, but would want this for HSQL - right?
Yes.
As for actually testing if it works in designer view mode, I would
have no way of automating that.
There exists ways to that also with the API, but therefor you would have
to invest a little more time I think. May you'll have a look at the
testtool from the QA team. http://qa.openoffice.org/qatesttool/index.html
http://qa.openoffice.org/qatesttool/OOo_testtool.pdf
My tests where just grunt work. Separate query defs in a database
file, each run by hand 3 times for the different modes.
Any test is better than no tests at all ;-)
Drew
-- OJ
Ocke Janssen wrote:
You can write Java programs, or ? :-) It would be really great as
well when we could such test also in the test environment. Currently
there exists only some tests for dbase but it shouldn't be
complicated to translate them for hsql or any other kind of database.
If you want to you'll may have a look at the module
dba/connectivity/qa/drivers/dbase.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Ocke Janssen Tel: +49 40 23646 661, x66661
Dipl. Inf(FH) Fax: +49 40 23646 550
Sun Microsystems Inc.
Nagelsweg 55 mailto:[EMAIL PROTECTED]
D-20097 Hamburg http://www.sun.com/staroffice
Example isn't another way to teach,
it is the only way to teach.
Albert Einstein
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]