Warning, /pim/kube/views/search/tests/tst_searchview.qml is written in an unsupported language. File is not indexed.
0001 /* 0002 * Copyright 2017 Christian Mollekopf <mollekopf@kolabsys.com> 0003 * 0004 * This program is free software; you can redistribute it and/or modify 0005 * it under the terms of the GNU Library General Public License as 0006 * published by the Free Software Foundation; either version 2, or 0007 * (at your option) any later version. 0008 * 0009 * This program is distributed in the hope that it will be useful, 0010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0012 * GNU Library General Public License for more details 0013 * 0014 * You should have received a copy of the GNU Library General Public 0015 * License along with this program; if not, write to the 0016 * Free Software Foundation, Inc., 0017 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 0018 */ 0019 0020 import QtQuick 2.7 0021 import QtTest 1.0 0022 import "../qml" 0023 import org.kube.test 1.0 0024 0025 ViewTestCase { 0026 id: testCase 0027 name: "SearchView" 0028 0029 Component { 0030 id: viewComponent 0031 View { 0032 focus: true 0033 } 0034 } 0035 0036 function test_1start() { 0037 var view = createTemporaryObject(viewComponent, testCase, {}) 0038 verify(view) 0039 } 0040 0041 }