From 3ca248046460b3514200d7e33002599cc0a9a5fd Mon Sep 17 00:00:00 2001 From: Vijay Selvaraj Date: Sun, 28 Mar 2021 23:34:55 -0400 Subject: [PATCH] [DELIA-49468] Declared module names --- ContinueWatching/test/CWTestThunderClient.cpp | 4 ++++ ControlService/test/controlSvcTestClient.cpp | 3 +++ RemoteActionMapping/test/ramTestClient.cpp | 2 ++ StateObserver/test/STOBSThunderClient.cpp | 4 ++++ TextToSpeech/test/TTSThunderAPITest.cpp | 3 +++ 5 files changed, 16 insertions(+) diff --git a/ContinueWatching/test/CWTestThunderClient.cpp b/ContinueWatching/test/CWTestThunderClient.cpp index a6d78ee275..da7f49cf1d 100644 --- a/ContinueWatching/test/CWTestThunderClient.cpp +++ b/ContinueWatching/test/CWTestThunderClient.cpp @@ -28,6 +28,10 @@ using namespace std; using namespace WPEFramework; JSONRPC::Client* remoteObject = NULL; + +/* Declare module name */ +MODULE_NAME_DECLARATION(BUILD_REFERENCE) + void showMenu() { cout<<"Enter your choice\n"; diff --git a/ControlService/test/controlSvcTestClient.cpp b/ControlService/test/controlSvcTestClient.cpp index aa3d3a9005..7ff769a61f 100644 --- a/ControlService/test/controlSvcTestClient.cpp +++ b/ControlService/test/controlSvcTestClient.cpp @@ -39,6 +39,9 @@ using namespace std; using namespace WPEFramework; +/* Declare module name */ +MODULE_NAME_DECLARATION(BUILD_REFERENCE) + /* This section can be used for API validation logic. */ void showMenu() { diff --git a/RemoteActionMapping/test/ramTestClient.cpp b/RemoteActionMapping/test/ramTestClient.cpp index 9912e41b72..2fd8ab4b37 100644 --- a/RemoteActionMapping/test/ramTestClient.cpp +++ b/RemoteActionMapping/test/ramTestClient.cpp @@ -187,6 +187,8 @@ const int_vector_t lgTVIRData[MAX_MSO_RF_CODES] = {0x04, 0x11, 0x06, 0x22, 0x02, 0x00, 0xD2, 0x00, 0x90, 0x00, 0xEB, 0x5D, 0x90, 0x00, 0x6C, 0x26, 0xCA, 0x08, 0x65, 0x04, 0xCA, 0x08, 0x32, 0x02, 0x90, 0x00, 0xA6, 0x01, 0x90, 0x00, 0x8D, 0x00, 0x25, 0x54, 0x55, 0x55, 0x54, 0x45, 0x44, 0x44, 0x44, 0x45, 0x45, 0x55, 0x55, 0x54, 0x54, 0x44, 0x41, 0x30} }; +/* Declare module name */ +MODULE_NAME_DECLARATION(BUILD_REFERENCE) /* This section can be used for API validation logic. */ void showMenu() diff --git a/StateObserver/test/STOBSThunderClient.cpp b/StateObserver/test/STOBSThunderClient.cpp index d242b65e19..85b150aa05 100644 --- a/StateObserver/test/STOBSThunderClient.cpp +++ b/StateObserver/test/STOBSThunderClient.cpp @@ -29,6 +29,10 @@ using namespace std; using namespace WPEFramework; JSONRPC::LinkType *remoteObject = NULL; + +/* Declare module name */ +MODULE_NAME_DECLARATION(BUILD_REFERENCE) + void showMenu() { cout<<"Enter your choice\n"; diff --git a/TextToSpeech/test/TTSThunderAPITest.cpp b/TextToSpeech/test/TTSThunderAPITest.cpp index 6698257fca..2317ce439a 100644 --- a/TextToSpeech/test/TTSThunderAPITest.cpp +++ b/TextToSpeech/test/TTSThunderAPITest.cpp @@ -66,6 +66,9 @@ static int currentSpeechId = 0; #define OPT_BLOCK_TILL_INPUT 13 #define OPT_SLEEP 14 +/* Declare module name */ +MODULE_NAME_DECLARATION(BUILD_REFERENCE) + void showMenu() { cout << endl;