-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Network refactoring #241
Network refactoring #241
Conversation
Technic CNC tests could be also moved to technic_cnc/spec and make it load technic mod for tests that require technic. technic_worldgen is not really tested at all, it is just loaded as dependency for technic and should stay like that. |
14c217b
to
2e5d1e0
Compare
2e5d1e0
to
792739d
Compare
Merged changes to tests into single commit... hopefully there's no need to revert those. |
792739d
to
be941d1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pulled this along with latest master
in the test-server and turned on my factory: no issues so far, everything was as expected 👍
d6b8c4e
to
d5a7da1
Compare
Did you have something in input slot of machine? If not then this should not happen but if you had then it should be happening and always worked like that. (was added as feature for CNC machines too, visual alert about possible problem with machine that could do work but cannot start processing) |
Yes.
It seems a bit weird for it to be doing that, it would make more sense for it to do nothing at all. Also, I couldn't replicate it on |
Probably depends who you ask, for me it did always make sense because it allowed direct visual feedback in a way that actually makes sense for machine that attempts to start but fails immediately.
That's weird, I just reproduced this behavior on pandorabox main server... I guess it has something to do with timing... |
Drop coverage stats for sources outside of technic directory (technic_cnc, technic_worldgen) Update technic API functions for tests (were exported just for tests, now part of API) Move CNC tests, use shared fixtures for tests
66bc260
to
5b89200
Compare
Click for detailed source code test coverage reportTest coverage report for Technic CNC 86.90% in 11/14 files:
Test coverage report for technic chests 45.24% in 6/6 files:
Test coverage report for technic 61.00% in 95/95 files:
Raw test runner output for geeks:CNC:
Chests:
Technic:
|
Flickering behavior was confirmed to be same on pandorabox and no other problems found so far I guess this is good enough so merging away. Been also waiting to be able to base latest work on master, makes everything simpler... |
Depends on #230MergedMain changes
overload.lua
.network.lua
.Test updates
There should be no functional changes in this branch, also this should not reduce available API functions.
This does however rename following functions and removes note about being exported only for tests:
These are now renamed:
technic.place_network_node
andtechnic.remove_network_node
.