FactDev  0.1
test_mustache.h
1 /*
2  Copyright 2012, Robert Knight
3 
4  Redistribution and use in source and binary forms, with or without modification,
5  are permitted provided that the following conditions are met:
6 
7  Redistributions of source code must retain the above copyright notice,
8  this list of conditions and the following disclaimer.
9 
10  Redistributions in binary form must reproduce the above copyright notice,
11  this list of conditions and the following disclaimer in the documentation
12  and/or other materials provided with the distribution.
13 */
14 
15 #pragma once
16 
17 #include "mustache.h"
18 
19 #include <QtTest/QtTest>
20 
21 class TestMustache : public QObject
22 {
23  Q_OBJECT
24 
25 private Q_SLOTS:
26  void testContextLookup();
27  void testErrors();
28  void testPartialFile();
29  void testPartials();
30  void testSections();
31  void testSetDelimiters();
32  void testValues();
33  void testEscaping();
34  void testEval();
35  void testHelpers();
36  void testIncompleteTag();
37  void testIncompleteSection();
38  void testLambda();
39 #if QT_VERSION >= 0x050000
40  void testConformance();
41  void testConformance_data();
42 #endif // QT_VERSION >= 0x050000
43 };
44 
Definition: test_mustache.h:21