This source file includes following definitions.
- TEST
#include "remoting/host/desktop_shape_tracker.h"
#include "base/memory/scoped_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_capture_options.h"
#include "third_party/webrtc/modules/desktop_capture/desktop_region.h"
namespace remoting {
TEST(DesktopShapeTrackerTest, Basic) {
scoped_ptr<DesktopShapeTracker> shape_tracker = DesktopShapeTracker::Create(
webrtc::DesktopCaptureOptions::CreateDefault());
#if defined(OS_WIN)
shape_tracker->RefreshDesktopShape();
EXPECT_FALSE(shape_tracker->desktop_shape().is_empty());
#else
EXPECT_FALSE(shape_tracker);
#endif
}
}