Lines Matching refs:Box

292  * Function: Box and Unbox
294 * FunctionPoints: Box and Unbox
296 * CaseDescription: Verify Box and Unbox method of Boolean.
300 sptr<IBoolean> boolean = Boolean::Box(true);
302 boolean = Boolean::Box(false);
349 EXPECT_EQ(Object::ToString(Boolean::Box(true)), "true");
350 EXPECT_EQ(Object::ToString(Boolean::Box(false)), "false");
371 * Function: Box and Unbox
373 * FunctionPoints: Box and Unbox
375 * CaseDescription: Verify Box and Unbox method of Char.
379 sptr<IChar> charObj = Char::Box(U'天');
424 EXPECT_EQ(Object::ToString(Char::Box(U'好')), "好");
473 * Function: Box and Unbox
475 * FunctionPoints: Box and Unbox
477 * CaseDescription: Verify Box and Unbox method of Byte.
481 sptr<IByte> byteObj = Byte::Box(129);
526 EXPECT_EQ(Object::ToString(Byte::Box(129)), "129");
547 * Function: Box and Unbox
549 * FunctionPoints: Box and Unbox
551 * CaseDescription: Verify Box and Unbox method of Short.
555 sptr<IShort> shortObj = Short::Box(32767);
600 EXPECT_EQ(Object::ToString(Short::Box(32767)), "32767");
621 * Function: Box and Unbox
623 * FunctionPoints: Box and Unbox
625 * CaseDescription: Verify Box and Unbox method of Integer.
629 sptr<IInteger> intObj = Integer::Box(2147483647);
674 EXPECT_EQ(Object::ToString(Integer::Box(-2147483648)), "-2147483648");
695 * Function: Box and Unbox
697 * FunctionPoints: Box and Unbox
699 * CaseDescription: Verify Box and Unbox method of Long.
703 sptr<ILong> longObj = Long::Box(2147483647L);
748 EXPECT_EQ(Object::ToString(Long::Box(-2147483647L)), "-9223372036854775807");
769 * Function: Box and Unbox
771 * FunctionPoints: Box and Unbox
773 * CaseDescription: Verify Box and Unbox method of Float.
777 sptr<IFloat> floatObj = Float::Box(-0.003);
822 EXPECT_EQ(Object::ToString(Float::Box(-10.00006)), "-10.000060");
843 * Function: Box and Unbox
845 * FunctionPoints: Box and Unbox
847 * CaseDescription: Verify Box and Unbox method of Double.
851 sptr<IDouble> doubleObj = Double::Box(-0.00003);
896 EXPECT_EQ(Object::ToString(Double::Box(-10.000006)), "-10.000006");
917 * Function: Box and Unbox
919 * FunctionPoints: Box and Unbox
921 * CaseDescription: Verify Box and Unbox method of String.
925 sptr<IString> stringObj = String::Box("1234567890");
970 EXPECT_EQ(Object::ToString(String::Box("-10.000006")), std::string("-10.000006"));