forked from qt-creator/qt-creator
ClangRefactoring: Fix progress counter
We use threads now and the code had to be adapted. Task-number: QTCREATORBUG-21950 Change-Id: Ie96c5bea1fa045588d0c5a8b18bfd1ccb5d9fdd9 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
This commit is contained in:
@@ -417,7 +417,7 @@ TYPED_TEST(CommandLineBuilder, C18)
|
||||
|
||||
Builder<TypeParam> builder{this->emptyProjectInfo, {}, InputFileType::Header, "/source/file.c"};
|
||||
|
||||
ASSERT_THAT(builder.commandLine, Contains("-std=c18"));
|
||||
ASSERT_THAT(builder.commandLine, Contains("-std=c17"));
|
||||
}
|
||||
|
||||
TYPED_TEST(CommandLineBuilder, GnuC89)
|
||||
@@ -461,7 +461,7 @@ TYPED_TEST(CommandLineBuilder, GnuC18)
|
||||
|
||||
Builder<TypeParam> builder{this->emptyProjectInfo, {}, InputFileType::Header, "/source/file.c"};
|
||||
|
||||
ASSERT_THAT(builder.commandLine, Contains("-std=gnu18"));
|
||||
ASSERT_THAT(builder.commandLine, Contains("-std=gnu17"));
|
||||
}
|
||||
|
||||
TYPED_TEST(CommandLineBuilder, IncludesOrder)
|
||||
|
||||
Reference in New Issue
Block a user