2016-08-14 12:38:13 -07:00
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
/* Copyright (c) FIRST 2015. All Rights Reserved. */
|
|
|
|
|
/* 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. */
|
|
|
|
|
/*----------------------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
#include "gtest/gtest.h"
|
|
|
|
|
|
2016-09-10 13:01:16 -07:00
|
|
|
#include "cameraserver.h"
|
|
|
|
|
|
2016-08-14 12:38:13 -07:00
|
|
|
namespace cs {
|
|
|
|
|
|
|
|
|
|
class CameraSourceTest : public ::testing::Test {
|
|
|
|
|
protected:
|
|
|
|
|
CameraSourceTest() {
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2016-09-10 13:01:16 -07:00
|
|
|
TEST_F(CameraSourceTest, HTTPCamera) {
|
|
|
|
|
auto source = HTTPCamera("axis", "http://localhost:8000");
|
2016-08-14 12:38:13 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace cs
|