Disable wxTE_PROCESS_ENTER unit tests under wxGTK

wxUIActionSimulator doesn't work reliably there and doesn't work at all
when using Xvfb.
This commit is contained in:
Vadim Zeitlin 2019-07-26 19:29:00 +02:00
parent ab7ba98dbc
commit bcf604b5cb

View File

@ -457,6 +457,12 @@ private:
void TestProcessEnter(TextLikeControlCreator controlCreator) void TestProcessEnter(TextLikeControlCreator controlCreator)
{ {
if ( !EnableUITests() )
{
WARN("Skipping wxTE_PROCESS_ENTER tests: wxUIActionSimulator use disabled");
return;
}
SECTION("Without wxTE_PROCESS_ENTER") SECTION("Without wxTE_PROCESS_ENTER")
{ {
TestDialog dlg(controlCreator, ProcessEnter_No); TestDialog dlg(controlCreator, ProcessEnter_No);