build: Include gtest header using system path 41/20341/7
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 12 May 2017 14:06:26 +0000 (16:06 +0200)
committerPhil Coval <philippe.coval@osg.samsung.com>
Fri, 16 Jun 2017 13:49:35 +0000 (13:49 +0000)
Change-Id: If22cffaa199d1057497019fd45c502b8ae69b8de
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/20341
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
46 files changed:
plugins/unittests/plugininterfacetest.cpp
resource/IPCA/unittests/IPCAElevatorClient.cpp
resource/IPCA/unittests/ipcaunittests.cpp
resource/c_common/ocrandom/test/android/randomtest.cpp
resource/c_common/ocrandom/test/randomtest.cpp
resource/c_common/oic_malloc/test/linux/oic_malloc_tests.cpp
resource/c_common/oic_string/test/linux/oic_string_tests.cpp
resource/c_common/oic_time/test/linux/oic_time_tests.cpp
resource/csdk/connectivity/test/ca_api_unittest.cpp
resource/csdk/connectivity/test/cablocktransfertest.cpp
resource/csdk/connectivity/test/caprotocolmessagetest.cpp
resource/csdk/connectivity/test/catests.cpp
resource/csdk/connectivity/test/octhread_tests.cpp
resource/csdk/connectivity/test/ssladapter_test.cpp
resource/csdk/connectivity/test/uarraylist_test.cpp
resource/csdk/connectivity/test/ulinklist_test.cpp
resource/csdk/connectivity/test/uqueue_test.cpp
resource/csdk/logger/test/loggertests.cpp
resource/csdk/resource-directory/unittests/rddatabase.cpp
resource/csdk/resource-directory/unittests/rdtests.cpp
resource/csdk/security/provisioning/unittest/credentialgeneratortest.cpp
resource/csdk/security/provisioning/unittest/ocprovisioningmanager.cpp
resource/csdk/security/provisioning/unittest/otmunittest.cpp
resource/csdk/security/provisioning/unittest/pmutilitytest.cpp
resource/csdk/security/provisioning/unittest/provisioningdatabasemanager.cpp
resource/csdk/security/provisioning/unittest/secureresourceprovider.cpp
resource/csdk/security/unittest/aclresourcetest.cpp
resource/csdk/security/unittest/amaclresourcetest.cpp
resource/csdk/security/unittest/base64tests.cpp
resource/csdk/security/unittest/credentialresource.cpp
resource/csdk/security/unittest/crlresourcetest.cpp
resource/csdk/security/unittest/directpairingtest.cpp
resource/csdk/security/unittest/doxmresource.cpp
resource/csdk/security/unittest/iotvticalendartest.cpp
resource/csdk/security/unittest/pbkdf2tests.cpp
resource/csdk/security/unittest/policyengine.cpp
resource/csdk/security/unittest/pstatresource.cpp
resource/csdk/security/unittest/securityresourcemanager.cpp
resource/csdk/security/unittest/srmtestcommon.cpp
resource/csdk/security/unittest/srmutility.cpp
resource/csdk/stack/test/cbortests.cpp
resource/csdk/stack/test/stacktests.cpp
service/resource-encapsulation/src/resourceBroker/unittest/DeviceAssociationUnitTest.cpp
service/resource-encapsulation/src/resourceBroker/unittest/DevicePresenceUnitTest.cpp
service/resource-encapsulation/src/resourceBroker/unittest/ResourceBrokerUnitTest.cpp
service/resource-encapsulation/src/resourceBroker/unittest/ResourcePresenceUnitTest.cpp

index 71f2194..25c40cb 100644 (file)
@@ -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>
index 8585f49..f9e85d4 100644 (file)
@@ -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"
index 39eafdf..c8d6f8c 100644 (file)
@@ -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"
index c115ac5..caf1cae 100644 (file)
@@ -23,7 +23,7 @@ extern "C" {
     #include "ocrandom.h"
 }
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "math.h"
 
 
index 5036113..6b24025 100644 (file)
@@ -24,7 +24,7 @@ extern "C" {
     #include "ocrandom.h"
 }
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "math.h"
 
 #define ARR_SIZE (20)
index e07ca0c..35b5b99 100644 (file)
@@ -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>
index 78845f5..2e13512 100644 (file)
@@ -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>
index 4e98ef2..3823ab3 100644 (file)
@@ -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
index b091308..1f741f0 100644 (file)
@@ -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"
index 2ec2c25..d36c03d 100644 (file)
@@ -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"
index 21f08f4..e05308b 100644 (file)
@@ -25,7 +25,7 @@
 
 #include <stdio.h>
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 
 #include "oic_malloc.h"
 #include "caprotocolmessage.h"
