> SirVer - I added such test: test_rip_portdock_with_worker_and_ware_in_transit.lua
My apologize. I did not remember/see it in the branch. I think this is great then.
The other test case you describe is indeed harder to do. You would need to construct a map with military buildings of another player ordered in such a way that as soon as they are all manned, the port has no more space for its dock.
> SirVer - I added such test: test_rip_ portdock_ with_worker_ and_ware_ in_transit. lua
My apologize. I did not remember/see it in the branch. I think this is great then.
The other test case you describe is indeed harder to do. You would need to construct a map with military buildings of another player ordered in such a way that as soon as they are all manned, the port has no more space for its dock.