daily pastebin goal
2%
SHARE
TWEET

Untitled

a guest Jun 25th, 2018 167 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. From b9da14bc5a24f7c4ea7e86d02cba60e6af6211aa Mon Sep 17 00:00:00 2001
  2. From: Balazs Kelemen <kbalazs@webkit.org>
  3. Date: Fri, 1 Oct 2010 14:36:03 +0200
  4. Subject: [PATCH] [Qt] Setting up WebKitTestRunner build
  5.  
  6. ---
  7.  DerivedSources.pro                                 |    1 +
  8.  WebKit.pro                                         |    1 +
  9.  WebKit2/DerivedSources.pro                         |    2 +-
  10.  WebKit2/UIProcess/API/C/WebKit2.h                  |    2 +-
  11.  WebKit2/WebKit2.pro                                |    2 +
  12.  WebKit2/generate-forwarding-headers.pl             |    4 +-
  13.  WebKitTools/Scripts/webkitdirs.pm                  |    1 +
  14.  WebKitTools/WebKitTestRunner/PlatformWebView.h     |    5 +-
  15.  WebKitTools/WebKitTestRunner/qt/DerivedSources.pro |   18 +++++
  16.  .../WebKitTestRunner/qt/PlatformWebViewQt.cpp      |   70 ++++++++++++++++++++
  17.  .../WebKitTestRunner/qt/TestControllerQt.cpp       |   61 +++++++++++++++++
  18.  .../WebKitTestRunner/qt/WebKitTestRunner.pro       |   67 +++++++++++++++++++
  19.  WebKitTools/WebKitTestRunner/qt/main.cpp           |   34 ++++++++++
  20.  13 files changed, 264 insertions(+), 4 deletions(-)
  21.  create mode 100644 WebKitTools/WebKitTestRunner/qt/DerivedSources.pro
  22.  create mode 100644 WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
  23.  create mode 100644 WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp
  24.  create mode 100644 WebKitTools/WebKitTestRunner/qt/WebKitTestRunner.pro
  25.  create mode 100644 WebKitTools/WebKitTestRunner/qt/main.cpp
  26.  
  27. diff --git a/DerivedSources.pro b/DerivedSources.pro
  28. index 880a716..0015af6 100644
  29. --- a/DerivedSources.pro
  30. +++ b/DerivedSources.pro
  31. @@ -8,6 +8,7 @@ SUBDIRS += \
  32.  
  33.  webkit2 {
  34.      SUBDIRS += WebKit2/DerivedSources.pro
  35. +    SUBDIRS += WebKitTools/WebKitTestRunner/qt/DerivedSources.pro
  36.  }
  37.  
  38.  for(subpro, SUBDIRS) {
  39. diff --git a/WebKit.pro b/WebKit.pro
  40. index 9fd9c2e..898a4ec 100644
  41. --- a/WebKit.pro
  42. +++ b/WebKit.pro
  43. @@ -33,6 +33,7 @@ build-qtscript {
  44.  webkit2 {
  45.      exists($$PWD/WebKit2/WebProcess.pro): SUBDIRS += WebKit2/WebProcess.pro
  46.      exists($$PWD/WebKitTools/MiniBrowser/qt/MiniBrowser.pro): SUBDIRS += WebKitTools/MiniBrowser/qt/MiniBrowser.pro
  47. +    exists($$PWD/WebKitTools/WebKitTestRunner/qt/WebKitTestRunner.pro): SUBDIRS += WebKitTools/WebKitTestRunner/qt/WebKitTestRunner.pro
  48.  }
  49.  
  50.  symbian {
  51. diff --git a/WebKit2/DerivedSources.pro b/WebKit2/DerivedSources.pro
  52. index 3560878..90ebfac 100644
  53. --- a/WebKit2/DerivedSources.pro
  54. +++ b/WebKit2/DerivedSources.pro
  55. @@ -52,7 +52,7 @@ messagereceiver_generator.target   = $${OUTPUT_DIR}/WebKit2/generated/WebPageMes
  56.  generated_files.depends            += messagereceiver_generator
  57.  QMAKE_EXTRA_TARGETS                += messagereceiver_generator
  58.  
  59. -fwheader_generator.commands = perl $${SRC_ROOT_DIR}/WebKit2/generate-forwarding-headers.pl $${OUTPUT_DIR}/include qt
  60. +fwheader_generator.commands = perl $${SRC_ROOT_DIR}/WebKit2/generate-forwarding-headers.pl $${SRC_ROOT_DIR}/WebKit2 $${OUTPUT_DIR}/include qt
  61.  fwheader_generator.depends  = $${SRC_ROOT_DIR}/WebKit2/generate-forwarding-headers.pl
  62.  generated_files.depends     += fwheader_generator
  63.  QMAKE_EXTRA_TARGETS         += fwheader_generator
  64. diff --git a/WebKit2/UIProcess/API/C/WebKit2.h b/WebKit2/UIProcess/API/C/WebKit2.h
  65. index 74e1f8c..88022d8 100644
  66. --- a/WebKit2/UIProcess/API/C/WebKit2.h
  67. +++ b/WebKit2/UIProcess/API/C/WebKit2.h
  68. @@ -50,7 +50,7 @@
  69.  #include <WebKit2/WKURLRequest.h>
  70.  #include <WebKit2/WKURLResponse.h>
  71.  
  72. -#if !__APPLE__ || __OBJC__
  73. +#if (!defined(__APPLE__) || !__APPLE__) || (defined(__OBJC__) && __OBJC__)
  74.  #include <WebKit2/WKView.h>
  75.  #endif
  76.  
  77. diff --git a/WebKit2/WebKit2.pro b/WebKit2/WebKit2.pro
  78. index 5f1731b..c9189a5 100644
  79. --- a/WebKit2/WebKit2.pro
  80. +++ b/WebKit2/WebKit2.pro
  81. @@ -209,6 +209,7 @@ HEADERS += \
  82.      UIProcess/API/C/WKPageNamespace.h \
  83.      UIProcess/API/C/WKPagePrivate.h \
  84.      UIProcess/API/C/WKPreferences.h \
  85. +    UIProcess/API/C/WKPreferencesPrivate.h \
  86.      UIProcess/API/cpp/qt/WKStringQt.h \
  87.      UIProcess/API/cpp/qt/WKURLQt.h \
  88.      UIProcess/API/cpp/WKRetainPtr.h \
  89. @@ -333,6 +334,7 @@ SOURCES += \
  90.      UIProcess/API/C/WKPage.cpp \
  91.      UIProcess/API/C/WKPageNamespace.cpp \
  92.      UIProcess/API/C/WKPreferences.cpp \
  93. +    UIProcess/API/C/WKPreferencesPrivate.cpp \
  94.      UIProcess/API/qt/ClientImpl.cpp \
  95.      UIProcess/API/qt/qgraphicswkview.cpp \
  96.      UIProcess/API/qt/qwkpage.cpp \
  97. diff --git a/WebKit2/generate-forwarding-headers.pl b/WebKit2/generate-forwarding-headers.pl
  98. index e836fa4..bb6a14f 100755
  99. --- a/WebKit2/generate-forwarding-headers.pl
  100. +++ b/WebKit2/generate-forwarding-headers.pl
  101. @@ -33,6 +33,7 @@ use File::Basename;
  102.  use File::Spec::Functions;
  103.  
  104.  my $srcRoot = realpath(File::Spec->catfile(dirname(abs_path($0)), ".."));
  105. +my $incRoot = abs_path($ARGV[0]);
  106.  my @platformPrefixes = ("android", "brew", "cf", "chromium", "curl", "efl", "gtk", "haiku", "mac", "qt", "soup", "v8", "win", "wx");
  107.  my @frameworks = ( "JavaScriptCore", "WebCore", "WebKit2");
  108.  my @skippedPrefixes;
  109. @@ -40,6 +41,7 @@ my @frameworkHeaders;
  110.  my $framework;
  111.  my %neededHeaders;
  112.  
  113. +shift;
  114.  my $outputDirectory = $ARGV[0];
  115.  shift;
  116.  my $platform  = $ARGV[0];
  117. @@ -50,7 +52,7 @@ foreach my $prefix (@platformPrefixes) {
  118.  
  119.  foreach (@frameworks) {
  120.      $framework = $_;
  121. -    find(\&collectNeededHeaders, File::Spec->catfile($srcRoot, "WebKit2"));
  122. +    find(\&collectNeededHeaders, $incRoot);
  123.      find(\&collectFameworkHeaderPaths, File::Spec->catfile($srcRoot, $framework));
  124.      createForwardingHeadersForFramework();
  125.  }
  126. diff --git a/WebKitTools/Scripts/webkitdirs.pm b/WebKitTools/Scripts/webkitdirs.pm
  127. index 94ad556..0218e1f 100644
  128. --- a/WebKitTools/Scripts/webkitdirs.pm
  129. +++ b/WebKitTools/Scripts/webkitdirs.pm
  130. @@ -1530,6 +1530,7 @@ sub buildQMakeProject($@)
  131.      my @subdirs = ("JavaScriptCore", "WebCore", "WebKit/qt/Api");
  132.      if (grep { $_ eq "CONFIG+=webkit2"} @buildArgs) {
  133.          push @subdirs, "WebKit2";
  134. +        push @subdirs, "WebKitTools/WebKitTestRunner/qt";
  135.      }
  136.  
  137.      for my $subdir (@subdirs) {
  138. diff --git a/WebKitTools/WebKitTestRunner/PlatformWebView.h b/WebKitTools/WebKitTestRunner/PlatformWebView.h
  139. index 29c63ae..8aa579a 100644
  140. --- a/WebKitTools/WebKitTestRunner/PlatformWebView.h
  141. +++ b/WebKitTools/WebKitTestRunner/PlatformWebView.h
  142. @@ -26,7 +26,7 @@
  143.  #ifndef PlatformWebView_h
  144.  #define PlatformWebView_h
  145.  
  146. -#if __APPLE__
  147. +#if defined(__APPLE__) && __APPLE__
  148.  #if __OBJC__
  149.  @class WKView;
  150.  @class NSWindow;
  151. @@ -39,6 +39,9 @@ typedef NSWindow* PlatformWindow;
  152.  #elif defined(WIN32) || defined(_WIN32)
  153.  typedef WKViewRef PlatformWKView;
  154.  typedef HWND PlatformWindow;
  155. +#elif defined(BUILDING_QT__)
  156. +typedef QGraphicsWKView* PlatformWKView;
  157. +typedef QGraphicsWidget* PlatformWindow;
  158.  #endif
  159.  
  160.  namespace WTR {
  161. diff --git a/WebKitTools/WebKitTestRunner/qt/DerivedSources.pro b/WebKitTools/WebKitTestRunner/qt/DerivedSources.pro
  162. new file mode 100644
  163. index 0000000..52dedd3
  164. --- /dev/null
  165. +++ b/WebKitTools/WebKitTestRunner/qt/DerivedSources.pro
  166. @@ -0,0 +1,18 @@
  167. +TEMPLATE = lib
  168. +TARGET = dummy
  169. +
  170. +CONFIG -= debug_and_release
  171. +
  172. +SRC_ROOT_DIR = $$replace(PWD, /WebKitTools/WebKitTestRunner/qt, /)
  173. +
  174. +wtr_fwheader_generator.commands = perl $${SRC_ROOT_DIR}/WebKit2/generate-forwarding-headers.pl $${SRC_ROOT_DIR}/WebKitTools/WebKitTestRunner $${OUTPUT_DIR}/include qt
  175. +wtr_fwheader_generator.depends  = $${SRC_ROOT_DIR}/WebKit2/generate-forwarding-headers.pl
  176. +generated_files.depends     += wtr_fwheader_generator
  177. +QMAKE_EXTRA_TARGETS         += wtr_fwheader_generator
  178. +
  179. +jsc_fwheader_generator.commands = perl $${SRC_ROOT_DIR}/WebKit2/generate-forwarding-headers.pl $${SRC_ROOT_DIR}/JavaScriptCore/API $${OUTPUT_DIR}/include qt
  180. +jsc_fwheader_generator.depends  = $${SRC_ROOT_DIR}/WebKit2/generate-forwarding-headers.pl
  181. +generated_files.depends     += jsc_fwheader_generator
  182. +QMAKE_EXTRA_TARGETS         += jsc_fwheader_generator
  183. +
  184. +QMAKE_EXTRA_TARGETS        += generated_files
  185. diff --git a/WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp b/WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
  186. new file mode 100644
  187. index 0000000..7ce9c7b
  188. --- /dev/null
  189. +++ b/WebKitTools/WebKitTestRunner/qt/PlatformWebViewQt.cpp
  190. @@ -0,0 +1,70 @@
  191. +/*
  192. + * Copyright (C) 2010 Apple Inc. All rights reserved.
  193. + * Copyright (C) 2010 University of Szeged. All rights reserved.
  194. + *
  195. + * Redistribution and use in source and binary forms, with or without
  196. + * modification, are permitted provided that the following conditions
  197. + * are met:
  198. + * 1. Redistributions of source code must retain the above copyright
  199. + *    notice, this list of conditions and the following disclaimer.
  200. + * 2. Redistributions in binary form must reproduce the above copyright
  201. + *    notice, this list of conditions and the following disclaimer in the
  202. + *    documentation and/or other materials provided with the distribution.
  203. + *
  204. + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  205. + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  206. + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  207. + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  208. + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  209. + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  210. + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  211. + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  212. + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  213. + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  214. + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  215. + */
  216. +
  217. +#include "PlatformWebView.h"
  218. +#include "NotImplemented.h"
  219. +
  220. +namespace WTR {
  221. +
  222. +static void registerWindowClass()
  223. +{
  224. +    // Implement
  225. +    notImplemented();
  226. +}
  227. +
  228. +PlatformWebView::PlatformWebView(WKPageNamespaceRef namespaceRef)
  229. +{
  230. +    registerWindowClass();
  231. +
  232. +    // Implement
  233. +    notImplemented();
  234. +}
  235. +
  236. +PlatformWebView::~PlatformWebView()
  237. +{
  238. +    // Implement
  239. +}
  240. +
  241. +void PlatformWebView::resizeTo(unsigned width, unsigned height)
  242. +{
  243. +    // Implement
  244. +    notImplemented();
  245. +}
  246. +
  247. +WKPageRef PlatformWebView::page()
  248. +{
  249. +    // Implement
  250. +    notImplemented();
  251. +    return 0;
  252. +}
  253. +
  254. +void PlatformWebView::focus()
  255. +{
  256. +    // Implement
  257. +    notImplemented();
  258. +}
  259. +
  260. +} // namespace WTR
  261. diff --git a/WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp b/WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp
  262. new file mode 100644
  263. index 0000000..9e35a1e
  264. --- /dev/null
  265. +++ b/WebKitTools/WebKitTestRunner/qt/TestControllerQt.cpp
  266. @@ -0,0 +1,61 @@
  267. +/*
  268. + * Copyright (C) 2010 Apple Inc. All rights reserved.
  269. + * Copyright (C) 2010 University of Szeged. All rights reserved.
  270. + *
  271. + * Redistribution and use in source and binary forms, with or without
  272. + * modification, are permitted provided that the following conditions
  273. + * are met:
  274. + * 1. Redistributions of source code must retain the above copyright
  275. + *    notice, this list of conditions and the following disclaimer.
  276. + * 2. Redistributions in binary form must reproduce the above copyright
  277. + *    notice, this list of conditions and the following disclaimer in the
  278. + *    documentation and/or other materials provided with the distribution.
  279. + *
  280. + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  281. + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  282. + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  283. + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  284. + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  285. + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  286. + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  287. + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  288. + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  289. + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  290. + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  291. + */
  292. +
  293. +#include "TestController.h"
  294. +#include "NotImplemented.h"
  295. +
  296. +namespace WTR {
  297. +
  298. +static void registerWindowClass()
  299. +{
  300. +    notImplemented();
  301. +}
  302. +
  303. +void TestController::runUntil(bool& done)
  304. +{
  305. +    notImplemented();
  306. +}
  307. +void TestController::platformInitialize()
  308. +{
  309. +    notImplemented();
  310. +}
  311. +
  312. +void TestController::initializeInjectedBundlePath()
  313. +{
  314. +    notImplemented();
  315. +}
  316. +
  317. +void TestController::initializeTestPluginDirectory()
  318. +{
  319. +    notImplemented();
  320. +}
  321. +
  322. +void TestController::platformInitializeContext()
  323. +{
  324. +    notImplemented();
  325. +}
  326. +
  327. +} // namespace WTR
  328. diff --git a/WebKitTools/WebKitTestRunner/qt/WebKitTestRunner.pro b/WebKitTools/WebKitTestRunner/qt/WebKitTestRunner.pro
  329. new file mode 100644
  330. index 0000000..d62a3a2
  331. --- /dev/null
  332. +++ b/WebKitTools/WebKitTestRunner/qt/WebKitTestRunner.pro
  333. @@ -0,0 +1,67 @@
  334. +TARGET = WebKitTestRunner
  335. +CONFIG -= app_bundle
  336. +
  337. +BASEDIR = $$PWD/../
  338. +isEmpty(OUTPUT_DIR): OUTPUT_DIR = ../../..
  339. +
  340. +include(../../../WebKit.pri)
  341. +
  342. +!CONFIG(release, debug|release) {
  343. +    OBJECTS_DIR = obj/debug
  344. +} else { # Release
  345. +    OBJECTS_DIR = obj/release
  346. +    DEFINES += NDEBUG
  347. +}
  348. +
  349. +DEFINES += USE_SYSTEM_MALLOC
  350. +
  351. +INCLUDEPATH += \
  352. +    $$BASEDIR \
  353. +    $$BASEDIR/../../JavaScriptCore \
  354. +    $$BASEDIR/../../WebKit2 \
  355. +    $$BASEDIR/../../WebKit2/Shared \
  356. +
  357. +INCLUDEPATH += \
  358. +    $$OUTPUT_DIR/include \
  359. +
  360. +
  361. +DESTDIR = $$OUTPUT_DIR/bin
  362. +
  363. +unix:!mac {
  364. +    CONFIG += link_pkgconfig
  365. +    PKGCONFIG += fontconfig
  366. +}
  367. +
  368. +QT = core gui network
  369. +
  370. +HEADERS = \
  371. +    $$BASEDIR/PlatformWebView.h \
  372. +    $$BASEDIR/StringFunctions.h \
  373. +    $$BASEDIR/TestController.h \
  374. +    $$BASEDIR/TestInvocation.h
  375. +
  376. +SOURCES = \
  377. +    main.cpp \
  378. +    PlatformWebViewQt.cpp \
  379. +    TestControllerQt.cpp \
  380. +    $$BASEDIR/TestController.cpp \
  381. +    $$BASEDIR/TestInvocation.cpp \
  382. +
  383. +PREFIX_HEADER = $$BASEDIR/WebKitTestRunnerPrefix.h
  384. +QMAKE_CXXFLAGS += "-include $$PREFIX_HEADER"
  385. +
  386. +linux-* {
  387. +    # From Creator's src/rpath.pri:
  388. +    # Do the rpath by hand since it's not possible to use ORIGIN in QMAKE_RPATHDIR
  389. +    # this expands to $ORIGIN (after qmake and make), it does NOT read a qmake var.
  390. +    QMAKE_RPATHDIR = \$\$ORIGIN/../lib $$QMAKE_RPATHDIR
  391. +    MY_RPATH = $$join(QMAKE_RPATHDIR, ":")
  392. +
  393. +    QMAKE_LFLAGS += -Wl,-z,origin \'-Wl,-rpath,$${MY_RPATH}\'
  394. +    QMAKE_RPATHDIR =
  395. +} else {
  396. +    QMAKE_RPATHDIR = $$OUTPUT_DIR/lib $$QMAKE_RPATHDIR
  397. +}
  398. +
  399. +include($$BASE_DIR/JavaScriptCore/JavaScriptCore.pri)
  400. +addJavaScriptCoreLib(../../../JavaScriptCore)
  401. diff --git a/WebKitTools/WebKitTestRunner/qt/main.cpp b/WebKitTools/WebKitTestRunner/qt/main.cpp
  402. new file mode 100644
  403. index 0000000..2523f51
  404. --- /dev/null
  405. +++ b/WebKitTools/WebKitTestRunner/qt/main.cpp
  406. @@ -0,0 +1,34 @@
  407. +/*
  408. + * Copyright (C) 2010 Apple Inc. All rights reserved.
  409. + * Copyright (C) 2010 University of Szeged.
  410. + *
  411. + * Redistribution and use in source and binary forms, with or without
  412. + * modification, are permitted provided that the following conditions
  413. + * are met:
  414. + * 1. Redistributions of source code must retain the above copyright
  415. + *    notice, this list of conditions and the following disclaimer.
  416. + * 2. Redistributions in binary form must reproduce the above copyright
  417. + *    notice, this list of conditions and the following disclaimer in the
  418. + *    documentation and/or other materials provided with the distribution.
  419. + *
  420. + * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
  421. + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  422. + * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  423. + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
  424. + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  425. + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  426. + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  427. + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  428. + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  429. + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  430. + * THE POSSIBILITY OF SUCH DAMAGE.
  431. + */
  432. +
  433. +#include "TestController.h"
  434. +
  435. +int main(int argc, const char* argv[])
  436. +{
  437. +    WTR::TestController controller(argc, argv);
  438. +
  439. +    return 0;
  440. +}
  441. --
  442. 1.6.5
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top