2 #include <ept/config.h>
7 using namespace ept::core;
15 template< desktop::PropertyId P,
typename L >
18 while ( !l.empty() ) {
19 assert_eq( l.head().template get< P >(), check[ i ] );
26 template< desktop::PropertyId P,
typename L >
28 checkIteration2< P >( c, check, list::sort( l ) );
32 const char *check[] = {
"Kdict",
"foo",
"XQF",
"X-Server" };
33 checkIteration< desktop::Name >(
38 const char *check[] = {
39 "{ KDE, Qt, Utility }",
40 "{ KDE, Qt, Utility }",
41 "{ Application, Game, X-SuSE-Core-Game }",
42 "{ KDE, Qt, X-KDE-information }",
44 checkIteration< desktop::Group >(
49 const char *check[] = {
"Kdict",
"foo" };
50 checkIteration< desktop::Name >(
51 2, check, desk.group(
"{ KDE, Qt, Utility }" ) );
55 std::string check[] = {
56 "{ Application, Game, X-SuSE-Core-Game }",
57 "{ KDE, Qt, Utility }",
58 "{ KDE, Qt, X-KDE-information }",
61 assert_list_eq( desk.groupList(), check );