lmi
[Top][All Lists]
Advanced

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

[lmi] wx_test_about_version.cpp


From: Greg Chicares
Subject: [lmi] wx_test_about_version.cpp
Date: Sat, 06 Dec 2014 14:48:48 +0000
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

[First in a series of messages that will replace the block comments
that describe each test in 'wx_test*.cpp. I plan simply to post each
file's new comment block in a new thread of its own, as a starting
point for whatever discussion may be useful.]

http://svn.savannah.nongnu.org/viewvc/lmi/trunk/wx_test_about_version.cpp?root=lmi&r1=6040&r2=6046

/// Validate version string (timestamp) from "About" dialog title.
///
/// Test that the version string matches the timestamp specified in
/// 'version.hpp'. That's not a really useful test because it can
/// hardly fail, but it's so inexpensive that there's no reason to
/// delete it.
///
/// Write the version string to stdout (along with other test output)
/// for comparison with previously-saved results.
///
/// Find the last copyright year listed in the dialog's client area,
/// and compare it to the year in the version string, and also to the
/// current calendar year: it should match both. (This means that
/// running a 2014 GUI test in 2015 will fail; that's okay.) Monthly
/// releases sometimes update only the 'expiry' file, but reuse the
/// last month's binaries with an unchanged version string; therefore,
/// only the version string's year is compared to the current date,
/// whereas month, day, and time are not.
///
/// Press the pushbutton to read the license, and check that the
/// license's dialog box is scrollable--to guard against this problem:
///   http://lists.nongnu.org/archive/html/lmi/2010-01/msg00001.html



reply via email to

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