Skip to content

Commit d7a832f

Browse files
committed
remove unused tests
1 parent 828adb0 commit d7a832f

File tree

3 files changed

+2
-151
lines changed

3 files changed

+2
-151
lines changed

tests/src/ondevice_tests/encoded_frame_test.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,13 @@
22
#include <catch2/catch_test_macros.hpp>
33
#include <iostream>
44

5-
#include "depthai/device/Device.hpp"
65
#include "depthai/pipeline/Pipeline.hpp"
76
#include "depthai/pipeline/datatype/EncodedFrame.hpp"
87
#include "depthai/pipeline/datatype/ImgFrame.hpp"
98
#include "depthai/pipeline/node/Camera.hpp"
109
#include "depthai/pipeline/node/VideoEncoder.hpp"
11-
#include "depthai/pipeline/node/internal/XLinkOut.hpp"
1210
#include "depthai/properties/VideoEncoderProperties.hpp"
1311

14-
dai::Pipeline getPipeline(dai::VideoEncoderProperties::Profile profile, unsigned int quality, bool lossless, unsigned int bitrate) {
15-
dai::Pipeline pipeline;
16-
auto camNode = pipeline.create<dai::node::Camera>()->build();
17-
auto camOut = camNode->requestOutput({640, 480}, dai::ImgFrame::Type::NV12);
18-
auto encNode = pipeline.create<dai::node::VideoEncoder>();
19-
auto xlinkOut = pipeline.create<dai::node::internal::XLinkOut>();
20-
camOut->link(encNode->input);
21-
encNode->out.link(xlinkOut->input);
22-
23-
encNode->setProfile(profile);
24-
encNode->setBitrate(bitrate);
25-
encNode->setQuality(quality);
26-
encNode->setLossless(lossless);
27-
encNode->setKeyframeFrequency(30);
28-
xlinkOut->setStreamName("out");
29-
30-
return pipeline;
31-
}
32-
3312
TEST_CASE("OLD_OUTPUT") {
3413
dai::Pipeline pipeline;
3514
auto camNode = pipeline.create<dai::node::Camera>()->build();

tests/src/stability_stress_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ static constexpr int RGB_FPS = 20;
1717
static constexpr int MONO_FPS = 20;
1818
static constexpr int ENCODER_FPS = 10;
1919

20+
// TODO(lnotspotl): Port this to v3
21+
2022
void printSystemInformation(dai::SystemInformation info) {
2123
printf("Ddr used / total - %.2f / %.2f MiB\n", info.ddrMemoryUsage.used / (1024.0f * 1024.0f), info.ddrMemoryUsage.total / (1024.0f * 1024.0f));
2224
printf("Cmx used / total - %.2f / %.2f MiB\n", info.cmxMemoryUsage.used / (1024.0f * 1024.0f), info.cmxMemoryUsage.total / (1024.0f * 1024.0f));

tests/src/xlink_roundtrip_test.cpp

Lines changed: 0 additions & 130 deletions
This file was deleted.

0 commit comments

Comments
 (0)