Skip to content
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

Testclient #390

Merged
merged 14 commits into from Mar 25, 2021
Merged

Testclient #390

merged 14 commits into from Mar 25, 2021

Conversation

turleypol
Copy link
Member

Added python based testclient (pyuo)
Integrated it into our testframework

fixed dangling pointer in openconnection
added option to keep connection alive
OpenConnection do not start socketclient on connection error
changed communication pkts between testclient and server
send every event to server from testclient
serialize method
check move position
@coveralls
Copy link
Collaborator

coveralls commented Mar 23, 2021

Coverage Status

Coverage increased (+3.7%) to 39.253% when pulling 5dfa74f on testclient into 0ca7912 on master.

@@ -589,8 +591,10 @@ BObjectImp* OSExecutorModule::mf_OpenConnection()
weak_ptr<Core::UOExecutor> uoexec_w = this_uoexec.weakptr;
std::string hostname( host->value() );
bool assume_string = assume_string_int != 0;
bool keep_connection = keep_connection_int != 0;
BObject paramobj( scriptparam ); // prevent delete
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice find

docs/docs.polserver.com/pol100/osem.xml Outdated Show resolved Hide resolved
@turleypol turleypol merged commit 8b7ece1 into master Mar 25, 2021
@turleypol turleypol deleted the testclient branch March 25, 2021 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants