From 268ad79759f75a25b7b192fc27283a6f1f446bb0 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 23 Feb 2017 09:58:21 +0100 Subject: Give test project files consistent file names Having multiple project files named just "project.qbs" makes switching buffers harder in IDEs. Change-Id: I847c869292815cc534f903664eb01768f73286b1 Reviewed-by: Christian Kandeler --- tests/auto/api/testdata/simple-probe/project.qbs | 32 ---------------------- .../api/testdata/simple-probe/simple-probe.qbs | 32 ++++++++++++++++++++++ 2 files changed, 32 insertions(+), 32 deletions(-) delete mode 100644 tests/auto/api/testdata/simple-probe/project.qbs create mode 100644 tests/auto/api/testdata/simple-probe/simple-probe.qbs (limited to 'tests/auto/api/testdata/simple-probe') diff --git a/tests/auto/api/testdata/simple-probe/project.qbs b/tests/auto/api/testdata/simple-probe/project.qbs deleted file mode 100644 index 34700a99b..000000000 --- a/tests/auto/api/testdata/simple-probe/project.qbs +++ /dev/null @@ -1,32 +0,0 @@ -import qbs 1.0 -import qbs.Probes - -CppApplication { - Probe { - id: probe1 - property string someString - configure: { - someString = "one"; - found = true; - } - } - Probe { - id: probe2 - configure: { - found = false; - } - } - type: ["application"] - name: "MyApp" - consoleApplication: { - if (!probe1.found) - throw "probe1 not found"; - if (probe2.found) - throw "probe2 unexpectedly found"; - if (probe1.someString !== "one") - throw "probe1.someString expected to be \"one\"." - return true - } - files: ["main.cpp"] -} - diff --git a/tests/auto/api/testdata/simple-probe/simple-probe.qbs b/tests/auto/api/testdata/simple-probe/simple-probe.qbs new file mode 100644 index 000000000..34700a99b --- /dev/null +++ b/tests/auto/api/testdata/simple-probe/simple-probe.qbs @@ -0,0 +1,32 @@ +import qbs 1.0 +import qbs.Probes + +CppApplication { + Probe { + id: probe1 + property string someString + configure: { + someString = "one"; + found = true; + } + } + Probe { + id: probe2 + configure: { + found = false; + } + } + type: ["application"] + name: "MyApp" + consoleApplication: { + if (!probe1.found) + throw "probe1 not found"; + if (probe2.found) + throw "probe2 unexpectedly found"; + if (probe1.someString !== "one") + throw "probe1.someString expected to be \"one\"." + return true + } + files: ["main.cpp"] +} + -- cgit v1.2.3