OSDN Git Service

Fix String8::operator+
authorKenny Root <kroot@google.com>
Thu, 5 Aug 2010 23:21:23 +0000 (16:21 -0700)
committerKenny Root <kroot@google.com>
Fri, 6 Aug 2010 16:00:10 +0000 (09:00 -0700)
commitaa966638b9428e78837eff93ef29f10f31193256
treefbb34927bd2793bf953000d03a2a5c46440dafa9
parent9dcf6cf54153c89bfcc35dd6f470a5fc44311a77
Fix String8::operator+

The LHS was ignored when using:
  String8 + String8
  String8 + (const char*)

Add unit tests for above.

Bug: 2898473
Change-Id: Ic8fe7be668b665c36aaaa3fc3c3ffdfff0fbba25
include/utils/String8.h
libs/utils/tests/Android.mk
libs/utils/tests/String8_test.cpp [new file with mode: 0644]