summaryrefslogtreecommitdiff
path: root/tests/auto/language/testdata/rfc1034identifier.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/language/testdata/rfc1034identifier.qbs')
-rw-r--r--tests/auto/language/testdata/rfc1034identifier.qbs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/language/testdata/rfc1034identifier.qbs b/tests/auto/language/testdata/rfc1034identifier.qbs
new file mode 100644
index 000000000..eb73dc4d6
--- /dev/null
+++ b/tests/auto/language/testdata/rfc1034identifier.qbs
@@ -0,0 +1,7 @@
+import qbs
+import qbs.Utilities
+
+CppApplication {
+ name: Utilities.rfc1034Identifier("this!has@special#characters$uh-oh,Undersc0r3s_Are.Bad")
+ bundle.infoPlist: { return {"CFBundleIdentifier": "$(PRODUCT_NAME:rfc1034identifier)"}; }
+}