mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
21 lines
500 B
C++
21 lines
500 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 "cscore.h"
|
|
#include "gtest/gtest.h"
|
|
|
|
namespace cs {
|
|
|
|
class CameraSourceTest : public ::testing::Test {
|
|
protected:
|
|
CameraSourceTest() = default;
|
|
};
|
|
|
|
TEST_F(CameraSourceTest, HTTPCamera) {
|
|
auto source = HttpCamera("axis", "http://localhost:8000");
|
|
cs::Shutdown();
|
|
}
|
|
|
|
} // namespace cs
|