test Picture : Remove unnecessary namespace
authorJunsuChoi <jsuya.choi@samsung.com>
Thu, 28 Oct 2021 04:45:58 +0000 (13:45 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 28 Oct 2021 06:19:31 +0000 (15:19 +0900)
Remove `std::`

test/testPicture.cpp

index 677489a..66df5ad 100644 (file)
@@ -129,7 +129,7 @@ TEST_CASE("Load PNG file from data", "[tvgPicture]")
     REQUIRE(picture);
 
     //Open file
-    ifstream file(TEST_DIR"/test.png", std::ios::in | std::ios::binary);
+    ifstream file(TEST_DIR"/test.png", ios::in | ios::binary);
     REQUIRE(file.is_open());
     auto size = sizeof(uint32_t) * (1000*1000);
     auto data = (char*)malloc(size);
@@ -170,13 +170,13 @@ TEST_CASE("Load JPG file from data", "[tvgPicture]")
     REQUIRE(picture);
 
     //Open file
-    ifstream file(TEST_DIR"/test.jpg", std::ios::in | std::ios::binary);
+    ifstream file(TEST_DIR"/test.jpg", ios::in | ios::binary);
     REQUIRE(file.is_open());
     auto begin = file.tellg();
-    file.seekg(0, std::ios::end);
+    file.seekg(0, ios::end);
     auto size = file.tellg() - begin;
     auto data = (char*)malloc(size);
-    file.seekg(0, std::ios::beg);
+    file.seekg(0, ios::beg);
     file.read(data, size);
     file.close();
 
@@ -214,13 +214,13 @@ TEST_CASE("Load TVG file from data", "[tvgPicture]")
     REQUIRE(picture);
 
     //Open file
-    ifstream file(TEST_DIR"/tag.tvg", std::ios::in | std::ios::binary);
+    ifstream file(TEST_DIR"/tag.tvg", ios::in | ios::binary);
     REQUIRE(file.is_open());
     auto begin = file.tellg();
-    file.seekg(0, std::ios::end);
+    file.seekg(0, ios::end);
     auto size = file.tellg() - begin;
     auto data = (char*)malloc(size);
-    file.seekg(0, std::ios::beg);
+    file.seekg(0, ios::beg);
     file.read(data, size);
     file.close();