Rename tests/waitforpaint.h into just waitfor.h
No changes yet, just prepare for adding more "waiting" helpers.
This commit is contained in:
parent
3f2b7f6bdb
commit
55e074f5bc
6 changed files with 9 additions and 9 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
#include "wx/stopwatch.h"
|
#include "wx/stopwatch.h"
|
||||||
#endif // __WXGTK__
|
#endif // __WXGTK__
|
||||||
|
|
||||||
#include "waitforpaint.h"
|
#include "waitfor.h"
|
||||||
|
|
||||||
// To disable tests which work locally, but not when run on GitHub CI.
|
// To disable tests which work locally, but not when run on GitHub CI.
|
||||||
#if defined(__WXGTK__) && !defined(__WXGTK3__)
|
#if defined(__WXGTK__) && !defined(__WXGTK3__)
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@
|
||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
|
|
||||||
#include "testfile.h"
|
#include "testfile.h"
|
||||||
#include "waitforpaint.h"
|
#include "waitfor.h"
|
||||||
|
|
||||||
static const wxSize s_dcSize(260, 300);
|
static const wxSize s_dcSize(260, 300);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#include "wx/dcclient.h"
|
#include "wx/dcclient.h"
|
||||||
|
|
||||||
#include "testfile.h"
|
#include "testfile.h"
|
||||||
#include "waitforpaint.h"
|
#include "waitfor.h"
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
// Name: tests/waitforpaint.h
|
// Name: tests/waitfor.h
|
||||||
// Purpose: Helper WaitForPaint class
|
// Purpose: Helper WaitForPaint class
|
||||||
// Author: Vadim Zeitlin
|
// Author: Vadim Zeitlin
|
||||||
// Created: 2019-10-17 (extracted from tests/window/setsize.cpp)
|
// Created: 2019-10-17 (extracted from tests/window/setsize.cpp)
|
||||||
// Copyright: (c) 2019 Vadim Zeitlin <vadim@wxwidgets.org>
|
// Copyright: (c) 2019 Vadim Zeitlin <vadim@wxwidgets.org>
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifndef _WX_TESTS_WAITFORPAINT_H_
|
#ifndef _WX_TESTS_WAITFOR_H_
|
||||||
#define _WX_TESTS_WAITFORPAINT_H_
|
#define _WX_TESTS_WAITFOR_H_
|
||||||
|
|
||||||
#include "wx/stopwatch.h"
|
#include "wx/stopwatch.h"
|
||||||
#include "wx/window.h"
|
#include "wx/window.h"
|
||||||
|
|
@ -99,4 +99,4 @@ public:
|
||||||
|
|
||||||
#endif // __WXGTK__/!__WXGTK__
|
#endif // __WXGTK__/!__WXGTK__
|
||||||
|
|
||||||
#endif // _WX_TESTS_WAITFORPAINT_H_
|
#endif // _WX_TESTS_WAITFOR_H_
|
||||||
|
|
@ -21,7 +21,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "asserthelper.h"
|
#include "asserthelper.h"
|
||||||
#include "waitforpaint.h"
|
#include "waitfor.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// tests themselves
|
// tests themselves
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "asserthelper.h"
|
#include "asserthelper.h"
|
||||||
#include "waitforpaint.h"
|
#include "waitfor.h"
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// tests helpers
|
// tests helpers
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue