Searched refs:long_string_node (Results 1 – 2 of 2) sorted by relevance
/system/core/property_service/libpropertyinfoserializer/ |
D | trie_builder_test.cpp | 101 auto* long_string_node = builder_root.FindChild("this"); in TEST() local 102 expect_empty_one_child(long_string_node); in TEST() 105 long_string_node = long_string_node->FindChild("is"); in TEST() 106 expect_empty_one_child(long_string_node); in TEST() 109 long_string_node = long_string_node->FindChild("a"); in TEST() 110 expect_empty_one_child(long_string_node); in TEST() 113 long_string_node = long_string_node->FindChild("long"); in TEST() 114 EXPECT_EQ(0U, long_string_node->prefixes().size()); in TEST() 115 EXPECT_EQ(1U, long_string_node->exact_matches().size()); in TEST() 116 EXPECT_EQ(0U, long_string_node->children().size()); in TEST() [all …]
|
D | property_info_serializer_test.cpp | 102 TrieNode long_string_node; in TEST() local 103 ASSERT_TRUE(root_node.FindChildForString("this", 4, &long_string_node)); in TEST() 104 expect_empty_one_child(long_string_node); in TEST() 107 ASSERT_TRUE(long_string_node.FindChildForString("is", 2, &long_string_node)); in TEST() 108 expect_empty_one_child(long_string_node); in TEST() 111 ASSERT_TRUE(long_string_node.FindChildForString("a", 1, &long_string_node)); in TEST() 112 expect_empty_one_child(long_string_node); in TEST() 115 ASSERT_TRUE(long_string_node.FindChildForString("long", 4, &long_string_node)); in TEST() 116 EXPECT_EQ(0U, long_string_node.num_prefixes()); in TEST() 117 EXPECT_EQ(1U, long_string_node.num_exact_matches()); in TEST() [all …]
|