Commit graph

72 commits

Author SHA1 Message Date
Nickiel12
2dd94631ff should I toss these tests out? 2022-07-16 22:19:24 -07:00
Nickiel12
06333b7fe2 ran rustfmt 2022-07-16 21:16:56 -07:00
Nickiel12
b974bc5b59 renamed stream_states_class -> stream_state 2022-06-24 19:19:30 -07:00
Nickiel12
8576b6f126 renamed enums -> senes 2022-06-24 10:02:31 -07:00
Nickiel12
dd9ceb6bc3 renamed change_scene_on_hotkey 2022-06-19 20:21:10 -07:00
Nickiel12
849d73d4a8 Merge branch 'master' of https://github.com/Nickiel12/church_controller_rust 2022-01-02 21:55:14 -08:00
Nickiel12
18633890f2 fixed control_c flag call 2022-01-02 19:45:29 -08:00
Nickiel12
23dceaf2ba got rid of delayed sending 2021-12-31 19:54:52 -08:00
Nickiel12
1f6ff8c0cc fixed tests 2021-12-30 15:27:31 -08:00
Nickiel12
f4161c8dbb bug fixes and stuff 2021-12-30 15:15:14 -08:00
Nickiel12
34316bacc1 added settings from other program 2021-12-30 13:24:41 -08:00
Nickiel12
9a9e88e200 cleaned up warnings 2021-12-30 13:04:12 -08:00
Nickiel12
7c53786e3a added debug_mode flag which disables external_interface 2021-12-30 11:42:46 -08:00
Nickiel12
79ea70e819 stuff 2021-12-30 10:35:32 -08:00
Nickiel12
6d8ed3f64b had to remove tests because of message_handler 2021-12-30 10:25:43 -08:00
Nickiel12
f88f186fb1 removed unused import 2021-12-29 22:36:35 -08:00
Nickiel12
9b13f6a6ce an ilfated test at best. can you really connect to the same port twice? 2021-12-29 22:36:13 -08:00
Nickiel12
eb12e0abdf removed unused imports 2021-12-29 21:12:07 -08:00
Nickiel12
9a2c6fa2e9 removed defunct and crashing tests 2021-12-29 21:11:46 -08:00
Nickiel12
f3e237b11d removed unused enum 2021-12-22 18:32:07 -08:00
Nickiel12
c0033e89fc removed socket_send_tx and replace with socket.send 2021-12-22 16:23:45 -08:00
Nickiel12
35bc3df300 changed so socket is an object with internal states 2021-12-22 15:13:33 -08:00
Nickiel12
91d267b93d added sendable stream 2021-12-22 14:19:39 -08:00
Nickiel12
335f9e7f59 switched to crrossbeam_channel from mpsc 2021-12-22 10:19:54 -08:00
Nickiel12
8238edc3f6 removed [REDACTED] from the anals or history 2021-12-22 10:15:16 -08:00
Nickiel12
84c059ba36 don't need these anymore 2021-12-22 10:14:41 -08:00
Nickiel12
23dd99eb1f change StreamIsMuted and ComputerSoundIsOn names 2021-12-20 16:24:59 -08:00
Nickiel12
9f83884a18 finished coverage of tests and implementation 2021-12-20 16:24:15 -08:00
Nickiel12
b44a16e0e1 changed to use string values for true and false 2021-12-20 15:57:15 -08:00
Nickiel12
2a2c862df8 json formatting error fixed 2021-12-20 15:24:03 -08:00
Nickiel12
dd11b732e4 changed json standards 2021-12-20 14:30:34 -08:00
Nickiel12
dfeee75297 changed json keys from "button" -> "update 2021-12-20 14:14:54 -08:00
Nickiel12
cff1067ccf renamed ChangeSceneOnSlideHotkey to ChangeSceneOnChangedSlide 2021-12-20 14:05:48 -08:00
Nickiel12
9c0f669874 testing updats from statupdate 2021-12-19 16:59:57 -08:00
Nickiel12
0c8931b984 finished extensive return value test 2021-12-19 16:40:12 -08:00
Nickiel12
1f87e1a1b3 half of the tests are set for the json_to_state 2021-12-19 00:43:16 -08:00
Nickiel12
22272a320d fixed incorrect subscene/scene reference 2021-12-18 23:26:25 -08:00
Nickiel12
3d79ea1633 updated tests for new subscenes/scenes 2021-12-18 23:03:16 -08:00
Nickiel12
f26b7b8a5e split scenes and subscenes enum 2021-12-18 22:58:39 -08:00
Nickiel12
8f48d213bc added tests for state_update 2021-12-18 21:09:09 -08:00
Nickiel12
57f4883c0c moved StateUpdate to its own file 2021-12-18 21:04:50 -08:00
Nickiel12
d2b5ea643d testing the ctrc_c setup function 2021-12-18 18:34:36 -08:00
Nickiel12
eb536e25ec removed unused imports 2021-12-17 20:45:54 -08:00
Nickiel12
4534abc2cb handle_client now supports multiple messages 2021-12-17 20:40:03 -08:00
Nickiel12
ebbc4ff5f9 each test needs a unique socket to not error 2021-12-17 18:03:30 -08:00
Nickiel12
2d3d27fbfb got basic message handling 2021-12-17 18:02:34 -08:00
Nickiel12
31dc567e29 moved sockets from main to sockethandler 2021-12-17 17:17:42 -08:00
Nickiel12
28847873f6 replaced server address with a constant 2021-12-17 12:55:00 -08:00
Nickiel12
6203112195 added a test that making a stream should fail 2021-12-17 12:52:18 -08:00
Nickiel12
31b628cb01 added connection test. 2021-12-17 12:49:27 -08:00