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

Unified Diff: apps/moterm/moterm_model_unittest.cc

Issue 1322103006: Moterm: Plumb responses back to the terminal File. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 3 months 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
Index: apps/moterm/moterm_model_unittest.cc
diff --git a/apps/moterm/moterm_model_unittest.cc b/apps/moterm/moterm_model_unittest.cc
index 272ffd95fb7d63b0d6bf80a6bbcbc56f861db751..22be0eb6050c136bbfb6ae2c28e753bfb4c18205 100644
--- a/apps/moterm/moterm_model_unittest.cc
+++ b/apps/moterm/moterm_model_unittest.cc
@@ -131,7 +131,8 @@ TEST(MotermModelTest, StateChanges) {
}
TEST(MotermModelTest, Basic) {
- MotermModel model(MotermModel::Size(43, 132), MotermModel::Size(25, 80));
+ MotermModel model(MotermModel::Size(43, 132), MotermModel::Size(25, 80),
+ nullptr);
MotermModel::Size size = model.GetSize();
EXPECT_EQ(25u, size.rows);
@@ -200,4 +201,6 @@ TEST(MotermModelTest, Basic) {
EXPECT_EQ(100u, size.columns);
}
+// TODO(vtl): Test responses.
+
} // namespace

Powered by Google App Engine
This is Rietveld 408576698