Lines Matching refs:main_dict
1626 DictionaryValue main_dict; in TEST() local
1637 main_dict.SetKey("bool", bool_value.Clone()); in TEST()
1638 main_dict.SetKey("int", int_value.Clone()); in TEST()
1639 main_dict.SetKey("double", double_value.Clone()); in TEST()
1640 main_dict.SetKey("string", string_value.Clone()); in TEST()
1641 main_dict.SetKey("binary", binary_value.Clone()); in TEST()
1642 main_dict.SetKey("dict", dict_value.Clone()); in TEST()
1643 main_dict.SetKey("list", list_value.Clone()); in TEST()
1653 EXPECT_TRUE(main_dict.Get("bool", nullptr)); in TEST()
1654 EXPECT_TRUE(main_dict.Get("int", nullptr)); in TEST()
1655 EXPECT_TRUE(main_dict.Get("double", nullptr)); in TEST()
1656 EXPECT_TRUE(main_dict.Get("string", nullptr)); in TEST()
1657 EXPECT_TRUE(main_dict.Get("binary", nullptr)); in TEST()
1658 EXPECT_TRUE(main_dict.Get("dict", nullptr)); in TEST()
1659 EXPECT_TRUE(main_dict.Get("list", nullptr)); in TEST()
1660 EXPECT_FALSE(main_dict.Get("DNE", nullptr)); in TEST()
1662 EXPECT_TRUE(main_dict.GetBoolean("bool", nullptr)); in TEST()
1663 EXPECT_FALSE(main_dict.GetBoolean("int", nullptr)); in TEST()
1664 EXPECT_FALSE(main_dict.GetBoolean("double", nullptr)); in TEST()
1665 EXPECT_FALSE(main_dict.GetBoolean("string", nullptr)); in TEST()
1666 EXPECT_FALSE(main_dict.GetBoolean("binary", nullptr)); in TEST()
1667 EXPECT_FALSE(main_dict.GetBoolean("dict", nullptr)); in TEST()
1668 EXPECT_FALSE(main_dict.GetBoolean("list", nullptr)); in TEST()
1669 EXPECT_FALSE(main_dict.GetBoolean("DNE", nullptr)); in TEST()
1671 EXPECT_FALSE(main_dict.GetInteger("bool", nullptr)); in TEST()
1672 EXPECT_TRUE(main_dict.GetInteger("int", nullptr)); in TEST()
1673 EXPECT_FALSE(main_dict.GetInteger("double", nullptr)); in TEST()
1674 EXPECT_FALSE(main_dict.GetInteger("string", nullptr)); in TEST()
1675 EXPECT_FALSE(main_dict.GetInteger("binary", nullptr)); in TEST()
1676 EXPECT_FALSE(main_dict.GetInteger("dict", nullptr)); in TEST()
1677 EXPECT_FALSE(main_dict.GetInteger("list", nullptr)); in TEST()
1678 EXPECT_FALSE(main_dict.GetInteger("DNE", nullptr)); in TEST()
1681 EXPECT_FALSE(main_dict.GetDouble("bool", nullptr)); in TEST()
1682 EXPECT_TRUE(main_dict.GetDouble("int", nullptr)); in TEST()
1683 EXPECT_TRUE(main_dict.GetDouble("double", nullptr)); in TEST()
1684 EXPECT_FALSE(main_dict.GetDouble("string", nullptr)); in TEST()
1685 EXPECT_FALSE(main_dict.GetDouble("binary", nullptr)); in TEST()
1686 EXPECT_FALSE(main_dict.GetDouble("dict", nullptr)); in TEST()
1687 EXPECT_FALSE(main_dict.GetDouble("list", nullptr)); in TEST()
1688 EXPECT_FALSE(main_dict.GetDouble("DNE", nullptr)); in TEST()
1690 EXPECT_FALSE(main_dict.GetString("bool", static_cast<std::string*>(nullptr))); in TEST()
1691 EXPECT_FALSE(main_dict.GetString("int", static_cast<std::string*>(nullptr))); in TEST()
1693 main_dict.GetString("double", static_cast<std::string*>(nullptr))); in TEST()
1695 main_dict.GetString("string", static_cast<std::string*>(nullptr))); in TEST()
1697 main_dict.GetString("binary", static_cast<std::string*>(nullptr))); in TEST()
1698 EXPECT_FALSE(main_dict.GetString("dict", static_cast<std::string*>(nullptr))); in TEST()
1699 EXPECT_FALSE(main_dict.GetString("list", static_cast<std::string*>(nullptr))); in TEST()
1700 EXPECT_FALSE(main_dict.GetString("DNE", static_cast<std::string*>(nullptr))); in TEST()
1702 EXPECT_FALSE(main_dict.GetString("bool", static_cast<string16*>(nullptr))); in TEST()
1703 EXPECT_FALSE(main_dict.GetString("int", static_cast<string16*>(nullptr))); in TEST()
1704 EXPECT_FALSE(main_dict.GetString("double", static_cast<string16*>(nullptr))); in TEST()
1705 EXPECT_TRUE(main_dict.GetString("string", static_cast<string16*>(nullptr))); in TEST()
1706 EXPECT_FALSE(main_dict.GetString("binary", static_cast<string16*>(nullptr))); in TEST()
1707 EXPECT_FALSE(main_dict.GetString("dict", static_cast<string16*>(nullptr))); in TEST()
1708 EXPECT_FALSE(main_dict.GetString("list", static_cast<string16*>(nullptr))); in TEST()
1709 EXPECT_FALSE(main_dict.GetString("DNE", static_cast<string16*>(nullptr))); in TEST()
1711 EXPECT_FALSE(main_dict.GetBinary("bool", nullptr)); in TEST()
1712 EXPECT_FALSE(main_dict.GetBinary("int", nullptr)); in TEST()
1713 EXPECT_FALSE(main_dict.GetBinary("double", nullptr)); in TEST()
1714 EXPECT_FALSE(main_dict.GetBinary("string", nullptr)); in TEST()
1715 EXPECT_TRUE(main_dict.GetBinary("binary", nullptr)); in TEST()
1716 EXPECT_FALSE(main_dict.GetBinary("dict", nullptr)); in TEST()
1717 EXPECT_FALSE(main_dict.GetBinary("list", nullptr)); in TEST()
1718 EXPECT_FALSE(main_dict.GetBinary("DNE", nullptr)); in TEST()
1720 EXPECT_FALSE(main_dict.GetDictionary("bool", nullptr)); in TEST()
1721 EXPECT_FALSE(main_dict.GetDictionary("int", nullptr)); in TEST()
1722 EXPECT_FALSE(main_dict.GetDictionary("double", nullptr)); in TEST()
1723 EXPECT_FALSE(main_dict.GetDictionary("string", nullptr)); in TEST()
1724 EXPECT_FALSE(main_dict.GetDictionary("binary", nullptr)); in TEST()
1725 EXPECT_TRUE(main_dict.GetDictionary("dict", nullptr)); in TEST()
1726 EXPECT_FALSE(main_dict.GetDictionary("list", nullptr)); in TEST()
1727 EXPECT_FALSE(main_dict.GetDictionary("DNE", nullptr)); in TEST()
1729 EXPECT_FALSE(main_dict.GetList("bool", nullptr)); in TEST()
1730 EXPECT_FALSE(main_dict.GetList("int", nullptr)); in TEST()
1731 EXPECT_FALSE(main_dict.GetList("double", nullptr)); in TEST()
1732 EXPECT_FALSE(main_dict.GetList("string", nullptr)); in TEST()
1733 EXPECT_FALSE(main_dict.GetList("binary", nullptr)); in TEST()
1734 EXPECT_FALSE(main_dict.GetList("dict", nullptr)); in TEST()
1735 EXPECT_TRUE(main_dict.GetList("list", nullptr)); in TEST()
1736 EXPECT_FALSE(main_dict.GetList("DNE", nullptr)); in TEST()
1738 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("bool", nullptr)); in TEST()
1739 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("int", nullptr)); in TEST()
1740 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("double", nullptr)); in TEST()
1741 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("string", nullptr)); in TEST()
1742 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("binary", nullptr)); in TEST()
1743 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("dict", nullptr)); in TEST()
1744 EXPECT_TRUE(main_dict.GetWithoutPathExpansion("list", nullptr)); in TEST()
1745 EXPECT_FALSE(main_dict.GetWithoutPathExpansion("DNE", nullptr)); in TEST()
1747 EXPECT_TRUE(main_dict.GetBooleanWithoutPathExpansion("bool", nullptr)); in TEST()
1748 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("int", nullptr)); in TEST()
1749 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("double", nullptr)); in TEST()
1750 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("string", nullptr)); in TEST()
1751 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("binary", nullptr)); in TEST()
1752 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("dict", nullptr)); in TEST()
1753 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("list", nullptr)); in TEST()
1754 EXPECT_FALSE(main_dict.GetBooleanWithoutPathExpansion("DNE", nullptr)); in TEST()
1756 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("bool", nullptr)); in TEST()
1757 EXPECT_TRUE(main_dict.GetIntegerWithoutPathExpansion("int", nullptr)); in TEST()
1758 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("double", nullptr)); in TEST()
1759 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("string", nullptr)); in TEST()
1760 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("binary", nullptr)); in TEST()
1761 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("dict", nullptr)); in TEST()
1762 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("list", nullptr)); in TEST()
1763 EXPECT_FALSE(main_dict.GetIntegerWithoutPathExpansion("DNE", nullptr)); in TEST()
1765 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("bool", nullptr)); in TEST()
1766 EXPECT_TRUE(main_dict.GetDoubleWithoutPathExpansion("int", nullptr)); in TEST()
1767 EXPECT_TRUE(main_dict.GetDoubleWithoutPathExpansion("double", nullptr)); in TEST()
1768 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("string", nullptr)); in TEST()
1769 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("binary", nullptr)); in TEST()
1770 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("dict", nullptr)); in TEST()
1771 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("list", nullptr)); in TEST()
1772 EXPECT_FALSE(main_dict.GetDoubleWithoutPathExpansion("DNE", nullptr)); in TEST()
1774 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1776 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1778 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1780 EXPECT_TRUE(main_dict.GetStringWithoutPathExpansion( in TEST()
1782 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1784 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1786 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1788 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1791 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1793 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1795 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1797 EXPECT_TRUE(main_dict.GetStringWithoutPathExpansion( in TEST()
1799 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1801 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1803 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1805 EXPECT_FALSE(main_dict.GetStringWithoutPathExpansion( in TEST()
1811 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("bool", nullptr)); in TEST()
1812 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("int", nullptr)); in TEST()
1813 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("double", nullptr)); in TEST()
1814 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("string", nullptr)); in TEST()
1815 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("binary", nullptr)); in TEST()
1816 EXPECT_TRUE(main_dict.GetDictionaryWithoutPathExpansion("dict", nullptr)); in TEST()
1817 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("list", nullptr)); in TEST()
1818 EXPECT_FALSE(main_dict.GetDictionaryWithoutPathExpansion("DNE", nullptr)); in TEST()
1820 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("bool", nullptr)); in TEST()
1821 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("int", nullptr)); in TEST()
1822 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("double", nullptr)); in TEST()
1823 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("string", nullptr)); in TEST()
1824 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("binary", nullptr)); in TEST()
1825 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("dict", nullptr)); in TEST()
1826 EXPECT_TRUE(main_dict.GetListWithoutPathExpansion("list", nullptr)); in TEST()
1827 EXPECT_FALSE(main_dict.GetListWithoutPathExpansion("DNE", nullptr)); in TEST()