Skip to content

Commit

Permalink
add Mac files to ignore list, mask out QxtWindowSystem tests on Mac f…
Browse files Browse the repository at this point in the history
…or now
  • Loading branch information
ahigerd committed Apr 23, 2009
1 parent dabaf25 commit 0fe0cfb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .hgignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
syntax: glob
*.pro.user
*.app
*.moc
Makefile*
debug/
release/
Expand All @@ -14,7 +17,9 @@ qtc-gdbmacros/
*.pdb
*.lib
moc_*.cpp
qrc_*.cpp
qxt.prf
modules.prf
.obj\*
*.o
*.so.*
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/gui/unit/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ void TestQxtGui::testQxtConfirmationMessage()

void TestQxtGui::testQxtWindowSystem()
{
#ifndef Q_WS_MAC
// See: demos/qxtsnapshot
WId activeId = QxtWindowSystem::activeWindow();
QString activeTitle = QxtWindowSystem::windowTitle(activeId);
Expand All @@ -142,6 +143,7 @@ void TestQxtGui::testQxtWindowSystem()
QVERIFY(foundId == atId);
QVERIFY(activeTitle == foundTitle);
QVERIFY(foundTitle == atTitle);
#endif
}

void TestQxtGui::testQxtDockWidget()
Expand Down

0 comments on commit 0fe0cfb

Please sign in to comment.