Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(60)

Unified Diff: tools/json_schema_compiler/test/features_generation_unittest.cc

Issue 2542163002: Fix invalid casts from ComplexFeature to SimpleFeature. (Closed)
Patch Set: Remove unnecessary casts Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/json_schema_compiler/test/features_generation_unittest.cc
diff --git a/tools/json_schema_compiler/test/features_generation_unittest.cc b/tools/json_schema_compiler/test/features_generation_unittest.cc
index 3b7e8e13ab961a60012495a2849c85cd8bd73c76..79f763876e7f3af8d7d09522fb333ab3ae32fddd 100644
--- a/tools/json_schema_compiler/test/features_generation_unittest.cc
+++ b/tools/json_schema_compiler/test/features_generation_unittest.cc
@@ -287,12 +287,12 @@ TEST(FeaturesGenerationTest, FeaturesTest) {
comparator.CompareFeature(feature);
}
{
- Feature* feature = GetAPIFeature("complex_alias");
+ Feature* feature = provider.GetFeature("complex_alias");
ASSERT_EQ("", feature->alias());
ASSERT_EQ("complex_alias_source", feature->source());
}
{
- Feature* feature = GetAPIFeature("complex_alias_source");
+ Feature* feature = provider.GetFeature("complex_alias_source");
ASSERT_EQ("complex_alias", feature->alias());
ASSERT_EQ("", feature->source());
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698