Update UTC for TableView 38/39938/1
authorRichard Huang <r.huang@samsung.com>
Tue, 26 May 2015 16:06:44 +0000 (17:06 +0100)
committerRichard Huang <r.huang@samsung.com>
Tue, 26 May 2015 16:06:44 +0000 (17:06 +0100)
Change-Id: I01ff59952592959dd53cdcd8a18fbe72f4929b41

automated-tests/src/dali-toolkit/utc-Dali-TableView.cpp

index 30f0cda..8e6bffa 100644 (file)
@@ -438,6 +438,10 @@ int UtcDaliTableViewCells(void)
   tableView.AddChild(actor1, TableView::CellPosition(110, 110, 5, 5));
   DALI_TEST_CHECK( tableView.GetRows() == 115 && tableView.GetColumns() == 115 );
 
+  // Set the alignment of the cell
+  tableView.SetCellAlignment( TableView::CellPosition(100, 100, 1, 1), HorizontalAlignment::CENTER, VerticalAlignment::CENTER );
+  tableView.SetCellAlignment( TableView::CellPosition(110, 110, 5, 5), HorizontalAlignment::LEFT, VerticalAlignment::TOP );
+
   DALI_TEST_CHECK( true );
   END_TEST;
 }