Skip to content

Commit 1822bbf

Browse files
committed
AVInput COM-RPC Support: WIP
1 parent 88536b7 commit 1822bbf

File tree

2 files changed

+15
-26
lines changed

2 files changed

+15
-26
lines changed

Tests/L1Tests/CMakeLists.txt

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -100,24 +100,25 @@ macro(add_plugin_test plugin_name test_files)
100100

101101
add_plugin_test_ex(${plugin_opt} "${test_files}" "../../${plugin_name}" "${NAMESPACE}${plugin_name}")
102102
endmacro()
103+
# <pca> debug
104+
# # PLUGIN_HDCPPROFILE
105+
# set (HDCPPROFILE_INC ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/HdcpProfile ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/helpers)
106+
# set (HDCPPROFILE_LIBS ${NAMESPACE}HdcpProfile ${NAMESPACE}HdcpProfileImplementation)
107+
# add_plugin_test_ex(PLUGIN_HDCPPROFILE tests/test_HdcpProfile.cpp "${HDCPPROFILE_INC}" "${HDCPPROFILE_LIBS}")
103108

104-
# PLUGIN_HDCPPROFILE
105-
set (HDCPPROFILE_INC ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/HdcpProfile ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/helpers)
106-
set (HDCPPROFILE_LIBS ${NAMESPACE}HdcpProfile ${NAMESPACE}HdcpProfileImplementation)
107-
add_plugin_test_ex(PLUGIN_HDCPPROFILE tests/test_HdcpProfile.cpp "${HDCPPROFILE_INC}" "${HDCPPROFILE_LIBS}")
108109

110+
# # PLUGIN_HDMICEC2
111+
# add_plugin_test_ex(PLUGIN_HDMICEC2 tests/test_HdmiCec2.cpp "../../HdmiCec_2" "${NAMESPACE}HdmiCec_2")
109112

110-
# PLUGIN_HDMICEC2
111-
add_plugin_test_ex(PLUGIN_HDMICEC2 tests/test_HdmiCec2.cpp "../../HdmiCec_2" "${NAMESPACE}HdmiCec_2")
113+
# # PLUGIN_HDMICECSINK
114+
# set (HDMICECSINK_INC ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/HdmiCecSink ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/helpers)
115+
# add_plugin_test_ex(PLUGIN_HDMICECSINK tests/test_HdmiCecSink.cpp "${HDMICECSINK_INC}" "${NAMESPACE}HdmiCecSink")
112116

113-
# PLUGIN_HDMICECSINK
114-
set (HDMICECSINK_INC ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/HdmiCecSink ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/helpers)
115-
add_plugin_test_ex(PLUGIN_HDMICECSINK tests/test_HdmiCecSink.cpp "${HDMICECSINK_INC}" "${NAMESPACE}HdmiCecSink")
116-
117-
# PLUGIN_HDMICECSOURCE
118-
set (HDMICECSOURCE_INC ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/HdmiCecSource ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/helpers)
119-
set (HDMICECSOURCE_LIBS ${NAMESPACE}HdmiCecSource ${NAMESPACE}HdmiCecSourceImplementation)
120-
add_plugin_test_ex(PLUGIN_HDMICECSOURCE tests/test_HdmiCecSource.cpp "${HDMICECSOURCE_INC}" "${HDMICECSOURCE_LIBS}")
117+
# # PLUGIN_HDMICECSOURCE
118+
# set (HDMICECSOURCE_INC ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/HdmiCecSource ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/helpers)
119+
# set (HDMICECSOURCE_LIBS ${NAMESPACE}HdmiCecSource ${NAMESPACE}HdmiCecSourceImplementation)
120+
# add_plugin_test_ex(PLUGIN_HDMICECSOURCE tests/test_HdmiCecSource.cpp "${HDMICECSOURCE_INC}" "${HDMICECSOURCE_LIBS}")
121+
# </pca>
121122

122123
# PLUGIN_AVINPUT
123124
set (AVINPUT_INC ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/AVInput ${CMAKE_SOURCE_DIR}/../entservices-inputoutput/helpers)

Tests/L1Tests/tests/test_AVInput.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -320,12 +320,6 @@ TEST_F(AVInputDsTest, getVRRSupport)
320320
TEST_F(AVInputDsTest, setVRRSupport)
321321
{
322322
EXPECT_EQ(Core::ERROR_NONE, handler.Invoke(connection, _T("setVRRSupport"), _T("{\"portId\": \"0\",\"vrrSupport\":true}"), response));
323-
EXPECT_EQ(response, string("{\"success\":true}"));
324-
}
325-
326-
TEST_F(AVInputDsTest, setVRRSupport_ErrorCase)
327-
{
328-
EXPECT_EQ(Core::ERROR_GENERAL, handler.Invoke(connection, _T("setVRRSupport"), _T("{\"portId\": \"test\",\"vrrSupport\":true}"), response));
329323
EXPECT_EQ(response, string(""));
330324
}
331325

@@ -335,12 +329,6 @@ TEST_F(AVInputDsTest, getVRRFrameRate)
335329
EXPECT_EQ(response, string("{\"currentVRRVideoFrameRate\":0,\"success\":true}"));
336330
}
337331

338-
TEST_F(AVInputDsTest, getVRRFrameRate_ErrorCase)
339-
{
340-
EXPECT_EQ(Core::ERROR_GENERAL, handler.Invoke(connection, _T("getVRRFrameRate"), _T("{\"portId\": \"test\"}"), response));
341-
EXPECT_EQ(response, string(""));
342-
}
343-
344332
// <pca> debug
345333
#if 0
346334
// </pca>

0 commit comments

Comments
 (0)