tst_properties.cpp 455 B

123456789101112
  1. #include "tst_properties.h"
  2. void TST_Properties::test()
  3. {
  4. CWF::Properties properties("TST_Properties.test()");
  5. QVERIFY2(properties.m_class == "TST_Properties", "Should be TST_Properties");
  6. QVERIFY2(properties.m_method == "test()", "Should be test()");
  7. CWF::Properties prop("TST_Properties");
  8. QVERIFY2(prop.m_class == "TST_Properties", "Should be TST_Properties");
  9. QVERIFY2(prop.m_method == "getValue", "Should be getValue");
  10. }