[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] Patches to run the tests with, or without, any password
From: |
Boutin, Wendy |
Subject: |
Re: [lmi] Patches to run the tests with, or without, any password |
Date: |
Tue, 11 Nov 2014 22:26:07 +0000 |
Vadim Zeitlin wrote:
[...]
> This change also takes care of the failure in validate_output_mec test.
> However there is still one other test case which passes with the
> unutterable password, but fails without it: input_validation one. The
> reason for this is clear enough, in normal use trying to run
> CoiMultiplier.cns results in the following message box
>
> ---------------------------
> Error
> ---------------------------
> Input validation problems for '':
> Lowest COI multiplier entered is 0.85, but 1 is the lowest multiplier
> allowed.
>
> [file .\input_realization.cpp, line 260]
>
> ---------------------------
> OK
> ---------------------------
>
> instead of the expected, as described in the item 15 of the testing
> specification, one:
>
> ---------------------------
> Error
> ---------------------------
> Input validation problems for '':
> COI multiplier entered is '0', but it must contain at least one number
> other than zero.
>
> [file .\input_realization.cpp, line 260]
>
> ---------------------------
> OK
> ---------------------------
>
> The only solution I see here is to check whether the password was given
> explicitly in the test. But even then I am not sure if the test should be
> skipped if it wasn't given, or just check for a different error message?
I think it's better to check for the second error message then to test whether
a password was used or not. It's a good validation check. I'm guessing Kim has
run some of these tests without passwords in order to simulate that group of
users when she's testing final distributions.
This e-mail transmission may contain information that is proprietary,
privileged and/or confidential and is intended exclusively for the person(s) to
whom it is addressed. Any use, copying, retention or disclosure by any person
other than the intended recipient or the intended recipient's designees is
strictly prohibited. If you are not the intended recipient or their designee,
please notify the sender immediately by return e-mail and delete all copies.
- Re: [lmi] Patches to run the tests with, or without, any password,
Boutin, Wendy <=