~oxide-developers/oxide/1.3

« back to all changes in this revision

Viewing changes to qt/tests/qmltests/core/tst_CustomURLSchemes.qml

  • Committer: Olivier Tilloy
  • Date: 2014-10-28 22:09:14 UTC
  • Revision ID: olivier.tilloy@canonical.com-20141028220914-df0cy46k8qql31ci
Tags: QT_1_3_2
Delegate unhandled URL schemes to the system.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
    name: "CustomURLSchemes"
15
15
    when: windowShown
16
16
 
 
17
    function initTestCase() {
 
18
      OxideTestingUtils.setUrlHandler("test", false);
 
19
    }
 
20
 
 
21
    function cleanupTestCase() {
 
22
      OxideTestingUtils.unsetUrlHandler("test");
 
23
    }
 
24
 
17
25
    // This test loads the same text file twice - once using Chromium's file
18
26
    // protocol handler and once using a custom handler - and compares their
19
27
    // content. This is a fairly primitive test at the moment - eg, we don't test