Parsing test boards from text files to be able to add more and bigger tests

It also adds an assets folder inside of Launcher3 tests.

It also fixes a bug in fullReorder.

Test: atest ReorderWidgets
Flag: none
Bug: 229292911
Change-Id: I7dadd42a3057d353326691163bb7db71a2e9dcc4
This commit is contained in:
Sebastian Franco
2023-01-10 10:47:46 -06:00
committed by Sebastián Franco
parent 95b6f8c409
commit e7c3d3d4ce
16 changed files with 398 additions and 367 deletions

View File

@@ -51,8 +51,8 @@ public class CellLayoutTestUtils {
board.addIcon(pos.cellX, pos.cellY);
} else {
// is widget
board.addWidget(pos.cellX, pos.cellY, params.cellHSpan, params.cellVSpan,
(char) ('A' + widgetCount));
board.addWidget(params.getCellX(), params.getCellY(), params.cellHSpan,
params.cellVSpan, (char) ('a' + widgetCount));
widgetCount++;
}
}