lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [6064] Rectify test specification


From: Greg Chicares
Subject: [lmi-commits] [6064] Rectify test specification
Date: Fri, 12 Dec 2014 14:49:25 +0000

Revision: 6064
          http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6064
Author:   chicares
Date:     2014-12-12 14:49:24 +0000 (Fri, 12 Dec 2014)
Log Message:
-----------
Rectify test specification

Modified Paths:
--------------
    lmi/trunk/wx_test_create_open.cpp

Modified: lmi/trunk/wx_test_create_open.cpp
===================================================================
--- lmi/trunk/wx_test_create_open.cpp   2014-12-12 13:55:31 UTC (rev 6063)
+++ lmi/trunk/wx_test_create_open.cpp   2014-12-12 14:49:24 UTC (rev 6064)
@@ -1,4 +1,4 @@
-// Test case for creating new files of all types and opening them.
+// Create, save, and reopen a file of each available type.
 //
 // Copyright (C) 2014 Gregory W. Chicares.
 //
@@ -104,18 +104,21 @@
     wxYield();
 }
 
-/*
-    These tests implement the following item of the testing specification:
+// ERASE THIS BLOCK COMMENT WHEN IMPLEMENTATION COMPLETE. The block
+// comment below changes the original specification, and does not
+// yet describe the present code. Desired changes:
+//  - Put all files in 'gui_test_path'.
 
-    9. Confirm all file types can be created and opened.
+/// Create, save, and reopen a file of each available type.
+///
+/// Validate each tested operation, then erase the file.
+///
+/// Put all files in 'gui_test_path'. In theory, they'll all be
+/// deleted automatically, but in practice the program could crash.
+///
+/// Skip file types that are unavailable in context. For example,
+/// '.txt' is available only with '--ash_nazg'.
 
-      A. File | New |
-          [Census, Illustration, Database, Policy, Rounding, Strata, MEC 
testing]
-         push 'OK' button for only 'Illustration' and 'MEC testing'
-         File | Save
-
-      B. File | Open | each new saved file from the last test
- */
 LMI_WX_TEST_CASE(create_open_census)
 {
     do_test_create_open(*this, 'c', "testfile.cns",  false);
@@ -160,3 +163,4 @@
 {
     do_test_create_open(*this, 'x', "testfile.txt", false);
 }
+




reply via email to

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