Move dependencies to the top level.

This commit is contained in:
jakcron
2022-04-16 18:27:14 +08:00
parent b67980d3d2
commit 5d62e839e7
844 changed files with 74 additions and 114431 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
#include "ITestClass.h"
#include <tc/io/ISink.h>
#include "SinkTestUtil.h"
class io_SubSink_TestClass : public ITestClass
{
public:
void runAllTests();
private:
void testDefaultConstructor();
void testCreateConstructor();
void testCreateFromNullBase();
void testCreateWithNegativeSubSinkOffset();
void testCreateWithNegativeSubSinkLength();
void testCreateWithExcessiveSubSink();
void testCreateThenSetLength();
void testSetLengthOnDisposedBase();
void testPushDataOnDisposedBase();
void testPushDataOutsideOfBaseRange();
void pushDataTestHelper(tc::io::ISink& sub_sink, const std::shared_ptr<SinkTestUtil::DummySinkTestablePushData>& base_sink, int64_t sub_base_offset, int64_t sub_push_offset, tc::ByteData& push_data, tc::ByteData& expected_data);
};