Menu

DOCTYPE in test directories is hard coded

2004-06-23
2004-07-08
  • David Fishburn

    David Fishburn - 2004-06-23

    When I run the tests, I always have to modify this line to something relevant on my machine:

    <!DOCTYPE sqlunit SYSTEM "file:///home/sujit/sqlunit/docs/sqlunit.dtd">

    I found (when writing the ASA tests) that you can do this:

    <!DOCTYPE sqlunit SYSTEM "file:docs/sqlunit.dtd">

    If you run the tests via ANT, then it starts in the SQLUnit root directory and uses relative paths.

    This sounds like it should work for everyone.

    Or am I just missing something and other people have a better method for this?

     
    • Sujit Pal

      Sujit Pal - 2004-06-28

      Hi Dave,

      Thanks for the suggestion. I guess the reason nobody seemed to mind that I pointed to my own box was that nobody ran the same tests that I did. But that is a good idea, specially since the mock tests should be runnable by anybody. I have made the changes in all the *xml files and checked them into cvs, and they should be generally available with the next release.

      -sujit

       
    • Sujit Pal

      Sujit Pal - 2004-07-08

      This is also in version 3.8, btw.

      -sujit

       

Log in to post a comment.