Lines Matching refs:main_dict
874 DictionaryValue main_dict; in TEST() local
885 main_dict.Set("bool", bool_value.CreateDeepCopy()); in TEST()
886 main_dict.Set("int", int_value.CreateDeepCopy()); in TEST()
887 main_dict.Set("double", double_value.CreateDeepCopy()); in TEST()
888 main_dict.Set("string", string_value.CreateDeepCopy()); in TEST()
889 main_dict.Set("binary", binary_value.CreateDeepCopy()); in TEST()
890 main_dict.Set("dict", dict_value.CreateDeepCopy()); in TEST()
891 main_dict.Set("list", list_value.CreateDeepCopy()); in TEST()
901 EXPECT_TRUE(main_dict.Get("bool", NULL)); in TEST()
902 EXPECT_TRUE(main_dict.Get("int", NULL)); in TEST()
903 EXPECT_TRUE(main_dict.Get("double", NULL)); in TEST()
904 EXPECT_TRUE(main_dict.Get("string", NULL)); in TEST()
905 EXPECT_TRUE(main_dict.Get("binary", NULL)); in TEST()
906 EXPECT_TRUE(main_dict.Get("dict", NULL)); in TEST()
907 EXPECT_TRUE(main_dict.Get("list", NULL)); in TEST()
908 EXPECT_FALSE(main_dict.Get("DNE", NULL)); in TEST()
910 EXPECT_TRUE(main_dict.GetBoolean("bool", NULL)); in TEST()
911 EXPECT_FALSE(main_dict.GetBoolean("int", NULL)); in TEST()
912 EXPECT_FALSE(main_dict.GetBoolean("double", NULL)); in TEST()
913 EXPECT_FALSE(main_dict.GetBoolean("string", NULL)); in TEST()
914 EXPECT_FALSE(main_dict.GetBoolean("binary", NULL)); in TEST()
915 EXPECT_FALSE(main_dict.GetBoolean("dict", NULL)); in TEST()
916 EXPECT_FALSE(main_dict.GetBoolean("list", NULL)); in TEST()
917 EXPECT_FALSE(main_dict.GetBoolean("DNE", NULL)); in TEST()
919 EXPECT_FALSE(main_dict.GetInteger("bool", NULL)); in TEST()
920 EXPECT_TRUE(main_dict.GetInteger("int", NULL)); in TEST()
921 EXPECT_FALSE(main_dict.GetInteger("double", NULL)); in TEST()
922 EXPECT_FALSE(main_dict.GetInteger("string", NULL)); in TEST()
923 EXPECT_FALSE(main_dict.GetInteger("binary", NULL)); in TEST()
924 EXPECT_FALSE(main_dict.GetInteger("dict", NULL)); in TEST()
925 EXPECT_FALSE(main_dict.GetInteger("list", NULL)); in TEST()
926 EXPECT_FALSE(main_dict.GetInteger("DNE", NULL)); in TEST()
929 EXPECT_FALSE(main_dict.GetDouble("bool", NULL)); in TEST()
930 EXPECT_TRUE(main_dict.GetDouble("int", NULL)); in TEST()
931 EXPECT_TRUE(main_dict.GetDouble("double", NULL)); in TEST()
932 EXPECT_FALSE(main_dict.GetDouble("string", NULL)); in TEST()
933 EXPECT_FALSE(main_dict.GetDouble("binary", NULL)); in TEST()
934 EXPECT_FALSE(main_dict.GetDouble("dict", NULL)); in TEST()
935 EXPECT_FALSE(main_dict.GetDouble("list", NULL)); in TEST()
936 EXPECT_FALSE(main_dict.GetDouble("DNE", NULL)); in TEST()
938 EXPECT_FALSE(main_dict.GetString("bool", static_cast<std::string*>(NULL))); in TEST()
939 EXPECT_FALSE(main_dict.GetString("int", static_cast<std::string*>(NULL))); in TEST()
940 EXPECT_FALSE(main_dict.GetString("double", static_cast<std::string*>(NULL))); in TEST()
941 EXPECT_TRUE(main_dict.GetString("string", static_cast<std::string*>(NULL))); in TEST()
942 EXPECT_FALSE(main_dict.GetString("binary", static_cast<std::string*>(NULL))); in TEST()
943 EXPECT_FALSE(main_dict.GetString("dict", static_cast<std::string*>(NULL))); in TEST()
944 EXPECT_FALSE(main_dict.GetString("list", static_cast<std::string*>(NULL))); in TEST()
945 EXPECT_FALSE(main_dict.GetString("DNE", static_cast<std::string*>(NULL))); in TEST()
947 EXPECT_FALSE(main_dict.GetString("bool", static_cast<string16*>(NULL))); in TEST()
948 EXPECT_FALSE(main_dict.GetString("int", static_cast<string16*>(NULL))); in TEST()
949 EXPECT_FALSE(main_dict.GetString("double", static_cast<string16*>(NULL))); in TEST()
950 EXPECT_TRUE(main_dict.GetString("string", static_cast<string16*>(NULL))); in TEST()
951 EXPECT_FALSE(main_dict.GetString("binary", static_cast<string16*>(NULL))); in TEST()
952 EXPECT_FALSE(main_dict.GetString("dict", static_cast<string16*>(NULL))); in TEST()
953 EXPECT_FALSE(main_dict.GetString("list", static_cast<string16*>(NULL))); in TEST()
954 EXPECT_FALSE(main_dict.GetString("DNE", static_cast<string16*>(NULL))); in TEST()
956 EXPECT_FALSE(main_dict.GetBinary("bool", NULL)); in TEST()
957 EXPECT_FALSE(main_dict.GetBinary("int", NULL)); in TEST()
958 EXPECT_FALSE(main_dict.GetBinary("double", NULL)); in TEST()
959 EXPECT_FALSE(main_dict.GetBinary("string", NULL)); in TEST()
960 EXPECT_TRUE(main_dict.GetBinary("binary", NULL)); in TEST()
961 EXPECT_FALSE(main_dict.GetBinary("dict", NULL)); in TEST()
962 EXPECT_FALSE(main_dict.GetBinary("list", NULL)); in TEST()
963 EXPECT_FALSE(main_dict.GetBinary("DNE", NULL)); in TEST()
965 EXPECT_FALSE(main_dict.GetDictionary("bool", NULL)); in TEST()
966 EXPECT_FALSE(main_dict.GetDictionary("int", NULL)); in TEST()
967 EXPECT_FALSE(main_dict.GetDictionary("double", NULL)); in TEST()
968 EXPECT_FALSE(main_dict.GetDictionary("string", NULL)); in TEST()
969 EXPECT_FALSE(main_dict.GetDictionary("binary", NULL)); in TEST()
970 EXPECT_TRUE(main_dict.GetDictionary("dict", NULL)); in TEST()
971 EXPECT_FALSE(main_dict.GetDictionary("list", NULL)); in TEST()
972 EXPECT_FALSE(main_dict.GetDictionary("DNE", NULL)); in TEST()
974 EXPECT_FALSE(main_dict.GetList("bool", NULL)); in TEST()
975 EXPECT_FALSE(main_dict.GetList("int", NULL)); in TEST()
976 EXPECT_FALSE(main_dict.GetList("double", NULL)); in TEST()
977 EXPECT_FALSE(main_dict.GetList("string", NULL)); in TEST()
978 EXPECT_FALSE(main_dict.GetList("binary", NULL)); in TEST()
979 EXPECT_FALSE(main_dict.GetList("dict", NULL)); in TEST()
980 EXPECT_TRUE(main_dict.GetList("list", NULL)); in TEST()
981 EXPECT_FALSE(main_dict.GetList("DNE", NULL)); in TEST()
983 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("bool", NULL)); in TEST()
984 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("int", NULL)); in TEST()
985 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("double", NULL)); in TEST()
986 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("string", NULL)); in TEST()
987 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("binary", NULL)); in TEST()
988 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("dict", NULL)); in TEST()
989 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("list", NULL)); in TEST()
990 EXPECT_FALSE(main_dict.GetWithoutPathExpansion("DNE", NULL)); in TEST()
992 EXPECT_TRUE(main_dict.GetBooleanWithoutPathExpansion("bool", NULL)); in TEST()
993 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("int", NULL)); in TEST()
994 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("double", NULL)); in TEST()
995 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("string", NULL)); in TEST()
996 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("binary", NULL)); in TEST()
997 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("dict", NULL)); in TEST()
998 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("list", NULL)); in TEST()
999 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("DNE", NULL)); in TEST()
1001 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("bool", NULL)); in TEST()
1002 EXPECT_TRUE(main_dict.GetIntegerWithoutPathExpansion("int", NULL)); in TEST()
1003 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("double", NULL)); in TEST()
1004 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("string", NULL)); in TEST()
1005 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("binary", NULL)); in TEST()
1006 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("dict", NULL)); in TEST()
1007 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("list", NULL)); in TEST()
1008 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("DNE", NULL)); in TEST()
1010 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("bool", NULL)); in TEST()
1011 EXPECT_TRUE(main_dict.GetDoubleWithoutPathExpansion("int", NULL)); in TEST()
1012 EXPECT_TRUE(main_dict.GetDoubleWithoutPathExpansion("double", NULL)); in TEST()
1013 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("string", NULL)); in TEST()
1014 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("binary", NULL)); in TEST()
1015 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("dict", NULL)); in TEST()
1016 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("list", NULL)); in TEST()
1017 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("DNE", NULL)); in TEST()
1019 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1021 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1023 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1025 EXPECT_TRUE(main_dict.GetStringWithoutPathExpansion( in TEST()
1027 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1029 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1031 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1033 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1036 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1038 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1040 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1042 EXPECT_TRUE(main_dict.GetStringWithoutPathExpansion( in TEST()
1044 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1046 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1048 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1050 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1056 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("bool", NULL)); in TEST()
1057 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("int", NULL)); in TEST()
1058 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("double", NULL)); in TEST()
1059 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("string", NULL)); in TEST()
1060 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("binary", NULL)); in TEST()
1061 EXPECT_TRUE(main_dict.GetDictionaryWithoutPathExpansion("dict", NULL)); in TEST()
1062 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("list", NULL)); in TEST()
1063 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("DNE", NULL)); in TEST()
1065 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("bool", NULL)); in TEST()
1066 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("int", NULL)); in TEST()
1067 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("double", NULL)); in TEST()
1068 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("string", NULL)); in TEST()
1069 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("binary", NULL)); in TEST()
1070 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("dict", NULL)); in TEST()
1071 EXPECT_TRUE(main_dict.GetListWithoutPathExpansion("list", NULL)); in TEST()
1072 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("DNE", NULL)); in TEST()