Converts from wstring to regular string.

Cleans up empty test suites to return no tests instead of a single pass.
This commit is contained in:
2023-04-15 16:30:06 -07:00
parent e68973c1b1
commit b3bb6e4031
22 changed files with 308 additions and 342 deletions

View File

@@ -5,18 +5,18 @@
namespace SBF {
const int kRankPrimaryId = 1;
const std::wstring kRankPrimaryLabel = L"Primary";
const std::string kRankPrimaryLabel = "Primary";
const int kRankSecondaryId = 2;
const std::wstring kRankSecondaryLabel = L"Secondary";
const std::string kRankSecondaryLabel = "Secondary";
const int kRankTertiaryId = 3;
const std::wstring kRankTertiaryLabel = L"Tertiary";
const std::string kRankTertiaryLabel = "Tertiary";
const int kRanksCount = 3;
struct RankType {
int id;
std::wstring label;
std::string label;
};
const RankType kRanks[] {
{0, L""},
{0, ""},
{kRankPrimaryId, kRankPrimaryLabel},
{kRankSecondaryId, kRankSecondaryLabel},
{kRankTertiaryId, kRankTertiaryLabel},