#include "kdganttglobal.h"
#include "unittest/test.h"
Go to the source code of this file.
Defines | |
#define | QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch)) |
Functions | |
KDAB_SCOPED_UNITTEST_SIMPLE (KDGantt, Span,"test") | |
KDAB_SCOPED_UNITTEST_SIMPLE (KDGantt, DateTimeSpan,"test") | |
QDebug | operator<< (QDebug dbg, KDGantt::ItemType t) |
QDebug | operator<< (QDebug dbg, const KDGantt::DateTimeSpan &s) |
QDebug | operator<< (QDebug dbg, const KDGantt::Span &s) |
QDebug | operator<< (QDebug dbg, KDGantt::ItemDataRole r) |
#define QT_VERSION_CHECK | ( | major, | ||
minor, | ||||
patch | ||||
) | ((major<<16)|(minor<<8)|(patch)) |
Definition at line 29 of file kdganttglobal.cpp.
KDAB_SCOPED_UNITTEST_SIMPLE | ( | KDGantt | , | |
Span | , | |||
"test" | ||||
) |
Definition at line 183 of file kdganttglobal.cpp.
References assertEqual, assertFalse, KDGantt::Span::isValid(), KDGantt::Span::length(), KDGantt::Span::setLength(), KDGantt::Span::setStart(), and KDGantt::Span::start().
KDAB_SCOPED_UNITTEST_SIMPLE | ( | KDGantt | , | |
DateTimeSpan | , | |||
"test" | ||||
) |
Definition at line 193 of file kdganttglobal.cpp.
References assertEqual, assertFalse, assertNotEqual, assertTrue, KDGantt::DateTimeSpan::isValid(), KDGantt::DateTimeSpan::setEnd(), and KDGantt::DateTimeSpan::setStart().
QDebug operator<< | ( | QDebug | dbg, | |
KDGantt::ItemType | t | |||
) |
Definition at line 134 of file kdganttglobal.cpp.
References KDGantt::TypeEvent, KDGantt::TypeMulti, KDGantt::TypeNone, KDGantt::TypeSummary, KDGantt::TypeTask, and KDGantt::TypeUser.
QDebug operator<< | ( | QDebug | dbg, | |
const KDGantt::DateTimeSpan & | s | |||
) |
Definition at line 153 of file kdganttglobal.cpp.
References KDGantt::DateTimeSpan::end(), and KDGantt::DateTimeSpan::start().
QDebug operator<< | ( | QDebug | dbg, | |
const KDGantt::Span & | s | |||
) |
Definition at line 148 of file kdganttglobal.cpp.
References KDGantt::Span::length(), and KDGantt::Span::start().
QDebug operator<< | ( | QDebug | dbg, | |
KDGantt::ItemDataRole | r | |||
) |
Definition at line 121 of file kdganttglobal.cpp.
References KDGantt::EndTimeRole, KDGantt::ItemTypeRole, KDGantt::LegendRole, KDGantt::StartTimeRole, and KDGantt::TaskCompletionRole.