Files
allwpilib/cscore/src/test/native/cpp/CameraSourceTest.cpp
2021-09-09 23:13:56 -07:00

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