mirror of
https://github.com/silverqx/TinyORM.git
synced 2026-01-30 14:58:30 -06:00
tests removed debug code
This commit is contained in:
@@ -1399,9 +1399,6 @@ void tst_Collection_Models::sort() const
|
||||
});
|
||||
|
||||
auto sorted = albums.sort();
|
||||
for (auto *m : sorted) {
|
||||
qDebug() << m->getKeyCasted();
|
||||
}
|
||||
QCOMPARE(typeid (sorted), typeid (ModelsCollection<Album *>));
|
||||
|
||||
ModelsCollection<Album> expectedAlbums = Orm::collect<Album>({
|
||||
@@ -1425,9 +1422,6 @@ void tst_Collection_Models::sortDesc() const
|
||||
});
|
||||
|
||||
auto sorted = albums.sortDesc();
|
||||
for (auto *m : sorted) {
|
||||
qDebug() << m->getKeyCasted();
|
||||
}
|
||||
QCOMPARE(typeid (sorted), typeid (ModelsCollection<Album *>));
|
||||
|
||||
ModelsCollection<Album> expectedAlbums = Orm::collect<Album>({
|
||||
@@ -1734,9 +1728,6 @@ void tst_Collection_Models::stableSort() const
|
||||
});
|
||||
|
||||
auto sorted = albums.stableSort();
|
||||
for (auto *m : sorted) {
|
||||
qDebug() << m->getKeyCasted();
|
||||
}
|
||||
QCOMPARE(typeid (sorted), typeid (ModelsCollection<Album *>));
|
||||
|
||||
ModelsCollection<Album> expectedAlbums = Orm::collect<Album>({
|
||||
@@ -1760,9 +1751,6 @@ void tst_Collection_Models::stableSortDesc() const
|
||||
});
|
||||
|
||||
auto sorted = albums.stableSortDesc();
|
||||
for (auto *m : sorted) {
|
||||
qDebug() << m->getKeyCasted();
|
||||
}
|
||||
QCOMPARE(typeid (sorted), typeid (ModelsCollection<Album *>));
|
||||
|
||||
ModelsCollection<Album> expectedAlbums = Orm::collect<Album>({
|
||||
|
||||
@@ -1778,9 +1778,6 @@ void tst_Collection_Relations::sort() const
|
||||
auto albumsInit = albums.toPointers();
|
||||
|
||||
auto sorted = albumsInit.sort();
|
||||
for (auto *m : sorted) {
|
||||
qDebug() << m->getKeyCasted();
|
||||
}
|
||||
QCOMPARE(typeid (sorted), typeid (ModelsCollection<Album *>));
|
||||
|
||||
ModelsCollection<Album> expectedAlbums = Orm::collect<Album>({
|
||||
@@ -1805,9 +1802,6 @@ void tst_Collection_Relations::sortDesc() const
|
||||
auto albumsInit = albums.toPointers();
|
||||
|
||||
auto sorted = albumsInit.sortDesc();
|
||||
for (auto *m : sorted) {
|
||||
qDebug() << m->getKeyCasted();
|
||||
}
|
||||
QCOMPARE(typeid (sorted), typeid (ModelsCollection<Album *>));
|
||||
|
||||
ModelsCollection<Album> expectedAlbums = Orm::collect<Album>({
|
||||
@@ -2125,9 +2119,6 @@ void tst_Collection_Relations::stableSort() const
|
||||
auto albumsInit = albums.toPointers();
|
||||
|
||||
auto sorted = albums.stableSort();
|
||||
for (auto *m : sorted) {
|
||||
qDebug() << m->getKeyCasted();
|
||||
}
|
||||
QCOMPARE(typeid (sorted), typeid (ModelsCollection<Album *>));
|
||||
|
||||
ModelsCollection<Album> expectedAlbums = Orm::collect<Album>({
|
||||
@@ -2152,9 +2143,6 @@ void tst_Collection_Relations::stableSortDesc() const
|
||||
auto albumsInit = albums.toPointers();
|
||||
|
||||
auto sorted = albums.stableSortDesc();
|
||||
for (auto *m : sorted) {
|
||||
qDebug() << m->getKeyCasted();
|
||||
}
|
||||
QCOMPARE(typeid (sorted), typeid (ModelsCollection<Album *>));
|
||||
|
||||
ModelsCollection<Album> expectedAlbums = Orm::collect<Album>({
|
||||
|
||||
Reference in New Issue
Block a user