Lines Matching refs:manifest
100 // Read in the extension manifest.
122 // The contents of the text extension's manifest file.
135 scoped_ptr<base::DictionaryValue> manifest;
138 manifest.reset(
140 EXPECT_FALSE(manifest.get());
145 manifest.reset(component_loader_.ParseManifest(std::string()));
146 EXPECT_FALSE(manifest.get());
148 manifest.reset(component_loader_.ParseManifest("[{ \"foo\": 3 }]"));
149 EXPECT_FALSE(manifest.get());
151 manifest.reset(component_loader_.ParseManifest("\"Test\""));
152 EXPECT_FALSE(manifest.get());
154 manifest.reset(component_loader_.ParseManifest("42"));
155 EXPECT_FALSE(manifest.get());
157 manifest.reset(component_loader_.ParseManifest("true"));
158 EXPECT_FALSE(manifest.get());
160 manifest.reset(component_loader_.ParseManifest("false"));
161 EXPECT_FALSE(manifest.get());
163 manifest.reset(component_loader_.ParseManifest("null"));
164 EXPECT_FALSE(manifest.get());
169 manifest.reset(component_loader_.ParseManifest(
171 ASSERT_TRUE(manifest.get());
172 EXPECT_TRUE(manifest->GetInteger("test.one", &value));
174 ASSERT_TRUE(manifest->GetInteger("two", &value));
178 manifest.reset(component_loader_.ParseManifest(manifest_contents_));
179 ASSERT_TRUE(manifest->GetString("background.page", &string_value));