Commit Graph

50 Commits

Author SHA1 Message Date
Darren Burns
6d888af723 Testing DataTable.get_column with invalid column key 2023-02-14 13:22:07 +00:00
Darren Burns
af694ecb97 Testing DataTable.get_column 2023-02-14 13:18:19 +00:00
Darren Burns
fcdff48f0a Testing invalid index and keys in DataTable.get_row* 2023-02-14 12:47:49 +00:00
Darren Burns
8d22ad6ff9 Adding a test for DataTable.get_row_at 2023-02-14 11:52:03 +00:00
Darren Burns
c37061cf18 Adding an explanatory comment to a test 2023-02-14 11:45:27 +00:00
Darren Burns
091adc9d8e Testing get_row (by key) in DataTable 2023-02-14 11:44:35 +00:00
Darren Burns
8a6e44b010 Make DataTable.data private (it's now _data) 2023-02-14 11:00:43 +00:00
Darren Burns
12a58f838f Exception on duplicate row and column keys 2023-02-13 14:09:33 +00:00
Darren Burns
84141630bc Some renaming of API methods 2023-02-09 16:20:17 +00:00
Darren Burns
7ebc95fb54 Updating tests for DataTable 2023-02-09 11:16:14 +00:00
Darren Burns
a6f382660c Fix imports in data table tests 2023-02-08 16:07:17 +00:00
Darren Burns
e4d2cde9cd Unit test to ensure column cursor events posted correctly 2023-02-08 14:20:28 +00:00
Darren Burns
6ffeb5cd8a Unit test to ensure event emission from row cursor correct in DataTable 2023-02-08 14:13:37 +00:00
Darren Burns
2fe73c0c28 Testing highlighted events via keyboard cursor movement 2023-02-08 14:01:42 +00:00
Darren Burns
64840daa0e PEP8 in tests for data table 2023-02-08 13:36:42 +00:00
Darren Burns
54a29dd664 Fix attribute error with emit being remove, check ordered_rows is correct after sort 2023-02-08 13:20:53 +00:00
Darren Burns
10c3deb9d2 Testing reverse sort 2023-02-08 12:49:59 +00:00
Darren Burns
0949211ab6 Unit testing for sorting method 2023-02-08 12:44:02 +00:00
Darren Burns
3cf010ebe7 Testing to ensure the hover coordinate is updated 2023-02-07 11:23:02 +00:00
Darren Burns
0afcc8cd47 Add comment to a test 2023-02-07 11:09:51 +00:00
Darren Burns
3e451e8416 Testing that data inside DataTable events correct on click 2023-02-07 11:09:21 +00:00
Darren Burns
76d2ff2999 Testing clicks in DataTable 2023-02-07 10:49:01 +00:00
Darren Burns
998ee9b8a2 Test to ensure correct exception raised when converting to cell key from coordinate in DataTable 2023-02-02 15:44:25 +00:00
Darren Burns
62fb9d58bd Testing conversion of coordinate to cell_key 2023-02-02 15:40:24 +00:00
Darren Burns
87808c63b2 Tidying some tests 2023-02-02 15:29:26 +00:00
Darren Burns
134ceffd11 Testing to ensure column size calculated correctly 2023-02-02 14:20:33 +00:00
Darren Burns
7748b69e95 Initial unit tests around column width updates 2023-02-02 14:12:14 +00:00
Darren Burns
990a6311bc Extract common coordinate validation logic into method in DataTable 2023-02-02 13:09:11 +00:00
Darren Burns
77b94b005c Testing case where you try to update cells which dont exist 2023-02-01 17:34:03 +00:00
Darren Burns
23a34030cd Measuring string cells correctly 2023-02-01 17:10:59 +00:00
Darren Burns
fd4e13c988 Add tests for DataTable.get_cell_value 2023-02-01 15:43:36 +00:00
Darren Burns
3f463cb0ef Store strings as strings 2023-02-01 14:54:33 +00:00
Darren Burns
abd35436fb Some refactoring, and add cell_key to DataTable.CellSelected 2023-01-31 13:34:13 +00:00
Darren Burns
c34f4becfe Fixing data table tests 2023-01-30 14:37:41 +00:00
Darren Burns
aee100ff10 Removing redundant data from DataTable.Row 2023-01-26 14:05:31 +00:00
Darren Burns
9d2ddfa86e Remove DataTable Row.index 2023-01-26 13:56:40 +00:00
Darren Burns
3b1f869300 Update tests to support keyed rows 2023-01-24 16:00:53 +00:00
Darren Burns
a958c66671 Keys for columns in the DataTable 2023-01-24 14:17:29 +00:00
Darren Burns
2d498d516d Remove pauses from DataTable tests 2023-01-24 13:04:49 +00:00
Darren Burns
b5e5a66e32 Some additional tests around row/col keys in DataTable 2023-01-24 12:52:31 +00:00
Darren Burns
0eb38e79da Add test for adding columns to data table 2023-01-24 12:47:43 +00:00
Darren Burns
a4db3426b8 Rename a DataTable test 2023-01-24 11:35:30 +00:00
Darren Burns
12d429dbd0 Replace DataTable row_count with property, test improvements 2023-01-24 11:33:35 +00:00
Darren Burns
f338381b73 Testing around row key generation, add_rows etc 2023-01-23 15:47:25 +00:00
Darren Burns
b514507472 Rename Key to StringKey to prevent clash with keyboard Keys 2023-01-19 15:11:46 +00:00
Darren Burns
16c50870a7 Some updates to DataTable cell key tests 2023-01-19 15:10:36 +00:00
Darren Burns
501952abd5 Add tests around DataTable key generation 2023-01-19 14:58:14 +00:00
Darren Burns
602813b0d2 Increase sleeping time in DataTable test 2023-01-18 15:21:55 +00:00
Darren Burns
7e75f6e13b Small refactor of DataTable, additional testing around message emission 2023-01-18 14:43:49 +00:00
Darren Burns
15392b9091 Add DataTable medium-sized test for clearing 2023-01-18 13:19:45 +00:00