Menu

#93 Add test data file

closed
nobody
None
5
2010-04-23
2010-04-23
Tom Edelson
No

This is for jGnash 1.x, where your financial data is stored as XML. Create a sample data file, for use in testing, and make it part of the repository.

I would have assigned this to myself, but that turned out not to be an option, at present, for feature requests, though it is an option for bugs.

Discussion

  • Tom Edelson

    Tom Edelson - 2010-04-23

    This has been implemented. The test data file is "mini.jgnash.xml", and it is located in (new directory) "test/data" within the project area. Also in that directory is "mini.jgnash.xml.txt", which is a documentation file about "mini.jgnash.xml".

    It took three commits to the Subversion repository to get this done: the ones that created revisions 2120, 2121, and 2122. Here are [corrected versions of] the second and third commit messages:

    <quote>

    Oops. In the previous commit, which created revision 2120, the file
    "mini.jgnash.xml.txt" was uploaded as a link, rather than as a file. To
    fix this, I am now deleting it from the repository, and will then try
    adding it back in.

    </quote>

    and

    <quote>

    Once again adding the file "mini.jgnash.xml.txt" to the repository, in the
    hope that this time, it will be uploaded (as originally intended) as a
    file, not a symbolic link. If it works, this commit will complete the
    implementation of feature request 2,991,468 (2991468).

    </quote>

    The actual commit messages were erroneous in that they referred to "mini.jgnash.xml", where they should have had "mini.jgnash.xml.txt". It was the latter file -- the documentation file, not the actual data -- which was originally uploaded incorrectly.

     
  • Tom Edelson

    Tom Edelson - 2010-04-23
    • status: open --> closed
     

Log in to post a comment.