summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>2014-04-30 08:58:38 +0200
committerNobuhiko Tanibata <NOBUHIKO_TANIBATA@xddp.denso.co.jp>2014-05-30 16:58:24 +0900
commit6f316340587e6ec404bc6987f0d8df205d33e72c (patch)
tree570f28b127a7d441439079d2f3d42cd67693e41f
parentc57b4de740422f375719f5bb1bdf3dcbe3487ca1 (diff)
downloadwayland-ivi-extension-6f316340587e6ec404bc6987f0d8df205d33e72c.tar.gz
removed compiler warnings in unit tests
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
-rw-r--r--ivi-layermanagement-api/test/ilm_control_test.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ivi-layermanagement-api/test/ilm_control_test.cpp b/ivi-layermanagement-api/test/ilm_control_test.cpp
index 09c9eef..8d4add3 100644
--- a/ivi-layermanagement-api/test/ilm_control_test.cpp
+++ b/ivi-layermanagement-api/test/ilm_control_test.cpp
@@ -908,7 +908,7 @@ TEST_F(IlmCommandTest, ilm_getPropertiesOfSurface_InvalidInput) {
}
TEST_F(IlmCommandTest, ilm_takeScreenshot) {
- char* outputFile = "/tmp/test.bmp";
+ const char* outputFile = "/tmp/test.bmp";
// make sure the file is not there before
FILE* f = fopen(outputFile, "r");
if (f!=NULL){
@@ -927,7 +927,7 @@ TEST_F(IlmCommandTest, ilm_takeScreenshot) {
}
TEST_F(IlmCommandTest, ilm_takeScreenshot_InvalidInputs) {
- char* outputFile = "/tmp/test.bmp";
+ const char* outputFile = "/tmp/test.bmp";
// make sure the file is not there before
FILE* f = fopen(outputFile, "r");
if (f!=NULL){
@@ -943,7 +943,7 @@ TEST_F(IlmCommandTest, ilm_takeScreenshot_InvalidInputs) {
}
TEST_F(IlmCommandTest, ilm_takeLayerScreenshot) {
- char* outputFile = "/tmp/test.bmp";
+ const char* outputFile = "/tmp/test.bmp";
// make sure the file is not there before
FILE* f = fopen(outputFile, "r");
if (f!=NULL){
@@ -966,7 +966,7 @@ TEST_F(IlmCommandTest, ilm_takeLayerScreenshot) {
}
TEST_F(IlmCommandTest, ilm_takeLayerScreenshot_InvalidInputs) {
- char* outputFile = "/tmp/test.bmp";
+ const char* outputFile = "/tmp/test.bmp";
// make sure the file is not there before
FILE* f = fopen(outputFile, "r");
if (f!=NULL){
@@ -982,7 +982,7 @@ TEST_F(IlmCommandTest, ilm_takeLayerScreenshot_InvalidInputs) {
}
TEST_F(IlmCommandTest, ilm_takeSurfaceScreenshot) {
- char* outputFile = "/tmp/test.bmp";
+ const char* outputFile = "/tmp/test.bmp";
// make sure the file is not there before
FILE* f = fopen(outputFile, "r");
if (f!=NULL){
@@ -1005,7 +1005,7 @@ TEST_F(IlmCommandTest, ilm_takeSurfaceScreenshot) {
}
TEST_F(IlmCommandTest, ilm_takeSurfaceScreenshot_InvalidInputs) {
- char* outputFile = "/tmp/test.bmp";
+ const char* outputFile = "/tmp/test.bmp";
// make sure the file is not there before
FILE* f = fopen(outputFile, "r");
if (f!=NULL){