Added a simple auto test for the name lookup.

This commit is contained in:
Roberto Raggi
2009-02-09 10:21:29 +01:00
parent 47a85d5a42
commit 1f9bcd86e0
8 changed files with 118 additions and 55 deletions

View File

@@ -0,0 +1,48 @@
DEFINES += HAVE_QT CPLUSPLUS_WITH_NAMESPACE CPLUSPLUS_BUILD_LIB
INCLUDEPATH += $$PWD
include(../../shared/cplusplus/cplusplus.pri)
HEADERS += \
$$PWD/SimpleLexer.h \
$$PWD/ExpressionUnderCursor.h \
$$PWD/TokenUnderCursor.h \
$$PWD/CppDocument.h \
$$PWD/Icons.h \
$$PWD/Overview.h \
$$PWD/OverviewModel.h \
$$PWD/NamePrettyPrinter.h \
$$PWD/TypeOfExpression.h \
$$PWD/TypePrettyPrinter.h \
$$PWD/ResolveExpression.h \
$$PWD/LookupContext.h \
$$PWD/PreprocessorClient.h \
$$PWD/PreprocessorEnvironment.h \
$$PWD/Macro.h \
$$PWD/pp.h \
$$PWD/pp-cctype.h \
$$PWD/pp-engine.h \
$$PWD/pp-macro-expander.h \
$$PWD/pp-scanner.h
SOURCES += \
$$PWD/SimpleLexer.cpp \
$$PWD/ExpressionUnderCursor.cpp \
$$PWD/TokenUnderCursor.cpp \
$$PWD/CppDocument.cpp \
$$PWD/Icons.cpp \
$$PWD/Overview.cpp \
$$PWD/OverviewModel.cpp \
$$PWD/NamePrettyPrinter.cpp \
$$PWD/TypeOfExpression.cpp \
$$PWD/TypePrettyPrinter.cpp \
$$PWD/ResolveExpression.cpp \
$$PWD/LookupContext.cpp \
$$PWD/PreprocessorClient.cpp \
$$PWD/PreprocessorEnvironment.cpp \
$$PWD/Macro.cpp \
$$PWD/pp-engine.cpp \
$$PWD/pp-macro-expander.cpp \
$$PWD/pp-scanner.cpp
RESOURCES += $$PWD/cplusplus.qrc