61 BOOST_CHECK_EQUAL(
"title", m_tb.GetTitle() );
62 BOOST_CHECK_EQUAL(
"date", m_tb.GetDate() );
63 BOOST_CHECK_EQUAL(
"company", m_tb.GetCompany() );
66 BOOST_CHECK_EQUAL(
"", m_tb.GetRevision() );
68 BOOST_CHECK_EQUAL(
"comment1", m_tb.GetComment( 0 ) );
69 BOOST_CHECK_EQUAL(
"comment2", m_tb.GetComment( 1 ) );
70 BOOST_CHECK_EQUAL(
"comment3", m_tb.GetComment( 2 ) );
71 BOOST_CHECK_EQUAL(
"comment4", m_tb.GetComment( 3 ) );
82 BOOST_CHECK_EQUAL(
"title", tb_cpy.
GetTitle() );
83 BOOST_CHECK_EQUAL(
"comment1", tb_cpy.
GetComment( 0 ) );
84 BOOST_CHECK_EQUAL(
"comment2", tb_cpy.
GetComment( 1 ) );
Hold the information shown in the lower right corner of a plot, printout, or editing view.
void SetComment(int aIdx, const wxString &aComment)
void SetTitle(const wxString &aTitle)
const wxString & GetComment(int aIdx) const
void SetCompany(const wxString &aCompany)
const wxString & GetTitle() const
void SetDate(const wxString &aDate)
Set the date field, and defaults to the current time and date.
BOOST_AUTO_TEST_SUITE_END()
BOOST_AUTO_TEST_CASE(SimpleAccess)
Declares a struct as the Boost test fixture.