2020-12-26 14:12:05 -08:00
|
|
|
// 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.
|
2016-08-14 12:38:13 -07:00
|
|
|
|
2017-08-18 17:52:08 -07:00
|
|
|
#include "cscore.h"
|
2017-08-25 17:48:06 -07:00
|
|
|
#include "gtest/gtest.h"
|
2016-09-10 13:01:16 -07:00
|
|
|
|
2016-08-14 12:38:13 -07:00
|
|
|
namespace cs {
|
|
|
|
|
|
|
|
|
|
class CameraSourceTest : public ::testing::Test {
|
|
|
|
|
protected:
|
2017-08-25 17:48:06 -07:00
|
|
|
CameraSourceTest() {}
|
2016-08-14 12:38:13 -07:00
|
|
|
};
|
|
|
|
|
|
2016-09-10 13:01:16 -07:00
|
|
|
TEST_F(CameraSourceTest, HTTPCamera) {
|
2017-08-18 17:52:08 -07:00
|
|
|
auto source = HttpCamera("axis", "http://localhost:8000");
|
2016-08-14 12:38:13 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace cs
|