[liblouis-liblouisxml] Re: New test framework for liblouisutdml Java bindings

  • From: Keith Creasy <kcreasy@xxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Tue, 15 Jul 2014 12:50:26 +0000

Christian.

One other factor in this is that we really do want to test the library through 
the Java bindings. File2brl has been known to give us false passes, making us 
think something was working when it really was not.

Thanks.


-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Christian Egli
Sent: Tuesday, July 15, 2014 8:24 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: New test framework for liblouisutdml Java 
bindings

Hi

On 07/15/2014 12:09 PM, Michael Whapples (Redacted sender mwhapples@xxxxxxx for 
DMARC) wrote:
> and also that file2brl is essentially a unix only tool (it cannot be 
> built with defacto compilers on Windows, IE. MSVC), thus the old test 
> framework does not meet with the goal of LibLouisUTDML being 
> cross-platform.

You've said this in the past and it is still false. The existing test framework 
is deliberately simple as to not to depend on too many things. 
It is just as cross-platform as liblouisutdml itself.

> * The translateFile tests are defined in the file 
> testdata/translateFileTests.xml. The root element of this file is 
> tests and it can contain translateFileTest elements....

The whole thing sounds very complicated. If there is one thing that I learned 
over the years then its the saying that simplicity always trumps complexity.

I wrote a very simple, proof-of-concept test harness for liblouis a while ago, 
using the Java bindings and Clojure. Maybe some ideas could be stolen from 
there: https://github.com/egli/louis-clj

Hope that helps
Christian

--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 
12, CH-8045 Zürich, Switzerland

For a description of the software, to download it and links to project pages go 
to http://www.abilitiessoft.com
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: