Changeset d0d0a66 for src/test


Ignore:
Timestamp:
01/02/10 22:14:10 (12 years ago)
Author:
komarma <komarma@…>
Branches:
master, qt5
Children:
9bbb44e
Parents:
489f262
Message:

Creating EventModel? class

Location:
src/test/model
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/test/model/eventtest.cpp

    r489f262 rd0d0a66  
    2727    QCOMPARE(event.type(), QString("Podium"));
    2828    QCOMPARE(event.language(), QString("English"));
     29}
     30
     31void EventTest::getByDate()
     32{
     33    QCOMPARE(Event::getByDate(QDate(2009, 2, 7), 1).count(), 127);
     34    QCOMPARE(Event::getByDate(QDate(2009, 2, 8), 1).count(), 154);
    2935}
    3036
  • src/test/model/eventtest.h

    r489f262 rd0d0a66  
    1212
    1313    void getById();
     14    void getByDate();
    1415    void storingValues();
    1516    void hydrate();
Note: See TracChangeset for help on using the changeset viewer.