Commit 370acaf5 authored by Nikolai Kosjar's avatar Nikolai Kosjar Committed by Erik Verbruggen

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: default avatarPrzemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
parent 986ff716
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
#ifndef CPLUSPLUS_CHECKSYMBOLS_H #ifndef CPLUSPLUS_CHECKSYMBOLS_H
#define CPLUSPLUS_CHECKSYMBOLS_H #define CPLUSPLUS_CHECKSYMBOLS_H
#include "cpptools_global.h"
#include "cppsemanticinfo.h" #include "cppsemanticinfo.h"
#include <cplusplus/CppDocument.h> #include <cplusplus/CppDocument.h>
...@@ -45,7 +47,7 @@ ...@@ -45,7 +47,7 @@
namespace CPlusPlus { namespace CPlusPlus {
class CheckSymbols: class CPPTOOLS_EXPORT CheckSymbols:
protected ASTVisitor, protected ASTVisitor,
public QRunnable, public QRunnable,
public QFutureInterface<TextEditor::SemanticHighlighter::Result> public QFutureInterface<TextEditor::SemanticHighlighter::Result>
......
include(../../qttest.pri)
include(../shared/shared.pri)
include(../../../../src/plugins/cpptools/cpptools.pri)
SOURCES += tst_checksymbols.cpp
This diff is collapsed.
...@@ -11,4 +11,5 @@ SUBDIRS = \ ...@@ -11,4 +11,5 @@ SUBDIRS = \
typeprettyprinter \ typeprettyprinter \
simplifytypes \ simplifytypes \
misc \ misc \
cxx11 cxx11 \
checksymbols
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment