[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [6067] Expunge 'wx_test_extract.cpp' because it is no long
From: |
Greg Chicares |
Subject: |
[lmi-commits] [6067] Expunge 'wx_test_extract.cpp' because it is no longer useful |
Date: |
Fri, 12 Dec 2014 19:29:14 +0000 |
Revision: 6067
http://svn.sv.gnu.org/viewvc/?view=rev&root=lmi&revision=6067
Author: chicares
Date: 2014-12-12 19:29:13 +0000 (Fri, 12 Dec 2014)
Log Message:
-----------
Expunge 'wx_test_extract.cpp' because it is no longer useful
Modified Paths:
--------------
lmi/trunk/ChangeLog
lmi/trunk/Makefile.am
lmi/trunk/objects.make
Removed Paths:
-------------
lmi/trunk/wx_test_extract.cpp
Modified: lmi/trunk/ChangeLog
===================================================================
--- lmi/trunk/ChangeLog 2014-12-12 18:13:44 UTC (rev 6066)
+++ lmi/trunk/ChangeLog 2014-12-12 19:29:13 UTC (rev 6067)
@@ -34815,3 +34815,41 @@
Preserve file history. See:
http://lists.nongnu.org/archive/html/lmi/2014-12/msg00047.html
+20141212T1246Z <address@hidden> [516]
+
+ wx_test_benchmark_census.cpp
+Rectify test specification.
+
+20141212T1317Z <address@hidden> [516]
+
+ wx_test_config_settings.cpp
+Rectify test specification.
+
+20141212T1355Z <address@hidden> [516]
+
+ wx_test_pdf_create.cpp
+Rectify test specification.
+
+20141212T1449Z <address@hidden> [516]
+
+ wx_test_create_open.cpp
+Rectify test specification.
+
+20141212T1517Z <address@hidden> [516]
+
+ wx_test_input_sequences.cpp
+Rectify test specification.
+
+20141212T1813Z <address@hidden> [516]
+
+ wx_test_default_input.cpp
+Rectify test specification.
+
+20141212T1929Z <address@hidden> [516]
+
+ Makefile.am
+ objects.make
+ wx_test_extract.cpp [expunged]
+Expunge 'wx_test_extract.cpp' because it is no longer useful. See:
+ http://lists.nongnu.org/archive/html/lmi/2014-12/msg00055.html
+
Modified: lmi/trunk/Makefile.am
===================================================================
--- lmi/trunk/Makefile.am 2014-12-12 18:13:44 UTC (rev 6066)
+++ lmi/trunk/Makefile.am 2014-12-12 19:29:13 UTC (rev 6067)
@@ -264,7 +264,6 @@
wx_test_default_input.cpp \
wx_test_default_update.cpp \
wx_test_expiry_dates.cpp \
- wx_test_extract.cpp \
wx_test_input_sequences.cpp \
wx_test_input_validation.cpp \
wx_test_paste_census.cpp \
Modified: lmi/trunk/objects.make
===================================================================
--- lmi/trunk/objects.make 2014-12-12 18:13:44 UTC (rev 6066)
+++ lmi/trunk/objects.make 2014-12-12 19:29:13 UTC (rev 6067)
@@ -365,7 +365,6 @@
wx_test_default_input.o \
wx_test_default_update.o \
wx_test_expiry_dates.o \
- wx_test_extract.o \
wx_test_input_sequences.o \
wx_test_input_validation.o \
wx_test_paste_census.o \
Deleted: lmi/trunk/wx_test_extract.cpp
===================================================================
--- lmi/trunk/wx_test_extract.cpp 2014-12-12 18:13:44 UTC (rev 6066)
+++ lmi/trunk/wx_test_extract.cpp 2014-12-12 19:29:13 UTC (rev 6067)
@@ -1,97 +0,0 @@
-// Test extract file formats.
-//
-// Copyright (C) 2014 Gregory W. Chicares.
-//
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License version 2 as
-// published by the Free Software Foundation.
-//
-// This program is distributed in the hope that it will be useful,
-// but WITHOUT ANY WARRANTY; without even the implied warranty of
-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-// GNU General Public License for more details.
-//
-// You should have received a copy of the GNU General Public License
-// along with this program; if not, write to the Free Software Foundation,
-// Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
-//
-// http://savannah.nongnu.org/projects/lmi
-// email: <address@hidden>
-// snail: Chicares, 186 Belle Woods Drive, Glastonbury CT 06033, USA
-
-// $Id$
-
-#ifdef __BORLANDC__
-# include "pchfile.hpp"
-# pragma hdrstop
-#endif
-
-#include "assert_lmi.hpp"
-#include "configurable_settings.hpp"
-#include "mvc_controller.hpp"
-#include "wx_test_case.hpp"
-
-#include <wx/filename.h>
-#include <wx/testing.h>
-#include <wx/uiaction.h>
-
-#include <stdexcept>
-
-/*
- Test extract file formats.
-
- This implements the following item of the testing specification:
-
- 16. Open and run a variety of extract file formats; Close
- files and the program.
-
- A. File | Open | 'ExtractV6.ill' | press 'OK' twice [to
- dismiss input validation message boxes] | press 'OK' to
- run illustration
- File | Close | No [do not save changes]
-
- B. File | Open | 'ExtractV5.cns' | press 'OK' thrice [to
- dismiss input validation message boxes]
- Census | Run case
- File | Close
- File | Exit
-
- The only difference with the specification is that "File | Exit" is not
tested
- as the program currently needs to remain running in order to display the
test
- results to the user.
- */
-LMI_WX_TEST_CASE(extract)
-{
- wxUIActionSimulator ui;
- ui.Char('o', wxMOD_CONTROL); // "File|Open"
-
- wxFileName fn(configurable_settings::instance().default_input_filename());
// Instead use '--gui_test_path'.
- fn.SetFullName("ExtractV6.ill");
- wxTEST_DIALOG
- (wxYield()
- ,wxExpectModal<wxFileDialog>(fn.GetFullPath())
- ,wxExpectModal<wxMessageDialog>(wxOK) // Dismiss first warning.
- ,wxExpectModal<wxMessageDialog>(wxOK) // And the second one.
- ,wxExpectDismissableModal<MvcController>(wxID_OK) // Accept defaults.
- );
-
- ui.Char('l', wxMOD_CONTROL); // "File|Close"
- wxTEST_DIALOG
- (wxYield()
- ,wxExpectModal<wxMessageDialog>(wxNO) // Don't save changes.
- );
-
- ui.Char('o', wxMOD_CONTROL); // "File|Open"
-
- fn.SetFullName("ExtractV5.cns");
- wxTEST_DIALOG
- (wxYield()
- ,wxExpectModal<wxFileDialog>(fn.GetFullPath())
- ,wxExpectModal<wxMessageDialog>(wxOK) // Dismiss first warning.
- ,wxExpectModal<wxMessageDialog>(wxOK) // And the second one.
- ,wxExpectModal<wxMessageDialog>(wxOK) // And the third one.
- );
-
- ui.Char('l', wxMOD_CONTROL); // "File|Close"
- wxYield();
-}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [6067] Expunge 'wx_test_extract.cpp' because it is no longer useful,
Greg Chicares <=