Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
warning_categories_test.cpp File Reference
#include "gtest/gtest.h"
#include <QString>
#include <libcockatrice/utility/warning_categories.h>
Include dependency graph for warning_categories_test.cpp:

Functions

 TEST (WarningCategoriesTest, EmptyValueYieldsNoCategories)
 TEST (WarningCategoriesTest, PlainNamesDefaultToInterventionLevelOne)
 TEST (WarningCategoriesTest, ExplicitInterventionLevelsAreParsed)
 TEST (WarningCategoriesTest, MixedEntriesKeepDefaultsForThoseWithoutLevels)
 TEST (WarningCategoriesTest, EmptyEntriesAreSkipped)
 TEST (WarningCategoriesTest, WhitespaceIsTrimmed)
 TEST (WarningCategoriesTest, InvalidInterventionLevelsFallBackToOne)
 TEST (WarningCategoriesTest, EntryWithOnlyLevelIsSkipped)
int main (int argc, char **argv)

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

◆ TEST() [1/8]

TEST ( WarningCategoriesTest ,
EmptyEntriesAreSkipped  )
Here is the call graph for this function:

◆ TEST() [2/8]

TEST ( WarningCategoriesTest ,
EmptyValueYieldsNoCategories  )
Here is the call graph for this function:

◆ TEST() [3/8]

TEST ( WarningCategoriesTest ,
EntryWithOnlyLevelIsSkipped  )
Here is the call graph for this function:

◆ TEST() [4/8]

TEST ( WarningCategoriesTest ,
ExplicitInterventionLevelsAreParsed  )
Here is the call graph for this function:

◆ TEST() [5/8]

TEST ( WarningCategoriesTest ,
InvalidInterventionLevelsFallBackToOne  )
Here is the call graph for this function:

◆ TEST() [6/8]

TEST ( WarningCategoriesTest ,
MixedEntriesKeepDefaultsForThoseWithoutLevels  )
Here is the call graph for this function:

◆ TEST() [7/8]

TEST ( WarningCategoriesTest ,
PlainNamesDefaultToInterventionLevelOne  )
Here is the call graph for this function:

◆ TEST() [8/8]

TEST ( WarningCategoriesTest ,
WhitespaceIsTrimmed  )
Here is the call graph for this function: