mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
DatabasePersistable tests WIP
This commit is contained in:
1 parent
ed80d02ee0
commit
de4a86ca50
2 files changed
+21
No files matched your search
@@ -115,6 +115,9 @@ class DatabasePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// MARK: - PersistablePerson
|
||||
|
||||
func testInsertPersistablePerson() {
|
||||
assertNoError {
|
||||
try dbQueue.inDatabase { db in
|
||||
@@ -141,6 +144,9 @@ class DatabasePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// MARK: - PersistablePersonClass
|
||||
|
||||
func testInsertPersistablePersonClass() {
|
||||
assertNoError {
|
||||
try dbQueue.inDatabase { db in
|
||||
@@ -245,6 +251,9 @@ class DatabasePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// MARK: - PersistableCountry
|
||||
|
||||
func testInsertPersistableCountry() {
|
||||
assertNoError {
|
||||
try dbQueue.inDatabase { db in
|
||||
@@ -349,6 +358,9 @@ class DatabasePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// MARK: - PersistableCustomizedCountry
|
||||
|
||||
func testInsertPersistableCustomizedCountry() {
|
||||
assertNoError {
|
||||
try dbQueue.inDatabase { db in
|
||||
|
||||
@@ -108,6 +108,9 @@ class MutableDatabasePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// MARK: - MutablePersistablePerson
|
||||
|
||||
func testInsertMutablePersistablePerson() {
|
||||
assertNoError {
|
||||
try dbQueue.inDatabase { db in
|
||||
@@ -212,6 +215,9 @@ class MutableDatabasePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// MARK: - MutablePersistableCountry
|
||||
|
||||
func testInsertMutablePersistableCountry() {
|
||||
assertNoError {
|
||||
try dbQueue.inDatabase { db in
|
||||
@@ -316,6 +322,9 @@ class MutableDatabasePersistableTests: GRDBTestCase {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// MARK: - MutablePersistableCustomizedCountry
|
||||
|
||||
func testInsertMutablePersistableCustomizedCountry() {
|
||||
assertNoError {
|
||||
try dbQueue.inDatabase { db in
|
||||
|
||||
Reference in new issue
Block a user