OutpostUniverse / op2ext

Outpost 2 extension module loader
1 stars 0 forks source link

Remove duplicated module tests #217

Closed Brett208 closed 5 years ago

Brett208 commented 5 years ago

Closes #137

I just left the portions of code that appear to be testing things that were not covered by existing unit tests. For example, checking that a module with a specific name is loaded.

I thought about fully removing this project, but it is still useful for testing beyond what the unit tests cover.

Example output from a console module test:

2019-10-16 02:01:36 UTC [op2mod.dll] Test Module mod_init called.
2019-10-16 02:01:36 UTC [op2mod.dll] Test Module mod_run called.
2019-10-16 02:01:36 UTC [op2mod.dll] Console Module TestModule is loaded
2019-10-16 02:01:36 UTC [op2mod.dll] Module TestModule is loaded
2019-10-16 02:01:36 UTC [op2mod.dll] The following 4 modules are loaded (ini and console combined):
2019-10-16 02:01:36 UTC [op2mod.dll]    TestModule
2019-10-16 02:01:36 UTC [op2mod.dll]    IPDropDown
2019-10-16 02:01:36 UTC [op2mod.dll]    NetFix
2019-10-16 02:01:36 UTC [op2mod.dll]    NetHelper
2019-10-16 02:01:38 UTC [op2mod.dll] Test Module mod_destroy called.