Commit 4ec6ab95 authored by Philippe Coval's avatar Philippe Coval Committed by Phil Coval

build: Include gtest header using system path

Change-Id: If22cffaa199d1057497019fd45c502b8ae69b8de
Signed-off-by: default avatarPhilippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20341Tested-by: default avatarjenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: default avatarDan Mihai <Daniel.Mihai@microsoft.com>
parent 4af355d2
......@@ -21,7 +21,7 @@
#include "iotivity_config.h"
#include "plugininterface.h"
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
......
......@@ -24,7 +24,7 @@
#include <mutex>
#include <condition_variable>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ocrandom.h"
#include "octypes.h"
#include "oic_time.h"
......
......@@ -24,7 +24,7 @@
#include <mutex>
#include <condition_variable>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ocrandom.h"
#include "ipca.h"
#include "testelevatorserver.h"
......
......@@ -23,7 +23,7 @@ extern "C" {
#include "ocrandom.h"
}
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "math.h"
......
......@@ -24,7 +24,7 @@ extern "C" {
#include "ocrandom.h"
}
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "math.h"
#define ARR_SIZE (20)
......
......@@ -24,7 +24,7 @@ extern "C" {
#include "oic_malloc.h"
}
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
......
......@@ -33,7 +33,7 @@
#define _POSIX_C_SOURCE 200809L
#endif // _POSIX_C_SOURCE
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <oic_string.h>
#include <oic_malloc.h>
......
......@@ -19,7 +19,7 @@
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "oic_time.h"
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <stdint.h>
// Tests to get current time in milli seconds
......
......@@ -19,7 +19,7 @@
******************************************************************/
#include "platform_features.h"
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "cainterface.h"
#include "cautilinterface.h"
#include "cacommon.h"
......
......@@ -23,7 +23,7 @@
#pragma warning(disable : 4200)
#endif
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "cainterface.h"
#include "cautilinterface.h"
#include "cacommon.h"
......
......@@ -25,7 +25,7 @@
#include <stdio.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "oic_malloc.h"
#include "caprotocolmessage.h"
......
......@@ -19,7 +19,7 @@
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "iotivity_config.h"
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#ifdef HAVE_PTHREAD_H
#include <pthread.h>
......
......@@ -34,7 +34,7 @@
#endif // _POSIX_C_SOURCE
#include "iotivity_config.h"
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "octhread.h"
#include <cathreadpool.h>
......
......@@ -25,7 +25,7 @@
#include <cinttypes>
#include "iotivity_config.h"
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "time.h"
#include "octypes.h"
#ifdef HAVE_WINSOCK2_H
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "uarraylist.h"
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ulinklist.h"
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "uqueue.h"
......
......@@ -24,7 +24,7 @@ extern "C" {
}
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
......
......@@ -32,7 +32,7 @@ extern "C"
#include "payload_logging.h"
}
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
......
......@@ -33,7 +33,7 @@ extern "C"
#include "coap/pdu.h"
}
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
......
......@@ -17,7 +17,7 @@
* limitations under the License.
*
* *****************************************************************/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "credentialgenerator.h"
#include "oic_malloc.h"
......
......@@ -17,7 +17,7 @@
* limitations under the License.
*
* *****************************************************************/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ocprovisioningmanager.h"
static OicSecAcl_t acl1;
......
......@@ -20,7 +20,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ocstack.h"
#include "utlist.h"
#include "logger.h"
......
......@@ -17,7 +17,7 @@
* limitations under the License.
*
* *****************************************************************/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "pmutility.h"
#include "pmutilityinternal.h"
#include "doxmresource.h"
......
......@@ -18,7 +18,7 @@
*
* *****************************************************************/
#include "iotivity_config.h"
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "provisioningdatabasemanager.h"
#ifdef _MSC_VER
......
......@@ -17,7 +17,7 @@
* limitations under the License.
*
* *****************************************************************/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "secureresourceprovider.h"
static OicSecAcl_t acl;
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <coap/utlist.h>
#include <sys/stat.h>
#include "ocstack.h"
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "cainterface.h"
#include "ocstack.h"
#include "ocpayload.h"
......
......@@ -18,7 +18,7 @@
*
******************************************************************/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "base64.h"
#include <stdlib.h>
#include <stdint.h>
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ocpayload.h"
#include "ocstack.h"
#include "oic_malloc.h"
......
......@@ -19,7 +19,7 @@
******************************************************************/
#ifdef __WITH_DTLS__
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "logger.h"
#include "ocpayload.h"
#include "ocstack.h"
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "directpairing.h"
using namespace std;
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ocstack.h"
#include "ocserverrequest.h"
#include "oic_string.h"
......
......@@ -19,7 +19,7 @@
//Not supported on Arduino due lack of absolute time need to implement iCalendar
#ifndef WITH_ARDUINO
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "iotvticalendar.h"
#include "logger.h"
......
......@@ -18,7 +18,7 @@
*
******************************************************************/
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "pbkdf2.h"
#include <stdlib.h>
#include <stdint.h>
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ocstack.h"
#include "cainterface.h"
#include "srmresourcestrings.h"
......
......@@ -22,7 +22,7 @@
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ocpayload.h"
#include "ocstack.h"
......
......@@ -19,7 +19,7 @@
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "iotivity_config.h"
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
......
......@@ -18,7 +18,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "oic_malloc.h"
#include "ocstack.h"
#include <stdlib.h>
......
......@@ -16,7 +16,7 @@
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "ocstack.h"
#include "srmutility.h"
#include "oic_string.h"
......
......@@ -29,7 +29,7 @@ extern "C"
#include "oic_malloc.h"
}
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
......
......@@ -31,7 +31,7 @@ extern "C"
#include "ocresourcehandler.h"
}
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
......
......@@ -20,7 +20,7 @@
#include <iostream>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "HippoMocks/hippomocks.h"
#include "OCPlatform.h"
......
......@@ -19,7 +19,7 @@
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include <unistd.h>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "HippoMocks/hippomocks.h"
#include "BrokerTypes.h"
......
......@@ -17,7 +17,7 @@
// limitations under the License.
//
//-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "HippoMocks/hippomocks.h"
#include "OCPlatform.h"
......
......@@ -22,7 +22,7 @@
#include <unistd.h>
#include <memory>
#include "gtest/gtest.h"
#include <gtest/gtest.h>
#include "HippoMocks/hippomocks.h"
#include "OCResource.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment