Clang: More renaming fixes

Change-Id: If796869b26fc6faf5919041368fb26e8a42ae8a2
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Nikolai Kosjar
2016-09-09 14:42:35 +02:00
parent 9606988989
commit 26cb17bb65
9 changed files with 54 additions and 56 deletions

View File

@@ -104,7 +104,7 @@ TEST_F(Document, DefaultDocumentIsNotIntact)
TEST_F(Document, ThrowExceptionForNonExistingFilePath)
{
ASSERT_THROW(::Document(Utf8StringLiteral("file.cpp"), projectPart, Utf8StringVector(), documents),
ClangBackEnd::TranslationUnitFileNotExitsException);
ClangBackEnd::DocumentFileDoesNotExistException);
}
TEST_F(Document, ThrowNoExceptionForNonExistingFilePathIfDoNotCheckIfFileExistsIsSet)
@@ -122,14 +122,14 @@ TEST_F(Document, ThrowExceptionForGettingIndexForInvalidUnit)
{
::Document document;
ASSERT_THROW(document.translationUnit().cxIndex(), ClangBackEnd::TranslationUnitIsNullException);
ASSERT_THROW(document.translationUnit().cxIndex(), ClangBackEnd::DocumentIsNullException);
}
TEST_F(Document, ThrowExceptionForGettingCxTranslationUnitForInvalidUnit)
{
::Document document;
ASSERT_THROW(document.translationUnit().cxIndex(), ClangBackEnd::TranslationUnitIsNullException);
ASSERT_THROW(document.translationUnit().cxIndex(), ClangBackEnd::DocumentIsNullException);
}
TEST_F(Document, CxTranslationUnitGetterIsNonNullForParsedUnit)
@@ -143,7 +143,7 @@ TEST_F(Document, ThrowExceptionIfGettingFilePathForNullUnit)
{
::Document document;
ASSERT_THROW(document.filePath(), ClangBackEnd::TranslationUnitIsNullException);
ASSERT_THROW(document.filePath(), ClangBackEnd::DocumentIsNullException);
}
TEST_F(Document, ResettedDocumentIsNull)