Commit Graph

44 Commits

Author SHA1 Message Date
0991dc6214 IPCMediator now disposes of all connection pipes before waiting.
Changed mediator names in IPCMediatorTest.

Increased catching specificity from same type of exception.
2021-04-15 22:09:05 -05:00
a0775fdf8e Added disposing of currently waiting pipe and connected log listeners.
These changes fix the problem with service descriptor being unable to stop on Linux.
2021-04-15 21:14:16 -05:00
911724627e Added proper disposing to ServiceDescriptor.
Fixed ServiceDescriptor tests where cancellation didn't work.

Disposing currently awaited pipe terminates the task.
2021-04-10 15:25:29 -05:00
a6f4d918cb Fixed Windows OS exception on async cancel.
Specifically, ObjectDisposedException: Safe handle has been closed.
2021-04-10 14:03:13 -05:00
78e9e185c2 Changed pipe names to end with ".pipe".
Added timeouts to closing.
2021-04-10 13:57:38 -05:00
526e657f59 Disabled parallelization tests. 2021-04-09 01:33:53 -05:00
1ae4de4f73 Added automatic cancel to cancel tokens in tests. 2021-04-09 01:30:10 -05:00
a44ad71f59 Added a few more debug messages. 2021-04-09 01:10:26 -05:00
56e12ec22a Added more logging to IPCMediator.cs 2021-04-09 00:38:47 -05:00
a9ff809ba8 Changed some tests to use Assert bool instead of equal. 2021-04-08 23:59:24 -05:00
cfecc7c7b3 added --blame argument to test.sh and lowered verbosity. 2021-04-08 23:59:18 -05:00
eda8da3383 increased test.sh verbosity. 2021-04-08 23:09:46 -05:00
7abc1be4bf Removed unnecessary logging variables. 2021-04-08 23:06:24 -05:00
7e6e6a9333 Added logging to IPCMediator. 2021-04-08 23:05:52 -05:00
8ebe9ee9f7 ServiceDescriptor waits a little for initial pipe setup. 2021-04-08 23:02:54 -05:00
ccff87fc63 XUnitLogger will dispose of messages after test completion. 2021-04-08 22:26:44 -05:00
89b23258aa Logger is now thread safe. 2021-04-08 22:26:27 -05:00
455efcbfe3 Substituted extension method for normal equivalent. 2021-04-08 22:25:59 -05:00
220839919b Tests renamed.
To correspond to prevous changes.

 To be more intuitive.
2021-04-08 22:25:11 -05:00
3f1836d468 Fixed not instantiating cancellation token. 2021-04-08 22:22:20 -05:00
d4f9cb10bf Reduced build.sh verbosity. 2021-04-08 22:01:16 -05:00
dfc54fdc00 Implemented IPC system with minimal testing.
Large naming refactoring.

Added some more tests.
2021-04-08 21:36:08 -05:00
56259ac419 Tests written for service info persistence.
Class names also changed.
2021-03-31 22:29:17 -05:00
44512329fd Updated test code class names. 2021-03-31 20:40:35 -05:00
97967ce0c6 Changed method names. 2021-03-31 19:38:32 -05:00
067c8f5824 Restructured untested persistence system.
No longer conforming to C# dictionary format.
Caught bug in untested persistence system.
2021-03-31 15:38:22 -05:00
f09a95799f build.sh verbosity changed to detailed. 2021-03-30 22:49:08 -05:00
ba970dac4c Cleaned up code.
Changed variable names that hide fields.
Removed unused imports.
2021-03-30 21:57:08 -05:00
522b34810e test.sh now logs to trx format for test result reports. 2021-03-30 21:57:08 -05:00
832ab632c5 Modified test.sh to work with multiple test projects and output in the opencover format. 2021-03-30 21:57:08 -05:00
c9e6706e9b Added basic test.sh script. 2021-03-30 21:57:08 -05:00
119f917f0b Added a basic build.sh script. 2021-03-30 21:57:08 -05:00
f402b8b7f2 Fixed method of access game modules.
Added some documentation.
Changed data persistence structure.
General naming changes.
Updated tests appropriately.
2021-03-30 15:22:28 -05:00
c7fadd8166 Changed how services work, updated tests and UML to reflect changes.
Began adding persistence, but untested.
2020-12-29 23:14:42 -06:00
0cf2335aa7 Refactored naming and directory layout of project. 2020-12-28 00:43:02 -06:00
334fd37dc6 Added option to delete service.
Added method to remove service to ServiceManager.cs.
2020-12-27 19:17:47 -06:00
53e8427b66 Added data flow chart for console and added structure for ServiceManager control to UML file. 2020-12-27 15:33:17 -06:00
4996982c89 ServiceManager completed and ServiceInfo modified to increase encapsulation.
ServiceManager tested and ServiceInfo tests updated to reflect changes.
2020-12-26 13:50:09 -06:00
3a49502970 Cleaned up code smells.
Made fields readonly when possible.

Changed message for exception regarding argument to be correct.
2020-12-25 03:50:37 -06:00
acd735d9df Began implementing explicit log flushing. 2020-12-25 03:50:18 -06:00
e4f2ebf792 Removed unecessary method. 2020-12-25 03:37:26 -06:00
ca7221ea42 Added vscode assets. 2020-12-25 02:28:39 -06:00
6467c178c3 Basic service entity completed and tested.
added UML to guide actual implementation for Host.

ModuleLoader, ServiceGateway, are written but untested.
2020-12-24 16:33:17 -06:00
f1a4e32866 Initial commit. 2020-12-24 16:24:13 -06:00