Remove unused functions/templates

This commit is contained in:
Paul Cornett
2026-07-16 20:44:58 -07:00
committed by paulcor
parent e56922d847
commit 53e050bfc5
3 changed files with 0 additions and 52 deletions
-22
View File
@@ -254,28 +254,6 @@ WaitForEventAt(
} // anonymous namespace
namespace Catch
{
template <> struct StringMaker<TestableGrid>
{
static std::string convert(const TestableGrid& grid)
{
return ("Content before edit:\n" + grid.m_beforeGridAnnotated
+ "\nContent after edit:\n" + grid.ToString()).ToStdString();
}
};
template <> struct StringMaker<Multicell>
{
static std::string convert(const Multicell& multi)
{
return multi.ToString().ToStdString();
}
};
} // namespace Catch
class GridTestCase
{
public:
-28
View File
@@ -293,34 +293,6 @@ TEST_CASE("wxDateTime::WDays", "[datetime]")
wxDateTime::WeekDay wday; // the weekday
wxDateTime::Month month; // the month
int year; // and the year
wxString Format() const
{
wxString s, which;
switch ( nWeek < -1 ? -nWeek : nWeek )
{
case 1: which = wxT("first"); break;
case 2: which = wxT("second"); break;
case 3: which = wxT("third"); break;
case 4: which = wxT("fourth"); break;
case 5: which = wxT("fifth"); break;
case -1: which = wxT("last"); break;
}
if ( nWeek < -1 )
{
which += wxT(" from end");
}
s.Printf(wxT("The %s %s of %s in %d"),
which.c_str(),
wxDateTime::GetWeekDayName(wday).c_str(),
wxDateTime::GetMonthName(month).c_str(),
year);
return s;
}
};
// the array data was generated by the following python program
-2
View File
@@ -37,8 +37,6 @@ public:
static size_t GetNumber() { return ms_bars; }
const wxChar *GetName() const { return m_name.c_str(); }
private:
wxString m_name;