mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Remove useless code
This commit is contained in:
parent
afc00fa0b8
commit
fcdcb3cb1e
@ -474,7 +474,8 @@ CompressionCodecPtr makeCodec(const std::string & codec_string, const DataTypePt
|
||||
}
|
||||
|
||||
template <typename Timer>
|
||||
void testTranscoding(Timer & timer, ICompressionCodec & codec, const CodecTestSequence & test_sequence, std::optional<double> expected_compression_ratio = std::optional<double>{})
|
||||
void testTranscoding(Timer & timer, ICompressionCodec & codec, const CodecTestSequence & test_sequence,
|
||||
std::optional<double> expected_compression_ratio = {})
|
||||
{
|
||||
const auto & source_data = test_sequence.serialized_data;
|
||||
|
||||
@ -541,11 +542,6 @@ TEST_P(CodecTest, TranscodingWithDataType)
|
||||
testTranscoding(*codec);
|
||||
}
|
||||
|
||||
TEST_P(CodecTest, TranscodingWithoutDataType)
|
||||
{
|
||||
const auto codec = makeCodec(CODEC_WITHOUT_DATA_TYPE);
|
||||
testTranscoding(*codec);
|
||||
}
|
||||
|
||||
// Param is tuple-of-tuple to simplify instantiating with values, since typically group of cases test only one codec.
|
||||
class CodecTestCompatibility : public ::testing::TestWithParam<std::tuple<Codec, std::tuple<CodecTestSequence, std::string>>>
|
||||
|
Loading…
Reference in New Issue
Block a user