From 024fed3d496d35e0d3aa6a6aa205fcda4d8217f8 Mon Sep 17 00:00:00 2001 From: Sergio Ahumada Date: Wed, 1 Aug 2012 21:30:48 +0200 Subject: test: Re-enable tst_Headers test. The test had one stable failure which should be fixed by adding missing QT_MODULE and QT_BEGIN_NAMESPACE macros Change-Id: I10801e4c495bee66e1937a57d14019dae8b43a9d Reviewed-by: Toby Tomkins --- src/network/kernel/qnetworkfunctions_wince.h | 6 ++++++ tests/auto/headers/headers.pro | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/network/kernel/qnetworkfunctions_wince.h b/src/network/kernel/qnetworkfunctions_wince.h index 316c87e..f503cb5 100644 --- a/src/network/kernel/qnetworkfunctions_wince.h +++ b/src/network/kernel/qnetworkfunctions_wince.h @@ -46,6 +46,10 @@ QT_BEGIN_HEADER +QT_BEGIN_NAMESPACE + +QT_MODULE(Network) + DECLARE_HANDLE(SC_HANDLE); typedef enum _SC_ENUM_TYPE { SC_ENUM_PROCESS_INFO = 0 @@ -86,6 +90,8 @@ typedef ENUM_SERVICE_STATUS_PROCESSA ENUM_SERVICE_STATUS_PROCESS; typedef LPENUM_SERVICE_STATUS_PROCESSA LPENUM_SERVICE_STATUS_PROCESS; #endif // UNICODE +QT_END_NAMESPACE + QT_END_HEADER #endif // Q_OS_WINCE diff --git a/tests/auto/headers/headers.pro b/tests/auto/headers/headers.pro index a143506..c024319 100644 --- a/tests/auto/headers/headers.pro +++ b/tests/auto/headers/headers.pro @@ -3,5 +3,3 @@ CONFIG += testcase TARGET = tst_headers QT = core testlib SOURCES += tst_headers.cpp headersclean.cpp - -CONFIG+=insignificant_test # QTQAINFRA-428 -- cgit v0.12