Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
deck_list_model_zone_integration_test.cpp File Reference
#include "libcockatrice/card/database/card_database.h"
#include "libcockatrice/deck_list/tree/abstract_deck_list_node.h"
#include <QList>
#include <QModelIndex>
#include <QSharedPointer>
#include <QString>
#include <QStringList>
#include <QVariant>
#include <gtest/gtest.h>
#include <libcockatrice/card/card_info.h>
#include <libcockatrice/card/database/card_database_manager.h>
#include <libcockatrice/card/game_specific_terms.h>
#include <libcockatrice/card/printing/exact_card.h>
#include <libcockatrice/deck_list/deck_list.h>
#include <libcockatrice/deck_list/deck_list_node_tree.h>
#include <libcockatrice/deck_list/tree/deck_list_card_node.h>
#include <libcockatrice/deck_list/tree/inner_deck_list_node.h>
#include <libcockatrice/models/deck_list/deck_list_model.h>
#include <qnamespace.h>
#include <string>
Include dependency graph for deck_list_model_zone_integration_test.cpp:

Functions

 TEST (DeckListModelZoneIntegration, CreateZoneThenReadCustomZoneNames)
 TEST (DeckListModelZoneIntegration, CreateTwoZonesThenReadBoth)
 TEST (DeckListModelZoneIntegration, RebuildTreeMirrorsEachZoneOnce)
 TEST (DeckListModelZoneIntegration, AddCardRoutesIntoMirroredCustomZone)
 TEST (DeckListModelZoneIntegration, AddCardToUnmirroredCustomZoneRebuildsNotCreatesTopLevel)
 TEST (DeckListModelZoneIntegration, AddCardCreatesGroupSeparatelyFromSameNamedZone)
 TEST (DeckListModelZoneIntegration, FindCardResolvesCardInsideCustomZone)
 TEST (DeckListModelZoneIntegration, RemoveRowsRefusesCustomZoneRow)
 TEST (DeckListModelZoneIntegration, EmptyCustomZoneSurvivesMirrorAndPruning)
 TEST (DeckListModelZoneIntegration, AddCardToCardNamedZoneDoesNotRecurse)
 TEST (DeckListModelZoneIntegration, AddCardToCustomZoneWithNestedSubZoneAppends)
int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )
Here is the call graph for this function:

◆ TEST() [1/11]

TEST ( DeckListModelZoneIntegration ,
AddCardCreatesGroupSeparatelyFromSameNamedZone  )
Here is the call graph for this function:

◆ TEST() [2/11]

TEST ( DeckListModelZoneIntegration ,
AddCardRoutesIntoMirroredCustomZone  )
Here is the call graph for this function:

◆ TEST() [3/11]

TEST ( DeckListModelZoneIntegration ,
AddCardToCardNamedZoneDoesNotRecurse  )
Here is the call graph for this function:

◆ TEST() [4/11]

TEST ( DeckListModelZoneIntegration ,
AddCardToCustomZoneWithNestedSubZoneAppends  )
Here is the call graph for this function:

◆ TEST() [5/11]

TEST ( DeckListModelZoneIntegration ,
AddCardToUnmirroredCustomZoneRebuildsNotCreatesTopLevel  )
Here is the call graph for this function:

◆ TEST() [6/11]

TEST ( DeckListModelZoneIntegration ,
CreateTwoZonesThenReadBoth  )
Here is the call graph for this function:

◆ TEST() [7/11]

TEST ( DeckListModelZoneIntegration ,
CreateZoneThenReadCustomZoneNames  )
Here is the call graph for this function:

◆ TEST() [8/11]

TEST ( DeckListModelZoneIntegration ,
EmptyCustomZoneSurvivesMirrorAndPruning  )
Here is the call graph for this function:

◆ TEST() [9/11]

TEST ( DeckListModelZoneIntegration ,
FindCardResolvesCardInsideCustomZone  )
Here is the call graph for this function:

◆ TEST() [10/11]

TEST ( DeckListModelZoneIntegration ,
RebuildTreeMirrorsEachZoneOnce  )
Here is the call graph for this function:

◆ TEST() [11/11]

TEST ( DeckListModelZoneIntegration ,
RemoveRowsRefusesCustomZoneRow  )
Here is the call graph for this function: