mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 17:36:49 +00:00
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
44 lines
1.5 KiB
Plaintext
44 lines
1.5 KiB
Plaintext
###################################################################################################
|
|
# This file contains test case composed of the following tags:
|
|
# * # (coments): Lines starting with this character would be ignored.
|
|
# * arguments: is set of words separated by spaces that can later be parsed
|
|
# * board: represent a workspace, the first line is the dimensions of the board width x height (wxh)
|
|
# There are different characters on the board that represent different things:
|
|
# * x: The x character represents spaces that would be ignored, for example it can be used in
|
|
# the first row if we don't know how wide the smartspace is.
|
|
# * i: Represents an icon on the workspace, none in particular just an icon
|
|
# * [a-z]: Represents a widget and it can be any number or character
|
|
# except any other already in use. The whole continuos are of the same character is the
|
|
# area of the widget.
|
|
# * [A-Z]: Represents a folder and number of icons in the folder is represented by the order of
|
|
# letter in the alphabet, A=2, B=3, C=4 ... etc.
|
|
# Test are parsed by CellLayoutTestCaseReader.java and boards are parsed by CellLayoutBoard.java
|
|
###################################################################################################
|
|
# Test 5x5
|
|
board: 5x5
|
|
xxxxx
|
|
cd-m-
|
|
cgaaa
|
|
ctaaa
|
|
ctaaa
|
|
arguments: 1 2
|
|
board: 5x5
|
|
xxxxx
|
|
cde--
|
|
cgaaa
|
|
ctaaa
|
|
ctaaa
|
|
# Test 6x5
|
|
board: 6x5
|
|
xxxxxx
|
|
cd-m--
|
|
cgaaaa
|
|
ctaaaa
|
|
ctaaaa
|
|
arguments: 1 2
|
|
board: 6x5
|
|
xxxxxx
|
|
cdg---
|
|
cmaaaa
|
|
ctaaaa
|
|
ctaaaa |