Commit Graph

66 Commits

Author SHA1 Message Date
4dc4819bd8 Removed unecessary devcontainer.json command. 2024-07-22 02:21:26 +00:00
a7da520faf Added logging dependencies.
Some checks failed
ydeng/gameservicewarden/pipeline/head There was a failure building this commit
2024-07-20 15:15:08 +00:00
025999ab59 Updating to .Net 8.0.
Some checks failed
ydeng/gameservicewarden/pipeline/head There was a failure building this commit
2024-07-20 15:03:57 +00:00
3b69b8666c Removed unused logging module. 2024-07-20 15:03:44 +00:00
ad32b00dd0 Added note to UML class diagram.
Some checks failed
ydeng/gameservicewarden/pipeline/head There was a failure building this commit
2024-07-12 21:01:04 +00:00
708afbff6b Updated submodule url.
Some checks failed
RealYHD/gameservicewarden/pipeline/head There was a failure building this commit
ydeng/gameservicewarden/pipeline/head There was a failure building this commit
2023-01-09 21:35:50 +00:00
841bdda15e Added XunitXml.TestLogger. 2022-12-02 00:06:49 +00:00
b23ece8c8c Added step to pull latest submodules. 2022-12-01 23:50:32 +00:00
3506020d9b Added environment.yml for Conda. 2022-12-01 18:04:25 +00:00
4cf1ff53a9 Updated Jenkinsfile. 2022-12-01 17:54:08 +00:00
a1401c63e9 Updated to .NET 7.0 and added Jenkinsfile. 2022-12-01 17:51:54 +00:00
0073efc9ac Moved logging system to separate repository. 2021-05-10 19:47:58 -05:00
f9cbd0871d Renamed ModuleAPI to ModuleFramework. 2021-04-22 16:03:09 -05:00
4df970a542 Changed ClientAPI to InteractionAPI. 2021-04-21 02:00:50 -05:00
2b5a43f95f Removed unused communicable body data structure. 2021-04-21 01:50:33 -05:00
1f9a2a4a5f Removed unused file and updated UML.
Changed a few method names as well.
2021-04-21 01:44:16 -05:00
7438a76bf7 Separated view request from delta request and respective responses. 2021-04-21 01:14:05 -05:00
f61bbd3a9e Renamed subprojects and changed namespace names. 2021-04-20 23:55:03 -05:00
f5a181d2f2 Added tests for LRUCache.
Moved core test code to reflect changes in core code.

Removed unused using directives.
2021-04-19 14:41:11 -05:00
35a2765559 Changed logging system to be event based.
Implemented LRUCache for instantiating services without starting.

Service state changed back to enumerator.

Namespace refactoring.
2021-04-19 01:34:45 -05:00
cac5ca054c IPCPresenter now takes IPCMediator as contructor argument. 2021-04-15 22:14:08 -05:00
58c5b46dff No longer user Assert.Equal() to check booleans. 2021-04-15 22:13:26 -05:00
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