Add birthday parsing/setting.
[hermes] / package / test / test_cases.txt
1 given
2         clean addressbook
3         friend "Adam" on linkedin
4         friend "Adam" on twitter
5 when
6         full run
7 then
8         addressbook should contain one newly created contact, with data from both services
9
10
11 given
12         clean addressbook
13         100 friends on linkedin
14         100 friends on twitter, out of which 50 are the same people (have the same name) as on linkedin
15 when
16         full run
17 then
18         addressbook should contain 150 contacts (not 200)
19
20
21 # this will probably not be too uncommon if a person really has an empty address book and runs this the first
22 #       time. We don't want that person to end up with many duplicates
23
24
25 given
26         contact "Fredrik Wendt"
27         friend "Fredrik L. Wendt" on facebook
28 when
29         full processing the contact
30 then
31         the contact should be matched with the friend
32
33         
34 given
35         clean addressbook
36         friend "twitter" on twitter
37         friend "linkedin" on linkedin
38         friend "facebook" on facebook
39         friend "plaxo" on plaxo
40 when
41         full run
42 then
43         addressbook should contain 4 contacts
44         
45 # process_contact should not rely on pre_process_contact being called 
46
47
48
49 given
50         clean addressbook
51         friend "adam" on twitter, with homepage set to "http://facebook/user/adam"
52         friend "adam" on facebook (with ID url "http://facebook/user/adam")
53 when
54         twitter is processed
55         and facebook is processed
56 then
57         addressbook should contain one contact with two website URLs (twitter and facebook)
58         
59