~osomon/oxide/bug1290821

« back to all changes in this revision

Viewing changes to qt/tests/qmltests/api/tst_WebFrame_tree.qml

  • Committer: Chris Coulson
  • Date: 2014-02-20 16:07:31 UTC
  • Revision ID: chris.coulson@canonical.com-20140220160731-lumlikl0e3y1jh2v
Fix a test failure caused by the last change

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    function verify_tree() {
55
55
      compare(webView.rootFrame.parentFrame, null,
56
56
              "Root frame should have no parent");
57
 
      compare(Utils.qObjectParent(webView.rootFrame), webView,
 
57
      compare(OxideTestingUtils.qObjectParent(webView.rootFrame), webView,
58
58
              "Root frame should be a qobject child of the webview");
59
59
 
60
60
      var queue = [];
65
65
        for (var i = 0; i < frame.childFrames.length; ++i) {
66
66
          compare(frame.childFrames[i].parentFrame, frame,
67
67
                  "Incorrect parent");
68
 
          compare(Utils.qObjectParent(frame.childFrames[i]), frame,
 
68
          compare(OxideTestingUtils.qObjectParent(frame.childFrames[i]), frame,
69
69
                  "Incorrect qobject parent");
70
70
          queue.push(frame.childFrames[i]);
71
71
        }