lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] Automated GUI testing, revisited


From: Greg Chicares
Subject: Re: [lmi] Automated GUI testing, revisited
Date: Wed, 12 Nov 2014 12:54:52 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 2014-11-09 01:21Z, Greg Chicares wrote:
> Now that we have an automated GUI test, I'm starting this new thread
> to ask some questions about what it's intended to do, and to discuss
> where we should go from here.
[...]
> Randomly picking 'extract', I looked at 'wx_test_extract.cpp'.
[...]
> And I think the following code forms the name of the file to open
> by grabbing <default_input_filename> and replacing everything after
> the last '/' by "ExtractV6.ill":
[...]
> But, if I've understood that correctly, given that I have
>   <default_input_filename>C:/etc/opt/lmi/default.ill</default_input_filename>
> then this should attempt to open a file named:
>   C:/etc/opt/lmi/ExtractV6.ill

OK, now I have 'ExtractV6.ill', and I put it in
  /opt/lmi/bin/
where the 'wx_test' program resides. I can eliminate several
failures, getting the total down to "6 out of 24 tests failed",
if I change every line identified by
  grep default_input_filename wx_test*.?pp
in this excessively simpleminded way:
-    wxFileName fn(configurable_settings::instance().default_input_filename());
+    wxFileName fn; 
//(configurable_settings::instance().default_input_filename());

This raises the question where these test files should
reside. My configuration directory, as seen above, is
  C:/etc/opt/lmi
and I don't want any input files in /etc/ because that
directory is only for things like configuration files.
If someone else wants to place the default input file
elsewhere, and put input files there, too, then I don't
need to object to that practice; but I do object to
following it myself. Is there any reason why files used
by 'wx_test' should be put in that particular directory
instead of the directory where 'wx_test' resides?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]