[Status Report] SoK-18 Project: Write tests and Improve protocol support for Kopete

Himanshu Vishwakarma <[email protected]> Wed, 14 Feb 2018 17:22:04 +0530
Newsgroups gmane.comp.kde.devel.kopete
Message-ID <CAAF-E2vyHkB-br4MX5VXRMGPp7b_pmT5+Wa2H+2G_zBXHEY0=g@mail.gmail.com>
--94eb2c124a7878baf605652abd17
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi,

In this week, I go through the codebase of Jabber Protocol and start to
write the unit test of the in the Jabber protocol. the issue which I posted
in the status previous report is unsolved, I am working on it. Please give
me some suggestion or link by which help me to solve the problem.

Next, I plan to complete the unit test and also move toward the improving
the workflow of the application. Please let me know if reports need to be
more elaborate or any suggestion.

Please review the patch: https://phabricator.kde.org/D10160

Link to the blog: http://blog.himvish997.com

Regards,
Himanshu Vishwakarma

On Mon, Feb 5, 2018 at 4:13 PM, Himanshu Vishwakarma <[email protected]>
wrote:

> Hi,
>
> In this week, I worked on improving the previous patch and made the test
> data-driven and now,  waiting for the review. I also wrote a new test of
> class socket
> =E2=80=8B in
> =E2=80=8B =E2=80=8B
> QQ protocol but
> =E2=80=8B there=E2=80=8B
> =E2=80=8Bhaving some difficulties=E2=80=8B
> .
> =E2=80=8B I
> =E2=80=8Bwill be
>
> =E2=80=8Bglad
> , If you look at the proble
> =E2=80=8Bm=E2=80=8B
>  and give the possible solution.=E2=80=8B
>
> =E2=80=8B
> When I compling test it give the error like
> =E2=80=8B this
> =E2=80=8B
> =E2=80=8B
> /********************************************************
> In file included from /mnt/NewVolume/sok
> *=E2=80=8B=E2=80=8B/kopete/protocols/qq/qqsocket.cpp*:26:0:
>
> /mnt/NewVolume/sok
> *=E2=80=8B=E2=80=8B/kopete/protocols/qq/qqsocket.h*:18:10: fatal error: q=
object.h: No
> such file or directory
>
>  #include <qobject.h>
>
>           ^~~~~~~~~~~
>
> compilation terminated.
>
> /***********************************************************
> =E2=80=8B=E2=80=8B
>
> =E2=80=8BTo slove the problem, =E2=80=8B
> =E2=80=8BI tried the many thing=E2=80=8Bs, some are follows:
>
>
>    - =E2=80=8BReplace to this
>     #include <QObject> instead of
>    =E2=80=8B=E2=80=8B
>    #include <qobject.h>
> * =E2=80=8B=E2=80=8Bbut got similar error*.
>    - I=E2=80=8B
>    nclude the Qt5::Core library in th
>    =E2=80=8Be=E2=80=8B
>    kopete/tests/protocols/qq/CMakeLists.txt
>    =E2=80=8B =E2=80=8B
>    =E2=80=8Band in the protocol CMakeLists.txt file also=E2=80=8B.
>    - G=E2=80=8B
>    ive the full path of the QObject library in
> * =E2=80=8B=E2=80=8Bkopete/tests/protocols/qq/CMakeLists.txt* but the iss=
ue
>    =E2=80=8B remain same=E2=80=8B
>    .
>    - Reinstall
>    =E2=80=8Bed=E2=80=8B
>    the Qt and change the lastest version Qt-5.10.0.
>    - If I comment the line
>    =E2=80=8B =E2=80=8B
>    =E2=80=8B
>    *#include <qobject.h>*
>     then
>    =E2=80=8Berror change but=E2=80=8B
>
>    similar
>    error has come to this line
> * =E2=80=8B=E2=80=8B#include <QList>*=E2=80=8B
>
> Let me know if needed some more information related to the error.
>
> Next, I plan to resolve the issue in
> =E2=80=8Babove test
>  and go through code base of other protocols basically Jabber protocol
> =E2=80=8B =E2=80=8B
> and =E2=80=8B
> I also want to confirm
> =E2=80=8B=E2=80=8B
> that,
> *=E2=80=8B=E2=80=8Bshould I remove the AIM protocol from the kopete?*
>
> Link to patch: https://phabricator.kde.org/D10160
>
> Regards,
> Himanshu Vishwakarma
>
>
>
>
>


--=20
Regards,
Himanshu Vishwakarma

--94eb2c124a7878baf605652abd17
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default"><div class=3D"gmail_default">=
<font face=3D"arial, helvetica, sans-serif"><span style=3D"color:rgb(0,0,0)=
;background-color:rgb(255,255,255)">Hi, </span><br>
<br>In this week, I go through the codebase of Jabber Protocol and start to=
 write the unit test of the in the Jabber protocol. the issue which I poste=
d in the status previous report is unsolved, I am working on it. Please giv=
e me some suggestion or link by which help me to solve the problem. <br>
<br>Next, I plan to complete the unit test and also move toward the improvi=
ng the workflow of the application. Please let me know if reports need to b=
e more elaborate or any suggestion. <br>
<br>Please review the patch: <a href=3D"https://phabricator.kde.org/D10160"=
>https://phabricator.kde.org/D10160 </a><br>
<br>Link to the blog: <a href=3D"http://blog.himvish997.com">http://blog.hi=
mvish997.com</a> <br>=C2=A0<br></font><span style=3D"font-family:arial,helv=
etica,sans-serif">Regards,=C2=A0</span><font face=3D"arial, helvetica, sans=
-serif"><br></font></div><div class=3D"gmail_default"><font face=3D"arial, =
helvetica, sans-serif">Himanshu Vishwakarma<br></font><br></div></div><div =
class=3D"gmail_extra"><div class=3D"gmail_quote">On Mon, Feb 5, 2018 at 4:1=
3 PM, Himanshu Vishwakarma <span dir=3D"ltr">&lt;<a href=3D"mailto:himvish9=
[email protected]" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bord=
er-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div =
style=3D"font-family:arial,helvetica,sans-serif">Hi,<br></div><div class=3D=
"gmail_quote"><div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr">=
<div class=3D"gmail_quote"><div dir=3D"ltr"><div style=3D"font-family:arial=
,helvetica,sans-serif"><br></div><span style=3D"color:rgb(34,34,34);font-fa=
mily:arial,helvetica,sans-serif;font-size:small;font-style:normal;font-vari=
ant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacin=
g:normal;text-align:start;text-indent:0px;text-transform:none;white-space:n=
ormal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-st=
yle:initial;text-decoration-color:initial;float:none;display:inline"><span>=
In this week, I worked on improving the previous patch and made the test da=
ta-driven and now,=C2=A0 waiting=C2=A0for the review. I=C2=A0also wrote=C2=
=A0a new test of class socket</span><div style=3D"font-family:arial,helveti=
ca,sans-serif;display:inline">=E2=80=8B in<div style=3D"font-family:arial,h=
elvetica,sans-serif;display:inline">=E2=80=8B =E2=80=8B</div></div>QQ proto=
col but<div style=3D"font-family:arial,helvetica,sans-serif;display:inline"=
>=E2=80=8B there=E2=80=8B</div> <div style=3D"font-family:arial,helvetica,s=
ans-serif;display:inline">=E2=80=8Bhaving some difficulties=E2=80=8B</div><=
div style=3D"font-family:arial,helvetica,sans-serif;display:inline">.<div s=
tyle=3D"font-family:arial,helvetica,sans-serif;display:inline">=E2=80=8B I =
<div style=3D"font-family:arial,helvetica,sans-serif;display:inline">=E2=80=
=8Bwill be</div>=C2=A0<div style=3D"font-family:arial,helvetica,sans-serif;=
display:inline">=E2=80=8Bglad</div>, If you look at the proble<div style=3D=
"font-family:arial,helvetica,sans-serif;display:inline">=E2=80=8Bm=E2=80=8B=
</div><div style=3D"font-family:arial,helvetica,sans-serif;display:inline">=
=C2=A0and give the possible solution.=E2=80=8B</div></div></div></span></di=
v><div dir=3D"ltr"><span><font face=3D"arial, helvetica, sans-serif"><br></=
font><div><font face=3D"monospace, monospace"><div style=3D"display:inline"=
>=E2=80=8B</div><span style=3D"background-color:initial;font-size:1em;color=
:rgb(46,52,54)">When I compling test it give the error like<div style=3D"di=
splay:inline">=E2=80=8B this</div><div style=3D"display:inline">=E2=80=8B</=
div><div style=3D"display:inline">=E2=80=8B</div></span></font></div><div><=
font color=3D"#000000"><font face=3D"monospace, monospace"><span style=3D"b=
ackground-color:initial;font-size:1em">/*****************************<wbr>*=
**************************</span></font></font></div><div><font color=3D"#0=
00000"><span style=3D"font-family:monospace,monospace;background-color:init=
ial;font-size:1em">In file included from /mnt/NewVolume/sok<b><div style=3D=
"display:inline">=E2=80=8B=E2=80=8B</div>/kopete/protocols/qq/qqsocket.<wbr=
>cpp</b>:26:0:</span><font face=3D"monospace, monospace"><div style=3D"disp=
lay:inline"></div></font><div style=3D"font-family:monospace,monospace;disp=
lay:inline"><br></div><span style=3D"font-family:monospace,monospace;backgr=
ound-color:initial;font-size:1em">/mnt/NewVolume/sok<b><div style=3D"displa=
y:inline">=E2=80=8B=E2=80=8B</div>/kopete/protocols/qq/qqsocket.<wbr>h</b>:=
18:10: fatal error: qobject.h: No such file or directory</span><div style=
=3D"font-family:monospace,monospace;display:inline"><br></div><span style=
=3D"font-family:monospace,monospace;background-color:initial;font-size:1em"=
>=C2=A0#include &lt;qobject.h&gt;</span><div style=3D"font-family:monospace=
,monospace;display:inline"><br></div><span style=3D"font-family:monospace,m=
onospace;background-color:initial;font-size:1em">=C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 ^~~~~~~~~~~</span><div style=3D"font-family:monospace,monospace;=
display:inline"><br></div><span style=3D"font-family:monospace,monospace;ba=
ckground-color:initial;font-size:1em">compilation terminated.</span><div st=
yle=3D"font-family:monospace,monospace;display:inline"><br></div><span styl=
e=3D"font-family:monospace,monospace;background-color:initial;font-size:1em=
">/*****************************<wbr>******************************<div sty=
le=3D"display:inline">=E2=80=8B=E2=80=8B</div></span><div style=3D"font-fam=
ily:monospace,monospace;display:inline"><br></div><span style=3D"background=
-color:initial;font-size:1em"><font face=3D"arial, helvetica, sans-serif"><=
div style=3D"display:inline"><div style=3D"display:inline">=E2=80=8BTo slov=
e the problem, =E2=80=8B</div>=E2=80=8BI tried the many thing=E2=80=8Bs, so=
me are follows:</div><br></font></span></font></div></span><div><ul><font f=
ace=3D"arial, helvetica, sans-serif"><span><li><div style=3D"background-col=
or:initial;font-size:1em;color:rgb(0,0,0);display:inline">=E2=80=8BReplace =
to this</div><span style=3D"background-color:initial;font-size:1em;color:rg=
b(0,0,0)">=C2=A0#include &lt;QObject&gt; instead of </span><div style=3D"ba=
ckground-color:initial;font-size:1em;color:rgb(0,0,0);display:inline">=E2=
=80=8B=E2=80=8B</div><span style=3D"background-color:initial;font-size:1em;=
color:rgb(0,0,0)">#include &lt;qobject.h&gt; </span><i style=3D"background-=
color:initial;font-size:1em;color:rgb(0,0,0)"><div style=3D"display:inline"=
>=E2=80=8B=E2=80=8B</div>but got similar error</i><span style=3D"background=
-color:initial;font-size:1em;color:rgb(0,0,0)">.</span></li></span><span><l=
i><font color=3D"#000000"><span style=3D"background-color:initial;font-size=
:1em"><div style=3D"display:inline">I=E2=80=8B</div>nclude the Qt5::Core li=
brary in th<div style=3D"display:inline">=E2=80=8Be=E2=80=8B=C2=A0</div>kop=
ete/tests/protocols/qq/CMak<wbr>eLists.txt<div style=3D"display:inline">=E2=
=80=8B =E2=80=8B</div></span></font><span style=3D"color:rgb(0,0,0)">=E2=80=
=8Band in the protocol CMakeLists.txt file also=E2=80=8B.</span></li></span=
><span><li><div style=3D"background-color:initial;font-size:1em;color:rgb(0=
,0,0);display:inline">G=E2=80=8B</div><span style=3D"background-color:initi=
al;font-size:1em;color:rgb(0,0,0)">ive the full path of the QObject library=
 in </span><b style=3D"background-color:initial;font-size:1em;color:rgb(0,0=
,0)"><div style=3D"display:inline">=E2=80=8B=E2=80=8B</div>kopete/tests/pro=
tocols/qq/CMak<wbr>eLists.txt</b><span style=3D"background-color:initial;fo=
nt-size:1em;color:rgb(0,0,0)"> but the issue</span><div style=3D"background=
-color:initial;font-size:1em;color:rgb(0,0,0);display:inline">=E2=80=8B rem=
ain same=E2=80=8B</div><span style=3D"background-color:initial;font-size:1e=
m;color:rgb(0,0,0)">.</span></li></span><span><li>Reinstall<div style=3D"ba=
ckground-color:initial;font-size:1em;color:rgb(0,0,0);display:inline">=E2=
=80=8Bed=E2=80=8B</div><span style=3D"background-color:initial;font-size:1e=
m;color:rgb(0,0,0)"> the Qt and change the lastest version Qt-5.10.0.</span=
></li></span><span><li>If I comment the line<div style=3D"font-size:13px;co=
lor:rgb(0,0,0);display:inline">=E2=80=8B =E2=80=8B<div style=3D"display:inl=
ine">=E2=80=8B</div><b>#include &lt;qobject.h&gt;</b></div><span style=3D"f=
ont-size:13px;color:rgb(0,0,0)">=C2=A0then=C2=A0</span><div style=3D"font-s=
ize:13px;color:rgb(0,0,0);display:inline">=E2=80=8Berror change but=E2=80=
=8B</div><span style=3D"font-size:13px;color:rgb(0,0,0)">=C2=A0</span><div =
style=3D"font-size:13px;color:rgb(0,0,0);display:inline">similar=C2=A0</div=
><span style=3D"font-size:13px;color:rgb(0,0,0)">error has come to this lin=
e=C2=A0</span><b style=3D"font-size:13px;color:rgb(0,0,0)"><div style=3D"di=
splay:inline">=E2=80=8B=E2=80=8B</div>#include &lt;QList&gt;</b><span style=
=3D"background-color:initial;font-size:1em;color:rgb(0,0,0)">=E2=80=8B</spa=
n></li></span></font></ul><font face=3D"arial, helvetica, sans-serif">Let m=
e know if needed some more information related to the error.<br></font></di=
v><div><span><font face=3D"arial, helvetica, sans-serif"><br></font><div di=
r=3D"auto" style=3D"font-style:normal;font-variant-ligatures:normal;font-va=
riant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;te=
xt-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(=
255,255,255);text-decoration-style:initial;text-decoration-color:initial;fo=
nt-family:arial,helvetica,sans-serif;color:rgb(34,34,34);font-size:small">N=
ext, I plan to resolve the issue in <div style=3D"font-weight:400;font-fami=
ly:arial,helvetica,sans-serif;display:inline">=E2=80=8Babove test</div>=C2=
=A0and go through code base of other protocols basically Jabber protocol<di=
v style=3D"font-weight:400;font-family:arial,helvetica,sans-serif;display:i=
nline">=E2=80=8B =E2=80=8B</div><span style=3D"font-weight:400"><div style=
=3D"display:inline">and =E2=80=8B</div>I also want to confirm</span><div st=
yle=3D"font-weight:400;display:inline">=E2=80=8B=E2=80=8B</div><span> that,=
 <b><div style=3D"font-family:arial,helvetica,sans-serif;display:inline">=
=E2=80=8B=E2=80=8B</div>should I remove the AIM protocol from the kopete?</=
b></span></div></span><span><div><div class=3D"gmail-m_-9196107512577499179=
m_8231434444913206151m_3463438685381637945m_-4258021561262524555m_879539735=
4536371037gmail_signature"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"lt=
r"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div=
 dir=3D"ltr"><div dir=3D"ltr"><br></div><div dir=3D"ltr"><div style=3D"font=
-family:arial,helvetica,sans-serif">Link to patch:=C2=A0<a href=3D"https://=
phabricator.kde.org/D10160" target=3D"_blank">https://phabricator.kde<wbr>.=
org/D10160</a></div></div><div dir=3D"ltr"><br></div><div dir=3D"ltr"><font=
 size=3D"2" face=3D"arial, helvetica, sans-serif">Regards,</font><div style=
=3D"font-size:12.8px"><font size=3D"2" face=3D"arial, helvetica, sans-serif=
">Himanshu Vishwakarma<br><br></font></div></div></div></div></div></div></=
div></div></div></div></div></div>
</span></div></div>
</div><br></div>
</div><br></div>
</div><br></div>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><div dir=
=3D"ltr"><div><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=
=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr=
"><div dir=3D"ltr"><div dir=3D"ltr"><span style=3D"font-family:arial,helvet=
ica,sans-serif;font-size:small">Regards,</span><br></div><div dir=3D"ltr"><=
div style=3D"font-size:12.8px"><font size=3D"2" face=3D"arial, helvetica, s=
ans-serif">Himanshu Vishwakarma<br></font></div></div></div></div></div></d=
iv></div></div></div></div></div></div></div></div></div></div></div></div>
</div></div>

--94eb2c124a7878baf605652abd17--