index 69eaa14..7ec54f5 100644 (file)
@@ -19,7 +19,7 @@
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
 #include "iotivity_config.h"
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 
 #ifdef HAVE_PTHREAD_H
 #include <pthread.h>
index 08081b3..dcf48f7 100644 (file)
@@ -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>
index c05c449..e02a04d 100644 (file)
@@ -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
index 46d39be..4a37b6c 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 
 #include "uarraylist.h"
 
index 9ef777a..2f133a0 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 
 #include "ulinklist.h"
 
index ba439a9..eaab792 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 
 #include "uqueue.h"
 
index 9e7b59a..0a9e4bc 100644 (file)
@@ -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>
index 36689be..d3d8910 100644 (file)
@@ -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>
index 1ed5e3b..b4cbf24 100644 (file)
@@ -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>
index f948ddf..9545a8f 100644 (file)
@@ -17,7 +17,7 @@
  * limitations under the License.
  *
  * *****************************************************************/
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "credentialgenerator.h"
 #include "oic_malloc.h"
 
index 5169567..44336b8 100644 (file)
@@ -17,7 +17,7 @@
  * limitations under the License.
  *
  * *****************************************************************/
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "ocprovisioningmanager.h"
 
 static OicSecAcl_t acl1;
index eac2694..1dde21a 100644 (file)
@@ -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"
index a2e5377..dafc6e8 100644 (file)
@@ -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"
index f6cd2a0..2af25c0 100644 (file)
@@ -18,7 +18,7 @@
  *
  * *****************************************************************/
 #include "iotivity_config.h"
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "provisioningdatabasemanager.h"
 
 #ifdef _MSC_VER
index 449f14d..234a9a1 100644 (file)
@@ -17,7 +17,7 @@
  * limitations under the License.
  *
  * *****************************************************************/
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "secureresourceprovider.h"
 
 static OicSecAcl_t acl;
index aa62c7d..4904136 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include <coap/utlist.h>
 #include <sys/stat.h>
 #include "ocstack.h"
index dbe82ff..0bef64f 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "cainterface.h"
 #include "ocstack.h"
 #include "ocpayload.h"
index 046c33c..1ae5287 100644 (file)
@@ -18,7 +18,7 @@
   *
   ******************************************************************/
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "base64.h"
 #include <stdlib.h>
 #include <stdint.h>
index ed53b55..446d900 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "ocpayload.h"
 #include "ocstack.h"
 #include "oic_malloc.h"
index 3ef3fea..bf40619 100644 (file)
@@ -19,7 +19,7 @@
 ******************************************************************/
 #ifdef __WITH_DTLS__
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "logger.h"
 #include "ocpayload.h"
 #include "ocstack.h"
index 4904b35..c99b928 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "directpairing.h"
 
 using namespace std;
index 482de2c..c2855ee 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "ocstack.h"
 #include "ocserverrequest.h"
 #include "oic_string.h"
index 80eb186..7909b69 100644 (file)
@@ -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"
 
index 2b76431..f1b14ee 100644 (file)
@@ -18,7 +18,7 @@
   *
   ******************************************************************/
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "pbkdf2.h"
 #include <stdlib.h>
 #include <stdint.h>
index 37926ed..4480af5 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "ocstack.h"
 #include "cainterface.h"
 #include "srmresourcestrings.h"
index 9c96d70..8fcc832 100644 (file)
@@ -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"
index 2141dd0..17f8629 100644 (file)
@@ -19,7 +19,7 @@
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
 #include "iotivity_config.h"
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #ifdef HAVE_PWD_H
 #include <pwd.h>
 #endif
index 314457c..f6ee09a 100644 (file)
@@ -18,7 +18,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "oic_malloc.h"
 #include "ocstack.h"
 #include <stdlib.h>
index 10dbaba..8488cc4 100644 (file)
@@ -16,7 +16,7 @@
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "ocstack.h"
 #include "srmutility.h"
 #include "oic_string.h"
index 7c2ecfa..0d00426 100644 (file)
@@ -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>
index 44e65ae..b6baddc 100644 (file)
@@ -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>
index 65646fe..3c2738c 100644 (file)
@@ -19,7 +19,7 @@
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 #include <unistd.h>
 
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "HippoMocks/hippomocks.h"
 
 #include "BrokerTypes.h"
index 69f1612..9d3f671 100644 (file)
@@ -17,7 +17,7 @@
 // limitations under the License.
 //
 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-#include "gtest/gtest.h"
+#include <gtest/gtest.h>
 #include "HippoMocks/hippomocks.h"
 
 #include "OCPlatform.h"