Files
allwpilib/cscore/src/test/native/cpp/CameraSourceTest.cpp
Peter Johnson ba81d4b790 [cscore] Remove Axis camera (#8642)
Was a thin wrapper around HttpCamera and haven't been used by teams for
years.
2026-02-27 21:05:52 -08:00

22 lines
525 B
C++

// Copyright (c) FIRST and other WPILib contributors.
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include "wpi/cs/cscore.h"
namespace wpi::cs {
class CameraSourceTest : public ::testing::Test {
protected:
CameraSourceTest() = default;
};
TEST_F(CameraSourceTest, HTTPCamera) {
auto source = HttpCamera("camera", "http://localhost:8000");
wpi::cs::Shutdown();
}
} // namespace wpi::cs