summaryrefslogtreecommitdiff
path: root/tests/assets/ReorderWidgets/simple_reorder_case
blob: 2c50ce4d682557f15518809ae83aa4aa39d6952e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
###################################################################################################
# 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
--mm-
--mm-
-----
-----
arguments: 0 4
board: 5x5
xxxxx
-----
-----
mm---
mm---
# Test 4x4
board: 4x4
xxxx
--mm
--mm
----
arguments: 2 2
board: 4x4
xxxx
----
--mm
--mm
# Test 6x5
board: 6x5
xxxxxx
-mm---
-mm---
------
------
arguments: 4 3
board: 6x5
xxxxxx
------
------
----mm
----mm