Imported Upstream version 3.8.0
[platform/upstream/protobuf.git] / src / google / protobuf / util / internal / json_objectwriter_test.cc
index 0dc710c..032977f 100644 (file)
@@ -39,8 +39,8 @@ namespace protobuf {
 namespace util {
 namespace converter {
 
-using google::protobuf::io::CodedOutputStream;
-using google::protobuf::io::StringOutputStream;
+using io::CodedOutputStream;
+using io::StringOutputStream;
 
 class JsonObjectWriterTest : public ::testing::Test {
  protected:
@@ -55,7 +55,7 @@ class JsonObjectWriterTest : public ::testing::Test {
     delete str_stream_;
   }
 
-  string output_;
+  std::string output_;
   StringOutputStream* const str_stream_;
   CodedOutputStream* const out_stream_;
   JsonObjectWriter* ow_;
@@ -175,7 +175,7 @@ TEST_F(JsonObjectWriterTest, RenderPrimitives) {
 }
 
 TEST_F(JsonObjectWriterTest, BytesEncodesAsNonWebSafeBase64) {
-  string s;
+  std::string s;
   s.push_back('\377');
   s.push_back('\357');
   ow_ = new JsonObjectWriter("", out_stream_);