Changeset View
Changeset View
Standalone View
Standalone View
tests/markertest.cpp
Context not available. | |||||
40 | REQUIRE(std::get<2>(list[i]) == model->data(model->index(i), MarkerListModel::TypeRole).toInt()); | 40 | REQUIRE(std::get<2>(list[i]) == model->data(model->index(i), MarkerListModel::TypeRole).toInt()); | ||
---|---|---|---|---|---|
41 | REQUIRE(MarkerListModel::markerTypes[std::get<2>(list[i])] == model->data(model->index(i), MarkerListModel::ColorRole).value<QColor>()); | 41 | REQUIRE(MarkerListModel::markerTypes[std::get<2>(list[i])] == model->data(model->index(i), MarkerListModel::ColorRole).value<QColor>()); | ||
42 | 42 | | |||
43 | // check for marker existance | 43 | // check for marker existence | ||
44 | int frame = std::get<0>(list[i]).frames(fps); | 44 | int frame = std::get<0>(list[i]).frames(fps); | ||
45 | REQUIRE(model->hasMarker(frame)); | 45 | REQUIRE(model->hasMarker(frame)); | ||
46 | 46 | | |||
Context not available. |