C++: Tests: Add basic tests for CheckSymbols

CheckSymbols is the "data provider" for the semantic highlighter which
does not have any tests yet.

Change-Id: I868aca32d44570457a984b8ce74695c381c58bed
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
Nikolai Kosjar
2013-01-28 13:48:22 +01:00
committed by Erik Verbruggen
parent 986ff71642
commit 370acaf502
4 changed files with 344 additions and 2 deletions

View File

@@ -30,6 +30,8 @@
#ifndef CPLUSPLUS_CHECKSYMBOLS_H
#define CPLUSPLUS_CHECKSYMBOLS_H
#include "cpptools_global.h"
#include "cppsemanticinfo.h"
#include <cplusplus/CppDocument.h>
@@ -45,7 +47,7 @@
namespace CPlusPlus {
class CheckSymbols:
class CPPTOOLS_EXPORT CheckSymbols:
protected ASTVisitor,
public QRunnable,
public QFutureInterface<TextEditor::SemanticHighlighter::Result>