Blame view

test/FitNesseRoot/FitNesse/SuiteAcceptanceTests/SuiteResponderTests/TestPacketResponder/content.txt 450 Bytes
fbe3c2bb   Benjamin Renard   First commit
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
!define TEST_SYSTEM {slim}

!path lib/*.jar
!define PACKET {|Bob|
||Angela|
|||Lexy|6|
|||Sami|4|
|||Mandy|2|
||Micah|
|||Luka|5|
||Gina|
||Justin|
}

!define JSON ({"tables": [{"Bob": {
 "Angela": {
  "Lexy": "6",
  "Mandy": "2",
  "Sami": "4"
 },
 "Gina": {},
 "Justin": {},
 "Micah": {"Luka": "5"}
}}]})

!|script|page driver|
|given page|PacketPage|with content|${PACKET}|
|request page|$IT?packet|
|contains json packet|${JSON}|
|show|content|