Bug 324231 - QTest::toString (KTcpSocket::State) is undefined
Summary: QTest::toString (KTcpSocket::State) is undefined
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: knetwork (other bugs)
Version First Reported In: 4.10.5
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL: http://qt-project.org/doc/qt-5.1/qtte...
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-29 17:32 UTC by Christopher Yeleighton
Modified: 2023-01-04 10:50 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
add (QTest::toString < KTcpSocket ::State >) (1.20 KB, patch)
2013-08-30 03:53 UTC, Christopher Yeleighton
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Yeleighton 2013-08-29 17:32:44 UTC
You can add specializations of this function to your test to enable verbose output.

Reproducible: Always

Steps to Reproduce:
  1. { /home/abuild/rpmbuild/BUILD/kdelibs-4.10.5/build/kdecore/tests/ktcpsockettest.shell; }

Actual Results:  
  1. KTcpSocketTest::statesIana() Compared values are not the same


Expected Results:  
  1. KTcpSocketTest::statesIana() Compared values are not the same
   Actual: 
   Expected: Connected
Comment 1 Christopher Yeleighton 2013-08-30 03:53:54 UTC
Created attachment 82023 [details]
add (QTest::toString < KTcpSocket ::State >)

That makes the (incomplete) workarounds of (KTcpSocketTest ::statesManyHosts) ((stateToString) was created for their sake) unnecessary, unless you are worried about using (qstrdup), which I suppose you are not, given the general memory-wasting attitude of KDE.
Comment 2 Andrew Crouthamel 2018-11-10 03:25:10 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-21 04:25:25 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Justin Zobel 2023-01-04 07:05:18 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!