Commit Graph

171 Commits

Author SHA1 Message Date
JC Brand
567cfd3501 Reordered the tests
So that we have test suites for each type of contact
- Pending
- Existing
- Requesting
2013-04-15 09:12:42 +02:00
JC Brand
29a6e1d9f1 Move requesting contacts after pending/current. 2013-04-14 03:06:30 +02:00
JC Brand
f4c2327e94 Add sleep funtion to slow down tests
Allows one to visually follow whats going on.
2013-04-14 02:38:27 +02:00
JC Brand
7852f67a03 Split the contacts up into distinct groups.
This reduces some hoops that had to be jumped through to get the proper indexes
to retrieve contacts
2013-04-14 02:00:30 +02:00
JC Brand
e8a55145b9 Call the new initialize method instead of doing setup manually 2013-04-14 01:09:26 +02:00
JC Brand
c0095d4d15 New test
Test that chatboxes are removed from localStorage when closed
2013-04-14 00:03:04 +02:00
JC Brand
66dde5e986 Add another test
Test that chatboxes can also be closed.
2013-04-13 01:24:55 +02:00
JC Brand
acf3f75b7d Test that chatboxes are stored to localStorage 2013-04-13 01:13:30 +02:00
JC Brand
0f0599d5a0 Extended the test 2013-04-13 01:09:25 +02:00
JC Brand
8525ee506e Rename RosterSpec.js to MainSpec.js 2013-04-13 01:00:15 +02:00
JC Brand
ed86b22fe6 Add a new test
Check that a chatbox is created when a roster item is clicked.
2013-04-13 00:56:53 +02:00
JC Brand
7b2dbf9ba4 Add a new test to check that roster items are saved to localstorage
Also renamed some other tests to make them shorter and more legible
2013-04-13 00:16:50 +02:00
JC Brand
2593dd7099 Improve the test names 2013-04-12 23:20:31 +02:00
JC Brand
add9cc8554 Fixed all Roster tests \o/ 2013-04-12 23:08:30 +02:00
JC Brand
367cc14213 Preliminary work to get jasmine tests working again 2013-04-12 20:31:05 +02:00
JC Brand
d7cb92c7af Merge pull request #3 from ichim-david/master
Optimize actions done in RosterView.
2013-02-28 00:31:46 -08:00
ichim-david
732f941e20 Fixed first jasmine test for visibility of xmpp-roster 2013-02-28 07:48:06 +02:00
Alexandru Ghica
b6af624b14 Code clean up
Cleaned up unnecessary spaces, replaced tabs with spaces and fixed line
terminators.
2013-02-22 15:42:35 +02:00
JC Brand
39c0823f2a Alphabetically sort roster contacts according to type and status
Also added a new jasmine spec for this as well as jquery.tinysort to do the
sorting.
2012-12-09 19:55:23 +02:00
JC Brand
624ab458d0 Improve suite names. Use toMatch matcher 2012-12-09 19:54:26 +02:00
JC Brand
0edc57107d Add spec dir with jasmine.js test for ClientStorage 2012-12-08 07:22:40 +02:00