• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1###################################################################################################
2# This file contains test case composed of the following tags:
3#     * # (coments): Lines starting with this character would be ignored.
4#     * arguments: is set of words separated by spaces that can later be parsed
5#     * board: represent a workspace, the first line is the dimensions of the board width x height (wxh)
6# There are different characters on the board that represent different things:
7#     * x: The x character represents spaces that would be ignored, for example it can be used in
8#          the first row if we don't know how wide the smartspace is.
9#     * i: Represents an icon on the workspace, none in particular just an icon
10#     * [a-z]: Represents a widget and it can be any number or character
11#          except any other already in use. The whole continuos are of the same character is the
12#          area of the widget.
13#     * [A-Z]: Represents a folder and number of icons in the folder is represented by the order of
14#          letter in the alphabet, A=2, B=3, C=4 ... etc.
15# Test are parsed by CellLayoutTestCaseReader.java and boards are parsed by CellLayoutBoard.java
16###################################################################################################
17# 5x5 Test
18board: 5x5
19xxxxx|aeeee
20--mm-|acccc
21--mm-|acccc
22ggggg|acccc
23ggggg|adddd
24arguments: 7 1
25board: 10x5
26xxxxx|aeeee
27---mm|acccc
28---mm|acccc
29ggggg|acccc
30ggggg|adddd
31# 4x4 Test
32board: 4x4
33xxxx|aeee
34--mm|accc
35--mm|accc
36gggg|accc
37arguments: 5 1
38board: 8x4
39xxxx|aeee
40--mm|accc
41--mm|accc
42gggg|accc
43# 6x5 Test
44board: 6x5
45xxxxxx|aeeeee
46--mm--|accccc
47--mm--|accccc
48gggggg|accccc
49gggggg|addddd
50arguments: 8 1
51board: 12x5
52xxxxxx|aeeeee
53----mm|accccc
54----mm|accccc
55gggggg|accccc
56gggggg|addddd
57