diff options
author | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2014-05-16 15:51:04 -0400 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@digia.com> | 2014-06-04 16:28:35 +0200 |
commit | ec97d967e63e4c66e0147625b09a658a3f99896c (patch) | |
tree | 77c44744474915153d08b550dcf2b4bedd3f3516 /src/plugins/cpptools/cppmodelmanager_test.cpp | |
parent | 43895b038f1712d4c98b8f81d7248b44f42f27cd (diff) | |
download | qt-creator-ec97d967e63e4c66e0147625b09a658a3f99896c.tar.gz |
CppTools: Rename CppPreprocessor to CppSourceProcessor
...since it does quite a bit more than only preprocessing, as the name
suggests. We use that class to process source files in general. The
output is not a preprocessed source, but a set of CPlusPlus::Documents
with symbols.
Change-Id: I787d0f22f9f042ddf0c99e8c2f0bdb9aa7001735
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager_test.cpp')
-rw-r--r-- | src/plugins/cpptools/cppmodelmanager_test.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/cpptools/cppmodelmanager_test.cpp b/src/plugins/cpptools/cppmodelmanager_test.cpp index 7afc7c15c7..4aef1c892b 100644 --- a/src/plugins/cpptools/cppmodelmanager_test.cpp +++ b/src/plugins/cpptools/cppmodelmanager_test.cpp @@ -27,7 +27,7 @@ ** ****************************************************************************/ -#include "cpppreprocessor.h" +#include "cppsourceprocessor.h" #include "cpptoolseditorsupport.h" #include "cpptoolsplugin.h" #include "cpptoolstestcase.h" @@ -345,7 +345,7 @@ void CppToolsPlugin::test_modelmanager_refresh_also_includes_of_project_files() /// QTCREATORBUG-9205 /// Check: When reparsing the same files again, no errors occur -/// (The CppPreprocessor's already seen files are properly cleared!). +/// (The CppSourceProcessor's already seen files are properly cleared!). void CppToolsPlugin::test_modelmanager_refresh_several_times() { ModelManagerTestHelper helper; @@ -646,7 +646,7 @@ void CppToolsPlugin::test_modelmanager_snapshot_after_two_projects() /// Check: (1) For a project with a *.ui file an AbstractEditorSupport object /// is added for the ui_* file. -/// Check: (2) The CppPreprocessor can successfully resolve the ui_* file +/// Check: (2) The CppSourceProcessor can successfully resolve the ui_* file /// though it might not be actually generated in the build dir. void CppToolsPlugin::test_modelmanager_extraeditorsupport_uiFiles() { @@ -678,8 +678,8 @@ void CppToolsPlugin::test_modelmanager_extraeditorsupport_uiFiles() QCOMPARE(fileNamesInWorkinCopy.at(0), mm->configurationFileName()); QCOMPARE(fileNamesInWorkinCopy.at(1), expectedUiHeaderFileName); - // Check CppPreprocessor / includes. - // The CppPreprocessor is expected to find the ui_* file in the working copy. + // Check CppSourceProcessor / includes. + // The CppSourceProcessor is expected to find the ui_* file in the working copy. const QString fileIncludingTheUiFile = testDataDirectory.file(_("mainwindow.cpp")); while (!mm->snapshot().document(fileIncludingTheUiFile)) QCoreApplication::processEvents(); |