aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/PostgresKit/Resources
diff options
context:
space:
mode:
Diffstat (limited to 'Frameworks/PostgresKit/Resources')
-rw-r--r--Frameworks/PostgresKit/Resources/TestData.sql5
-rw-r--r--Frameworks/PostgresKit/Resources/Tests-Info.plist22
2 files changed, 25 insertions, 2 deletions
diff --git a/Frameworks/PostgresKit/Resources/TestData.sql b/Frameworks/PostgresKit/Resources/TestData.sql
index 1aea4908..036ce4f2 100644
--- a/Frameworks/PostgresKit/Resources/TestData.sql
+++ b/Frameworks/PostgresKit/Resources/TestData.sql
@@ -41,7 +41,7 @@ INSERT INTO data_types (
timetz_field,
timstamp_field,
timestamptz_field)
-VALUES (
+SELECT
12345,
2,
TRUE,
@@ -52,7 +52,8 @@ VALUES (
'02:02:02',
'02:02:02 GMT',
'08-04-1987 02:02:02',
- '08-04-1987 02:02:02 GMT');
+ '08-04-1987 02:02:02 GMT'
+WHERE NOT EXISTS (SELECT 1 FROM data_types WHERE int_field = 12345);
COMMIT;
diff --git a/Frameworks/PostgresKit/Resources/Tests-Info.plist b/Frameworks/PostgresKit/Resources/Tests-Info.plist
new file mode 100644
index 00000000..38648be0
--- /dev/null
+++ b/Frameworks/PostgresKit/Resources/Tests-Info.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleExecutable</key>
+ <string>PostgresKit</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.google.code.sequel-pro.postgreskit.tests</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundlePackageType</key>
+ <string>BNDL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>1.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>1</string>
+</dict>
+</plist>