A cross-platform (tested under MSW, Linux GTK2 and Mac OS X) open source GUI testing framework for wxWidgets. With minimal changes to your program, you can write unit tests using CppUnit or capture user interaction into a CppUnit test case.
Be the first to post a text review of wxGuiTesting. Rate and review a project by clicking thumbs up or thumbs down in the right column.
2008-01-21 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swWxGuiTestProvokedWarningRegistry.cpp (WxGuiTestProvokedWarningRegistry::FindRegisteredWarning): Now ignores message if it's empty and compares it otherwise. * include/wxGuiTest/swWxGuiTestProvokedWarning.h: Changed m_message from pointer (incredibly dangerous) to a string. 2008-01-20 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * test/CppGuiTest/swCRWindowHierarchyHandlerTest.h: Deleted function testFindWindowContainer() because there is no corresponding function in CRWindowHierarchyHandler. 2008-01-19 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swCRCppEmitter.cpp (CRCppEmitter::SetTestCaseFileContext): Tightened up another rambling loop. * src/swWxGuiTesting/VtkWxGuiTesting/swCRVtkCaptureControl.cpp (CRVtkCaptureControl::OnAddWxVtkRecording): Corrected double use of the same iterator. * src/swWxGuiTesting/swWxGuiTestProvokedWarningRegistry.cpp (WxGuiTestProvokedWarningRegistry::FindRegisteredWarning): Collapsed overly complicated loop & fixed failure to test warning message against the parameter. * src/swWxGuiTesting/swWxGuiTestApp.cpp: Imported necessary functions from swApp; changed references to sw::App and sw::PseudoApp to wxApp. 2008-01-17 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swFrameworkDependent/Widget/swTreeCtrl.cpp: * src/swFrameworkDependent/Widget/swSpinCtrlDouble.cpp: * src/swFrameworkDependent/Widget/swNewBitmapButton.cpp: Updated to reflect move of headers back to sourcedir. * src/swWxGuiTesting/CapturedEvents/swCRSpinCtrlUpdateEvent.cpp (CRSpinCtrlUpdateEvent::Process): * src/swWxGuiTesting/CapturedEvents/swCRTreeItemRightClickEvent.cpp (CRTreeItemRightClickEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRRadioBoxSelectionEvent.cpp (CRRadioBoxSelectionEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRTreeSelectionChangingEvent.cpp (CRTreeSelectionChangingEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRTextUpdateEvent.cpp (CRTextUpdateEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRSliderUpdateEvent.cpp (CRSliderUpdateEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRChoiceSelectionEvent.cpp (CRChoiceSelectionEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRCheckBoxClickEvent.cpp (CRCheckBoxClickEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRButtonClickEvent.cpp (CRButtonClickEvent::Process): Commented out XRC checks, use of m_isXRC, fixed missing _T() in emitted string, corrected member initialization where required. 2008-01-15 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swWxGuiTestEventSimulationHelper.cpp (WxGuiTestEventSimulationHelper::GetNthTreeChild): Copied this from swTreeCtrl, needed by CRTreeSelectionChangingEvent. * include/wxGuiTest/swCRWindowHierarchyHandler.h (FindContainerName): Deleted no-longer-needed parameter isUnknownCtrl. 2008-01-13 John Ralls <john@manjusri.local> * test/VtkTest/swCRVtkCaptureTest.cpp: * test/CppGuiTest/swCRWindowHierarchyHandlerTest.cpp: * test/CppGuiTest/swCRCaptureTest.cpp: * test/CppGuiTest/swCapturePlusEmittingTest.cpp: Removed (well, commented out) all references to swSpinCtrlDbl and swConfig*. * test/CppGuiTest/swCRWindowHierarchyHandlerTest.cpp: Commented out FindXRCNode(). * src/swWxGuiTesting/swCRWindowHierarchyHandler.cpp (CRWindowHierarchyHandler::CRWindowHierarchyHandler): Added wxMDIParentFrame and wxMDIChildFrame to m_contMap. 2008-01-12 John Ralls <john@manjusri.local> * src/swWxGuiTesting/swCRWindowHierarchyHandler.cpp (CRWindowHierarchyHandler::FindContainerName): Or maybe we'll just dump this whole XRC parsing thing altogether as a waste of time. * src/swWxGuiTesting/swCRXRCResource.h: Changed nodelist to a vector, since it used vector, not list, semantics. * src/swWxGuiTesting/swCRXRCReader.cpp (CRXRCReader::GetResource): Removed working with directories: This has been moved up to CRWindowHierarchyHandler. * src/swWxGuiTesting/swCRXRCObject.h: * src/swWxGuiTesting/swCRXRCReader.h: * src/swWxGuiTesting/swCRXRCResource.h: * src/swWxGuiTesting/swCRXRCNode.h: * include/wxGuiTest/swCRWindowHierarchyHandler.h: Replaced CRXRCObject*, CRXRCNode* and CRXRCResource* with their respective wxSharedPtr<> typedefs. 2008-01-11 John Ralls <john@manjusri.local> * include/wxGuiTest/swCRWindowHierarchyHandler.h: Replaced the use of sw::Config with an internal vector of resource sets. The resources are parsed at the time of registration using the new function registerResDir. HierarchHandler is now able to handle multiple files in multiple directories. * build/bakefile/swWxGuiTesting.bkl: Created new library target swFramework to hold code needed by the test programs but not by the library. * build/bakefile/files.bkl: Separated swFramework files into controls, which are now in group FD_TEST_SOURCES and those needed for the library, in FD_LIB_SOURCES * include/wxGuiTest/swWxGuiTestEventSimulationHelper.h * src/swWxGuiTesting/swWxGuiTestHelper.cpp * src/swWxGuiTesting/CapturedEvents/swCRTextUpdateEvent.cpp * src/swWxGuiTesting/CapturedEvents/swCRMenuSelectionEvent.h * src/swWxGuiTesting/CapturedEvents/swCRSpinCtrlUpdateEvent.h: Removed all references to swFramework * src/swWxGuiTesting/CapturedEvents/swCRMenuSelectionEvent.cpp (CRMenuSelectionEvent::Process): Refactored Process() with "Extract Method". 2007-12-28 John Ralls <john@ceridwen.fremont.ca.us> * sample/rc/custclass.xrc: * sample/rc/frame.xrc: * sample/rc/platform.xrc: Corrected class of MDIframes. * sample/myframe.cpp: * sample/ReplayTest.cpp: Fixed capitalization errors exposed in Linux. 2007-12-28 <Owner@WIDGET-2> * sample/myframe.cpp (MyFrame, OnCustomClassToolOrMenuCommand): (OnPlatformPropertyToolOrMenuCommand): Changed LoadFrame to LoadObject, which is what's needed for MDI-frames. 2007-12-20 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * swWxGuiTestTempInteractive.cpp (WxGuiTestTempInteractive::ShowCurrentGui): New unicode fix. 2007-12-23 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * swWxGuiTestTempInteractive.cpp: Rewritten to create a new dialog on every call to ShowCurrentGui. The original created a dialog on the first invocation and used it until the interactive object was destroyed, which ignored subsequent calls with filename and line # so the original filename and line number were produced every time. * swWxGuiTestTempInteractive.h: Added the warning notice for the TEMP_INTERACTIVE_GUI_TEST macro.
2008-01-21 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swWxGuiTestProvokedWarningRegistry.cpp (WxGuiTestProvokedWarningRegistry::FindRegisteredWarning): Now ignores message if it's empty and compares it otherwise. * include/wxGuiTest/swWxGuiTestProvokedWarning.h: Changed m_message from pointer (incredibly dangerous) to a string. 2008-01-20 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * test/CppGuiTest/swCRWindowHierarchyHandlerTest.h: Deleted function testFindWindowContainer() because there is no corresponding function in CRWindowHierarchyHandler. 2008-01-19 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swCRCppEmitter.cpp (CRCppEmitter::SetTestCaseFileContext): Tightened up another rambling loop. * src/swWxGuiTesting/VtkWxGuiTesting/swCRVtkCaptureControl.cpp (CRVtkCaptureControl::OnAddWxVtkRecording): Corrected double use of the same iterator. * src/swWxGuiTesting/swWxGuiTestProvokedWarningRegistry.cpp (WxGuiTestProvokedWarningRegistry::FindRegisteredWarning): Collapsed overly complicated loop & fixed failure to test warning message against the parameter. * src/swWxGuiTesting/swWxGuiTestApp.cpp: Imported necessary functions from swApp; changed references to sw::App and sw::PseudoApp to wxApp. 2008-01-17 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swFrameworkDependent/Widget/swTreeCtrl.cpp: * src/swFrameworkDependent/Widget/swSpinCtrlDouble.cpp: * src/swFrameworkDependent/Widget/swNewBitmapButton.cpp: Updated to reflect move of headers back to sourcedir. * src/swWxGuiTesting/CapturedEvents/swCRSpinCtrlUpdateEvent.cpp (CRSpinCtrlUpdateEvent::Process): * src/swWxGuiTesting/CapturedEvents/swCRTreeItemRightClickEvent.cpp (CRTreeItemRightClickEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRRadioBoxSelectionEvent.cpp (CRRadioBoxSelectionEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRTreeSelectionChangingEvent.cpp (CRTreeSelectionChangingEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRTextUpdateEvent.cpp (CRTextUpdateEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRSliderUpdateEvent.cpp (CRSliderUpdateEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRChoiceSelectionEvent.cpp (CRChoiceSelectionEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRCheckBoxClickEvent.cpp (CRCheckBoxClickEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRButtonClickEvent.cpp (CRButtonClickEvent::Process): Commented out XRC checks, use of m_isXRC, fixed missing _T() in emitted string, corrected member initialization where required. 2008-01-15 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swWxGuiTestEventSimulationHelper.cpp (WxGuiTestEventSimulationHelper::GetNthTreeChild): Copied this from swTreeCtrl, needed by CRTreeSelectionChangingEvent. * include/wxGuiTest/swCRWindowHierarchyHandler.h (FindContainerName): Deleted no-longer-needed parameter isUnknownCtrl. 2008-01-13 John Ralls <john@manjusri.local> * test/VtkTest/swCRVtkCaptureTest.cpp: * test/CppGuiTest/swCRWindowHierarchyHandlerTest.cpp: * test/CppGuiTest/swCRCaptureTest.cpp: * test/CppGuiTest/swCapturePlusEmittingTest.cpp: Removed (well, commented out) all references to swSpinCtrlDbl and swConfig*. * test/CppGuiTest/swCRWindowHierarchyHandlerTest.cpp: Commented out FindXRCNode(). * src/swWxGuiTesting/swCRWindowHierarchyHandler.cpp (CRWindowHierarchyHandler::CRWindowHierarchyHandler): Added wxMDIParentFrame and wxMDIChildFrame to m_contMap. 2008-01-12 John Ralls <john@manjusri.local> * src/swWxGuiTesting/swCRWindowHierarchyHandler.cpp (CRWindowHierarchyHandler::FindContainerName): Or maybe we'll just dump this whole XRC parsing thing altogether as a waste of time. * src/swWxGuiTesting/swCRXRCResource.h: Changed nodelist to a vector, since it used vector, not list, semantics. * src/swWxGuiTesting/swCRXRCReader.cpp (CRXRCReader::GetResource): Removed working with directories: This has been moved up to CRWindowHierarchyHandler. * src/swWxGuiTesting/swCRXRCObject.h: * src/swWxGuiTesting/swCRXRCReader.h: * src/swWxGuiTesting/swCRXRCResource.h: * src/swWxGuiTesting/swCRXRCNode.h: * include/wxGuiTest/swCRWindowHierarchyHandler.h: Replaced CRXRCObject*, CRXRCNode* and CRXRCResource* with their respective wxSharedPtr<> typedefs. 2008-01-11 John Ralls <john@manjusri.local> * include/wxGuiTest/swCRWindowHierarchyHandler.h: Replaced the use of sw::Config with an internal vector of resource sets. The resources are parsed at the time of registration using the new function registerResDir. HierarchHandler is now able to handle multiple files in multiple directories. * build/bakefile/swWxGuiTesting.bkl: Created new library target swFramework to hold code needed by the test programs but not by the library. * build/bakefile/files.bkl: Separated swFramework files into controls, which are now in group FD_TEST_SOURCES and those needed for the library, in FD_LIB_SOURCES * include/wxGuiTest/swWxGuiTestEventSimulationHelper.h * src/swWxGuiTesting/swWxGuiTestHelper.cpp * src/swWxGuiTesting/CapturedEvents/swCRTextUpdateEvent.cpp * src/swWxGuiTesting/CapturedEvents/swCRMenuSelectionEvent.h * src/swWxGuiTesting/CapturedEvents/swCRSpinCtrlUpdateEvent.h: Removed all references to swFramework * src/swWxGuiTesting/CapturedEvents/swCRMenuSelectionEvent.cpp (CRMenuSelectionEvent::Process): Refactored Process() with "Extract Method". 2007-12-28 John Ralls <john@ceridwen.fremont.ca.us> * sample/rc/custclass.xrc: * sample/rc/frame.xrc: * sample/rc/platform.xrc: Corrected class of MDIframes. * sample/myframe.cpp: * sample/ReplayTest.cpp: Fixed capitalization errors exposed in Linux. 2007-12-28 <Owner@WIDGET-2> * sample/myframe.cpp (MyFrame, OnCustomClassToolOrMenuCommand): (OnPlatformPropertyToolOrMenuCommand): Changed LoadFrame to LoadObject, which is what's needed for MDI-frames. 2007-12-20 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * swWxGuiTestTempInteractive.cpp (WxGuiTestTempInteractive::ShowCurrentGui): New unicode fix. 2007-12-23 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * swWxGuiTestTempInteractive.cpp: Rewritten to create a new dialog on every call to ShowCurrentGui. The original created a dialog on the first invocation and used it until the interactive object was destroyed, which ignored subsequent calls with filename and line # so the original filename and line number were produced every time. * swWxGuiTestTempInteractive.h: Added the warning notice for the TEMP_INTERACTIVE_GUI_TEST macro.
wxGuiTesting, an automated GUI testing framework for wxWidgets using CppUnit, is now on SourceForge. wxGuiTesting is the follow-on development of swWxGuiTesting created by Reinhold Freder for simpleware. Version 0.7.0 is now available for download.
2008-01-21 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swWxGuiTestProvokedWarningRegistry.cpp (WxGuiTestProvokedWarningRegistry::FindRegisteredWarning): Now ignores message if it's empty and compares it otherwise. * include/wxGuiTest/swWxGuiTestProvokedWarning.h: Changed m_message from pointer (incredibly dangerous) to a string. 2008-01-20 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * test/CppGuiTest/swCRWindowHierarchyHandlerTest.h: Deleted function testFindWindowContainer() because there is no corresponding function in CRWindowHierarchyHandler. 2008-01-19 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swCRCppEmitter.cpp (CRCppEmitter::SetTestCaseFileContext): Tightened up another rambling loop. * src/swWxGuiTesting/VtkWxGuiTesting/swCRVtkCaptureControl.cpp (CRVtkCaptureControl::OnAddWxVtkRecording): Corrected double use of the same iterator. * src/swWxGuiTesting/swWxGuiTestProvokedWarningRegistry.cpp (WxGuiTestProvokedWarningRegistry::FindRegisteredWarning): Collapsed overly complicated loop & fixed failure to test warning message against the parameter. * src/swWxGuiTesting/swWxGuiTestApp.cpp: Imported necessary functions from swApp; changed references to sw::App and sw::PseudoApp to wxApp. 2008-01-17 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swFrameworkDependent/Widget/swTreeCtrl.cpp: * src/swFrameworkDependent/Widget/swSpinCtrlDouble.cpp: * src/swFrameworkDependent/Widget/swNewBitmapButton.cpp: Updated to reflect move of headers back to sourcedir. * src/swWxGuiTesting/CapturedEvents/swCRSpinCtrlUpdateEvent.cpp (CRSpinCtrlUpdateEvent::Process): * src/swWxGuiTesting/CapturedEvents/swCRTreeItemRightClickEvent.cpp (CRTreeItemRightClickEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRRadioBoxSelectionEvent.cpp (CRRadioBoxSelectionEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRTreeSelectionChangingEvent.cpp (CRTreeSelectionChangingEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRTextUpdateEvent.cpp (CRTextUpdateEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRSliderUpdateEvent.cpp (CRSliderUpdateEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRChoiceSelectionEvent.cpp (CRChoiceSelectionEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRCheckBoxClickEvent.cpp (CRCheckBoxClickEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRButtonClickEvent.cpp (CRButtonClickEvent::Process): Commented out XRC checks, use of m_isXRC, fixed missing _T() in emitted string, corrected member initialization where required. 2008-01-15 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swWxGuiTestEventSimulationHelper.cpp (WxGuiTestEventSimulationHelper::GetNthTreeChild): Copied this from swTreeCtrl, needed by CRTreeSelectionChangingEvent. * include/wxGuiTest/swCRWindowHierarchyHandler.h (FindContainerName): Deleted no-longer-needed parameter isUnknownCtrl. 2008-01-13 John Ralls <john@manjusri.local> * test/VtkTest/swCRVtkCaptureTest.cpp: * test/CppGuiTest/swCRWindowHierarchyHandlerTest.cpp: * test/CppGuiTest/swCRCaptureTest.cpp: * test/CppGuiTest/swCapturePlusEmittingTest.cpp: Removed (well, commented out) all references to swSpinCtrlDbl and swConfig*. * test/CppGuiTest/swCRWindowHierarchyHandlerTest.cpp: Commented out FindXRCNode(). * src/swWxGuiTesting/swCRWindowHierarchyHandler.cpp (CRWindowHierarchyHandler::CRWindowHierarchyHandler): Added wxMDIParentFrame and wxMDIChildFrame to m_contMap. 2008-01-12 John Ralls <john@manjusri.local> * src/swWxGuiTesting/swCRWindowHierarchyHandler.cpp (CRWindowHierarchyHandler::FindContainerName): Or maybe we'll just dump this whole XRC parsing thing altogether as a waste of time. * src/swWxGuiTesting/swCRXRCResource.h: Changed nodelist to a vector, since it used vector, not list, semantics. * src/swWxGuiTesting/swCRXRCReader.cpp (CRXRCReader::GetResource): Removed working with directories: This has been moved up to CRWindowHierarchyHandler. * src/swWxGuiTesting/swCRXRCObject.h: * src/swWxGuiTesting/swCRXRCReader.h: * src/swWxGuiTesting/swCRXRCResource.h: * src/swWxGuiTesting/swCRXRCNode.h: * include/wxGuiTest/swCRWindowHierarchyHandler.h: Replaced CRXRCObject*, CRXRCNode* and CRXRCResource* with their respective wxSharedPtr<> typedefs. 2008-01-11 John Ralls <john@manjusri.local> * include/wxGuiTest/swCRWindowHierarchyHandler.h: Replaced the use of sw::Config with an internal vector of resource sets. The resources are parsed at the time of registration using the new function registerResDir. HierarchHandler is now able to handle multiple files in multiple directories. * build/bakefile/swWxGuiTesting.bkl: Created new library target swFramework to hold code needed by the test programs but not by the library. * build/bakefile/files.bkl: Separated swFramework files into controls, which are now in group FD_TEST_SOURCES and those needed for the library, in FD_LIB_SOURCES * include/wxGuiTest/swWxGuiTestEventSimulationHelper.h * src/swWxGuiTesting/swWxGuiTestHelper.cpp * src/swWxGuiTesting/CapturedEvents/swCRTextUpdateEvent.cpp * src/swWxGuiTesting/CapturedEvents/swCRMenuSelectionEvent.h * src/swWxGuiTesting/CapturedEvents/swCRSpinCtrlUpdateEvent.h: Removed all references to swFramework * src/swWxGuiTesting/CapturedEvents/swCRMenuSelectionEvent.cpp (CRMenuSelectionEvent::Process): Refactored Process() with "Extract Method". 2007-12-28 John Ralls <john@ceridwen.fremont.ca.us> * sample/rc/custclass.xrc: * sample/rc/frame.xrc: * sample/rc/platform.xrc: Corrected class of MDIframes. * sample/myframe.cpp: * sample/ReplayTest.cpp: Fixed capitalization errors exposed in Linux. 2007-12-28 <Owner@WIDGET-2> * sample/myframe.cpp (MyFrame, OnCustomClassToolOrMenuCommand): (OnPlatformPropertyToolOrMenuCommand): Changed LoadFrame to LoadObject, which is what's needed for MDI-frames. 2007-12-20 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * swWxGuiTestTempInteractive.cpp (WxGuiTestTempInteractive::ShowCurrentGui): New unicode fix. 2007-12-23 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * swWxGuiTestTempInteractive.cpp: Rewritten to create a new dialog on every call to ShowCurrentGui. The original created a dialog on the first invocation and used it until the interactive object was destroyed, which ignored subsequent calls with filename and line # so the original filename and line number were produced every time. * swWxGuiTestTempInteractive.h: Added the warning notice for the TEMP_INTERACTIVE_GUI_TEST macro.
2008-01-21 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swWxGuiTestProvokedWarningRegistry.cpp (WxGuiTestProvokedWarningRegistry::FindRegisteredWarning): Now ignores message if it's empty and compares it otherwise. * include/wxGuiTest/swWxGuiTestProvokedWarning.h: Changed m_message from pointer (incredibly dangerous) to a string. 2008-01-20 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * test/CppGuiTest/swCRWindowHierarchyHandlerTest.h: Deleted function testFindWindowContainer() because there is no corresponding function in CRWindowHierarchyHandler. 2008-01-19 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swCRCppEmitter.cpp (CRCppEmitter::SetTestCaseFileContext): Tightened up another rambling loop. * src/swWxGuiTesting/VtkWxGuiTesting/swCRVtkCaptureControl.cpp (CRVtkCaptureControl::OnAddWxVtkRecording): Corrected double use of the same iterator. * src/swWxGuiTesting/swWxGuiTestProvokedWarningRegistry.cpp (WxGuiTestProvokedWarningRegistry::FindRegisteredWarning): Collapsed overly complicated loop & fixed failure to test warning message against the parameter. * src/swWxGuiTesting/swWxGuiTestApp.cpp: Imported necessary functions from swApp; changed references to sw::App and sw::PseudoApp to wxApp. 2008-01-17 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swFrameworkDependent/Widget/swTreeCtrl.cpp: * src/swFrameworkDependent/Widget/swSpinCtrlDouble.cpp: * src/swFrameworkDependent/Widget/swNewBitmapButton.cpp: Updated to reflect move of headers back to sourcedir. * src/swWxGuiTesting/CapturedEvents/swCRSpinCtrlUpdateEvent.cpp (CRSpinCtrlUpdateEvent::Process): * src/swWxGuiTesting/CapturedEvents/swCRTreeItemRightClickEvent.cpp (CRTreeItemRightClickEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRRadioBoxSelectionEvent.cpp (CRRadioBoxSelectionEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRTreeSelectionChangingEvent.cpp (CRTreeSelectionChangingEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRTextUpdateEvent.cpp (CRTextUpdateEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRSliderUpdateEvent.cpp (CRSliderUpdateEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRChoiceSelectionEvent.cpp (CRChoiceSelectionEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRCheckBoxClickEvent.cpp (CRCheckBoxClickEvent::EmitCpp): * src/swWxGuiTesting/CapturedEvents/swCRButtonClickEvent.cpp (CRButtonClickEvent::Process): Commented out XRC checks, use of m_isXRC, fixed missing _T() in emitted string, corrected member initialization where required. 2008-01-15 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * src/swWxGuiTesting/swWxGuiTestEventSimulationHelper.cpp (WxGuiTestEventSimulationHelper::GetNthTreeChild): Copied this from swTreeCtrl, needed by CRTreeSelectionChangingEvent. * include/wxGuiTest/swCRWindowHierarchyHandler.h (FindContainerName): Deleted no-longer-needed parameter isUnknownCtrl. 2008-01-13 John Ralls <john@manjusri.local> * test/VtkTest/swCRVtkCaptureTest.cpp: * test/CppGuiTest/swCRWindowHierarchyHandlerTest.cpp: * test/CppGuiTest/swCRCaptureTest.cpp: * test/CppGuiTest/swCapturePlusEmittingTest.cpp: Removed (well, commented out) all references to swSpinCtrlDbl and swConfig*. * test/CppGuiTest/swCRWindowHierarchyHandlerTest.cpp: Commented out FindXRCNode(). * src/swWxGuiTesting/swCRWindowHierarchyHandler.cpp (CRWindowHierarchyHandler::CRWindowHierarchyHandler): Added wxMDIParentFrame and wxMDIChildFrame to m_contMap. 2008-01-12 John Ralls <john@manjusri.local> * src/swWxGuiTesting/swCRWindowHierarchyHandler.cpp (CRWindowHierarchyHandler::FindContainerName): Or maybe we'll just dump this whole XRC parsing thing altogether as a waste of time. * src/swWxGuiTesting/swCRXRCResource.h: Changed nodelist to a vector, since it used vector, not list, semantics. * src/swWxGuiTesting/swCRXRCReader.cpp (CRXRCReader::GetResource): Removed working with directories: This has been moved up to CRWindowHierarchyHandler. * src/swWxGuiTesting/swCRXRCObject.h: * src/swWxGuiTesting/swCRXRCReader.h: * src/swWxGuiTesting/swCRXRCResource.h: * src/swWxGuiTesting/swCRXRCNode.h: * include/wxGuiTest/swCRWindowHierarchyHandler.h: Replaced CRXRCObject*, CRXRCNode* and CRXRCResource* with their respective wxSharedPtr<> typedefs. 2008-01-11 John Ralls <john@manjusri.local> * include/wxGuiTest/swCRWindowHierarchyHandler.h: Replaced the use of sw::Config with an internal vector of resource sets. The resources are parsed at the time of registration using the new function registerResDir. HierarchHandler is now able to handle multiple files in multiple directories. * build/bakefile/swWxGuiTesting.bkl: Created new library target swFramework to hold code needed by the test programs but not by the library. * build/bakefile/files.bkl: Separated swFramework files into controls, which are now in group FD_TEST_SOURCES and those needed for the library, in FD_LIB_SOURCES * include/wxGuiTest/swWxGuiTestEventSimulationHelper.h * src/swWxGuiTesting/swWxGuiTestHelper.cpp * src/swWxGuiTesting/CapturedEvents/swCRTextUpdateEvent.cpp * src/swWxGuiTesting/CapturedEvents/swCRMenuSelectionEvent.h * src/swWxGuiTesting/CapturedEvents/swCRSpinCtrlUpdateEvent.h: Removed all references to swFramework * src/swWxGuiTesting/CapturedEvents/swCRMenuSelectionEvent.cpp (CRMenuSelectionEvent::Process): Refactored Process() with "Extract Method". 2007-12-28 John Ralls <john@ceridwen.fremont.ca.us> * sample/rc/custclass.xrc: * sample/rc/frame.xrc: * sample/rc/platform.xrc: Corrected class of MDIframes. * sample/myframe.cpp: * sample/ReplayTest.cpp: Fixed capitalization errors exposed in Linux. 2007-12-28 <Owner@WIDGET-2> * sample/myframe.cpp (MyFrame, OnCustomClassToolOrMenuCommand): (OnPlatformPropertyToolOrMenuCommand): Changed LoadFrame to LoadObject, which is what's needed for MDI-frames. 2007-12-20 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * swWxGuiTestTempInteractive.cpp (WxGuiTestTempInteractive::ShowCurrentGui): New unicode fix. 2007-12-23 John Ralls <john@manjusri.ceridwen.fremont.ca.us> * swWxGuiTestTempInteractive.cpp: Rewritten to create a new dialog on every call to ShowCurrentGui. The original created a dialog on the first invocation and used it until the interactive object was destroyed, which ignored subsequent calls with filename and line # so the original filename and line number were produced every time. * swWxGuiTestTempInteractive.h: Added the warning notice for the TEMP_INTERACTIVE_GUI_TEST macro.
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: