2016-08-14 12:38:13 -07:00
|
|
|
/*----------------------------------------------------------------------------*/
|
2018-01-02 09:16:20 -08:00
|
|
|
/* Copyright (c) 2015-2018 FIRST. All Rights Reserved. */
|
2016-08-14 12:38:13 -07:00
|
|
|
/* Open Source Software - may be modified and shared by FRC teams. The code */
|
|
|
|
|
/* must be accompanied by the FIRST BSD license file in the root directory of */
|
|
|
|
|
/* the project. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
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
|