Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
card_update_progress_test.cpp File Reference
#include "interface/card_database_update/card_update_progress.h"
#include <QByteArray>
#include <QString>
#include <gtest/gtest.h>
Include dependency graph for card_update_progress_test.cpp:

Functions

 TEST (CardUpdateProgressTest, ParsesAValidDownloadLine)
 TEST (CardUpdateProgressTest, ParsesTrailingNewline)
 TEST (CardUpdateProgressTest, ParsesWithSurroundingWhitespace)
 TEST (CardUpdateProgressTest, AcceptsZeroProgress)
 TEST (CardUpdateProgressTest, RejectsLinesWithoutProgressPrefix)
 TEST (CardUpdateProgressTest, RejectsMalformedLines)
 TEST (CardUpdateProgressTest, RejectsNegativeValues)
 TEST (CardUpdateProgressTest, AcceptsUnknownStagesSchemalessly)
 TEST (CardUpdateProgressTest, StageTokensRoundTrip)
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/9]

TEST ( CardUpdateProgressTest ,
AcceptsUnknownStagesSchemalessly  )
Here is the call graph for this function:

◆ TEST() [2/9]

TEST ( CardUpdateProgressTest ,
AcceptsZeroProgress  )
Here is the call graph for this function:

◆ TEST() [3/9]

TEST ( CardUpdateProgressTest ,
ParsesAValidDownloadLine  )
Here is the call graph for this function:

◆ TEST() [4/9]

TEST ( CardUpdateProgressTest ,
ParsesTrailingNewline  )
Here is the call graph for this function:

◆ TEST() [5/9]

TEST ( CardUpdateProgressTest ,
ParsesWithSurroundingWhitespace  )
Here is the call graph for this function:

◆ TEST() [6/9]

TEST ( CardUpdateProgressTest ,
RejectsLinesWithoutProgressPrefix  )
Here is the call graph for this function:

◆ TEST() [7/9]

TEST ( CardUpdateProgressTest ,
RejectsMalformedLines  )
Here is the call graph for this function:

◆ TEST() [8/9]

TEST ( CardUpdateProgressTest ,
RejectsNegativeValues  )
Here is the call graph for this function:

◆ TEST() [9/9]

TEST ( CardUpdateProgressTest ,
StageTokensRoundTrip  )
Here is the call graph for this function: