Autotests: More cleanup of tests, and initial marking of components belonged to.

This commit is contained in:
Bill King
2010-09-02 15:32:04 +10:00
parent f91ba77cee
commit 1f0b600b82
33 changed files with 250 additions and 239 deletions
+1
View File
@@ -7,6 +7,7 @@
#include <Parser.h>
#include <AST.h>
//TESTED_COMPONENT=src/libs/cplusplus
using namespace CPlusPlus;
class tst_AST: public QObject
@@ -13,6 +13,8 @@
#include <QtDebug>
#include <QTextDocument>
//TESTED_COMPONENT=src/libs/cplusplus
/*!
Tests for various parts of the code generation. Well, okay, currently it only
tests the InsertionPointLocator.
@@ -15,6 +15,7 @@
#include <Symbols.h>
#include <Overview.h>
//TESTED_COMPONENT=src/libs/cplusplus
using namespace CPlusPlus;
class CollectNames: public ASTVisitor
@@ -13,6 +13,7 @@
#include <Symbols.h>
#include <Overview.h>
//TESTED_COMPONENT=src/libs/cplusplus
using namespace CPlusPlus;
template <template <typename, typename> class _Map, typename _T1, typename _T2>
@@ -1,6 +1,5 @@
TEMPLATE = app
CONFIG += qt warn_on console depend_includepath
CONFIG += qtestlib testcase
TARGET = tst_$$TARGET
include(../shared/shared.pri)
SOURCES += tst_preprocessor.cpp
@@ -1,6 +1,7 @@
#include <QtTest>
#include <pp.h>
//TESTED_COMPONENT=src/libs/cplusplus
using namespace CPlusPlus;
class tst_Preprocessor: public QObject
@@ -20,6 +20,7 @@
#include <ExpressionUnderCursor.h>
#include <Names.h>
//TESTED_COMPONENT=src/libs/cplusplus
using namespace CPlusPlus;
class tst_Semantic: public QObject
@@ -15,6 +15,7 @@
#include <Scope.h>
#include <TypePrettyPrinter.h>
//TESTED_COMPONENT=src/libs/cplusplus
using namespace CPlusPlus;
class tst_TypePrettyPrinter: public QObject