Lines Matching refs:getCapacity
68 … *pStr == '\0' && aStrBuf.getCapacity() == 16) << "New OStringBuffer containing no characters"; in TEST_F()
84 aStrBuf.getCapacity() == aStrBuftmp.getCapacity() && in TEST_F()
106 ! *(aStrBuf1.getStr()) && aStrBuf1.getCapacity() == kTestStr2Len && in TEST_F()
108 …! *(aStrBuf2.getStr()) && aStrBuf2.getCapacity() == kSInt32Max) << "New OStringBuffer containing n… in TEST_F()
112 aStrBuf1.getCapacity() == kTestStr2Len && in TEST_F()
115 …aStrBuf2.getCapacity() == 0) << "New OStringBuffer containing no characters and contain assigned c… in TEST_F()
129 …aStrBuf3.getCapacity() == kNonSInt32Max) << "New OStringBuffer containing no characters and contai… in TEST_F()
140 aStrBuf.getCapacity() == leg+16) << "New OStringBuffer from Ostring"; in TEST_F()
182 ASSERT_TRUE(lastRes && ( aStrBuf1.getCapacity() == 0 ) && in TEST_F()
194 ASSERT_TRUE(lastRes && ( aStrBuf2.getCapacity() == 0 ) && in TEST_F()
206 ASSERT_TRUE(lastRes && ( aStrBuf3.getCapacity() == 0 ) && in TEST_F()
218 ASSERT_TRUE(lastRes && ( aStrBuf4.getCapacity() == 0 ) && in TEST_F()
229 ASSERT_TRUE(lastRes && ( aStrBuf5.getCapacity() == 0 ) && in TEST_F()
240 ASSERT_TRUE(lastRes && ( aStrBuf6.getCapacity() == 0 ) && in TEST_F()
251 ASSERT_TRUE(lastRes && ( aStrBuf7.getCapacity() == 0 ) && in TEST_F()
262 ASSERT_TRUE(lastRes && ( aStrBuf8.getCapacity() == 0 ) && in TEST_F()
359 class getCapacity : public ::testing::Test class
383 TEST_F(getCapacity, getCapacity_001) in TEST_F() argument
388 ASSERT_TRUE(aStrBuf.getCapacity()== expVal) << "capacity of ascii string"; in TEST_F()
392 TEST_F(getCapacity, getCapacity_002) in TEST_F() argument
397 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of ascci string of size 1"; in TEST_F()
400 TEST_F(getCapacity, getCapacity_003) in TEST_F() argument
405 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of empty string"; in TEST_F()
408 TEST_F(getCapacity, getCapacity_004) in TEST_F() argument
413 …ASSERT_TRUE(aStrBuf.getCapacity()== expVal) << "capacity of empty string (empty ascii string arg)"; in TEST_F()
416 TEST_F(getCapacity, getCapacity_005) in TEST_F() argument
421 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of empty string (string arg = '\\0')"; in TEST_F()
424 TEST_F(getCapacity, getCapacity_006) in TEST_F() argument
429 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity(>16) of ascii string"; in TEST_F()
432 TEST_F(getCapacity, getCapacity_007) in TEST_F() argument
437 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of empty string (default constructor)"; in TEST_F()
440 TEST_F(getCapacity, getCapacity_008) in TEST_F() argument
445 …ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of empty string (with capacity 214748364… in TEST_F()
448 TEST_F(getCapacity, getCapacity_009) in TEST_F() argument
453 …ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of empty string (with capacity -21474836… in TEST_F()
456 TEST_F(getCapacity, getCapacity_010) in TEST_F() argument
461 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of empty string (with capacity 16)"; in TEST_F()
464 TEST_F(getCapacity, getCapacity_011) in TEST_F() argument
469 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of empty string (with capacity 6)"; in TEST_F()
472 TEST_F(getCapacity, getCapacity_012) in TEST_F() argument
477 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of empty string (with capacity 0)"; in TEST_F()
480 TEST_F(getCapacity, getCapacity_013) in TEST_F() argument
485 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity of empty string (with capacity -2)"; in TEST_F()
502 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 16, minimum is 5"; in TEST_F()
514 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 16, minimum is -5"; in TEST_F()
526 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 16, minimum is 0"; in TEST_F()
538 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 16, minimum is 20"; in TEST_F()
550 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 16, minimum is 50"; in TEST_F()
562 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 6, minimum is 20"; in TEST_F()
574 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 6, minimum is 2"; in TEST_F()
586 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 6, minimum is -6"; in TEST_F()
598 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 6, minimum is -6"; in TEST_F()
610 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 0, minimum is 6"; in TEST_F()
622 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 0, minimum is 1"; in TEST_F()
634 ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 0, minimum is -1"; in TEST_F()
646 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 2147483647, minimum is 65535"; in TEST_F()
658 …ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 2147483647, minimum is 21474836… in TEST_F()
670 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 2147483647, minimum is -1"; in TEST_F()
682 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 2147483647, minimum is 0"; in TEST_F()
694 …ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to 2147483647, minimum is -2147483… in TEST_F()
706 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to -2147483648, minimum is 65535"; in TEST_F()
718 …ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to -2147483648, minimum is 2147483… in TEST_F()
730 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to -2147483648, minimum is -1"; in TEST_F()
742 … ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to -2147483648, minimum is 0"; in TEST_F()
754 …ASSERT_TRUE(aStrBuf.getCapacity() == expVal) << "capacity equal to -2147483648, minimum is -214748… in TEST_F()
796 …aStrBuf.getCapacity() == expVal3) << "newLength more than the capacity of OStringBuffer(kTestStr1)… in TEST_F()
812 … aStrBuf.getCapacity() == expVal3) << "newLength more than the length of OStringBuffer(kTestStr1)"; in TEST_F()
828 … aStrBuf.getCapacity() == expVal3) << "newLength equal to the length of OStringBuffer(kTestStr1)"; in TEST_F()
844 … aStrBuf.getCapacity() == expVal3) << "newLength less than the length of OStringBuffer(kTestStr1)"; in TEST_F()
860 aStrBuf.getCapacity() == expVal3) << "newLength equal to 0"; in TEST_F()
876 … aStrBuf.getCapacity() == expVal3) << "newLength more than the capacity of OStringBuffer(1)"; in TEST_F()
892 … aStrBuf.getCapacity() == expVal3) << "newLength equal to the length of OStringBuffer(1)"; in TEST_F()
908 … aStrBuf.getCapacity() == expVal3) << "newLength less than the length of OUStringBuffer(1)"; in TEST_F()
924 … aStrBuf.getCapacity() == expVal3) << "newLength more than the capacity of OStringBuffer()"; in TEST_F()
940 … aStrBuf.getCapacity() == expVal3) << "newLength more than the length of OStringBuffer()"; in TEST_F()
956 … aStrBuf.getCapacity() == expVal3) << "newLength more than the length of OStringBuffer()"; in TEST_F()
972 … aStrBuf.getCapacity() == expVal3) << "newLength more than the capacity of OStringBuffer("")"; in TEST_F()
988 … aStrBuf.getCapacity() == expVal3) << "newLength more than the length of OStringBuffer("")"; in TEST_F()
1004 … aStrBuf.getCapacity() == expVal3) << "newLength less than the length of OStringBuffer("")"; in TEST_F()
1020 … aStrBuf.getCapacity() == expVal3) << "newLength more than the length of OStringBuffer(\0)"; in TEST_F()
1036 … aStrBuf.getCapacity() == expVal3) << "newLength more than the length of OStringBuffer(\0)"; in TEST_F()
1052 … aStrBuf.getCapacity() == expVal3) << "newLength less than the length of OStringBuffer(\0)"; in TEST_F()
1068 …aStrBuf.getCapacity() == expVal3) << "newLength more than the capacity of OStringBuffer(kTestStr2)… in TEST_F()
1084 … aStrBuf.getCapacity() == expVal3) << "newLength more than the length of OStringBuffer(kTestStr2)"; in TEST_F()
1100 … aStrBuf.getCapacity() == expVal3) << "newLength equal to the length of OUStringBuffer(kTestStr2)"; in TEST_F()
1116 … aStrBuf.getCapacity() == expVal3) << "newLength less than the length of OUStringBuffer(TestStr2)"; in TEST_F()
1132 aStrBuf.getCapacity() == expVal3) << "newLength equal to 0"; in TEST_F()