RE: [Htmlparser-developer] Writing test cases
Brought to you by:
derrickoswald
|
From: <dha...@or...> - 2002-08-21 12:54:29
|
Hi Somik,
=A0
I'm done with the changes in the required files. I have been working on
eclipse (I am yet learning and struggling).
=A0
I have also run AllTests from com.kizna.htmlTests after adding test
cases for my tag-scanner pairs. Total 171 test cases, all running fine.
=A0
Let me know of the future course of action.
Regards,=20
Dhaval Udani=20
Senior Analyst=20
M-Line, QPEG=20
OrbiTech Solutions Ltd.=20
+91-22-8290019 Extn. 1457=20
=A0
-----Original Message-----
From: Udani, Dhaval H.=20
Sent: Wednesday, August 21, 2002 4:59 PM
To: htmlparser-developer
Cc: Udani, Dhaval H.
Subject: RE: [Htmlparser-developer] Writing test cases
=20
=20
Hi,
=A0
Just a small modification. I feel that the specified code would
better fit into HTMLNode since HTMLTag, HTMLStringNode and
HTMLRemarkNode inherit from it.
=A0
Regards,=20
Dhaval Udani=20
Senior Analyst=20
M-Line, QPEG=20
OrbiTech Solutions Ltd.=20
+91-22-8290019 Extn. 1457=20
=A0
-----Original Message-----
From: somik [mailto:so...@ya...]
Sent: Wednesday, August 21, 2002 11:39 AM
To: htmlparser-developer
Cc: somik
Subject: Re: [Htmlparser-developer] Writing test cases
=20
=20
=20
You are right- that sounds better. Please go ahead.
=A0
Cheers,
Somik
----- Original Message -----=20
From: dha...@or...=20
To: htm...@li...=20
Sent: Wednesday, August 21, 2002 1:51 PM
Subject: RE: [Htmlparser-developer] Writing test cases
I think the variable should be in HTMLTag so that all the
sub-classes
can use it transparently. However additionally we can also
provide a
public setLineSeparator method in HTMLParser which will
internally call
the method of HTMLTag.
=20
Regards,=20
=20
Dhaval Udani=20
Senior Analyst=20
M-Line, QPEG=20
OrbiTech Solutions Ltd.=20
+91-22-8290019 Extn. 1457=20
=20
=20
=20
=A0=A0 -----Original Message-----
=A0=A0 From: somik [ mailto:so...@ya...]
=A0=A0 Sent: Wednesday, August 21, 2002 10:01 AM
=A0=A0 To: htmlparser-developer
=A0=A0 Cc: somik
=A0=A0 Subject: Re: [Htmlparser-developer] Writing test cases
=A0=A0=20
=A0=A0=20
=20
=A0=A0=20
=A0=A0 Hi Dhaval,
=A0=A0 Sounds good..
=A0=A0 But, how about putting the static stuff in HTMLParser ?
=A0=A0 This is bcos clients will go thru the parser interface.=20
=A0=A0=20
=A0=A0 Regards,
=A0=A0 Somik
=A0=A0=20
=20
=A0=A0=A0=A0=A0 ----- Original Message -----=20
=A0=A0=A0=A0=A0 From: dha...@or...=20
=A0=A0=A0=A0=A0 To: htm...@li...=20
=A0=A0=A0=A0=A0 Sent: Wednesday, August 21, 2002 1:33 PM
=A0=A0=A0=A0=A0 Subject: RE: [Htmlparser-developer] Writing test=
cases
=20
=A0=A0=A0=A0=A0 Hi all,
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 I propose to make the change specified by Somik =
as
follows :
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 1. Add a protected static variable in HTMLTag cl=
ass
called
=A0=A0=A0=A0=A0 lineSeparator. It will be initialized to the sys=
tem
property
=A0=A0=A0=A0=A0 line.separator. Since it is protected will be av=
ailable
to all the
=A0=A0=A0=A0=A0 child
=A0=A0=A0=A0=A0 classes of HTMLTag and can be hence used in the =
toHTML()
function.
=A0=A0=A0=A0=A0 2. To override this default value a public stati=
c method
called
=A0=A0=A0=A0=A0 setLineSeparator() will also be made available i=
n HTMLTag
class.
=A0=A0=A0=A0=A0 This
=A0=A0=A0=A0=A0 will reset the value of the lineSeparator member
variable.
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 If this approach seems fine, let me know so I ca=
n go
ahead.
=A0=A0=A0=A0=A0 Regards,=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Dhaval Udani=20
=A0=A0=A0=A0=A0 Senior Analyst=20
=A0=A0=A0=A0=A0 M-Line, QPEG=20
=A0=A0=A0=A0=A0 OrbiTech Solutions Ltd.=20
=A0=A0=A0=A0=A0 +91-22-8290019 Extn. 1457=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 -----Original Message-----
=A0=A0=A0=A0=A0 From: somik [ mailto:so...@ya...]
=A0=A0=A0=A0=A0 Sent: Tuesday, August 20, 2002 2:04 PM
=A0=A0=A0=A0=A0 To: htmlparser-developer
=A0=A0=A0=A0=A0 Cc: somik
=A0=A0=A0=A0=A0 Subject: Re: [Htmlparser-developer] Writing test=
cases
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Well - here's a tentative list :
=A0=A0=A0=A0=A0 [1] Create configurable end-of-line marker. Modi=
fy all
scanners
=A0=A0=A0=A0=A0 (toHTML()) to use this
=A0=A0=A0=A0=A0 [2] Create auto-detectable end-of-line marker. T=
his could
be a
=A0=A0=A0=A0=A0 special/default option
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 These two tasks directly relate to your need, so=
you'd be
in
=A0=A0=A0=A0=A0 the best
=A0=A0=A0=A0=A0 position to implement them. As u go ahead, make =
sure that
the
=A0=A0=A0=A0=A0 test
=A0=A0=A0=A0=A0 cases are passing.
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Cheers,
=A0=A0=A0=A0=A0 Somik
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 ----- Original Message -----=20
=A0=A0=A0=A0=A0 From: dha...@or...=20
=A0=A0=A0=A0=A0 To: htm...@li...=20
=A0=A0=A0=A0=A0 Sent: Tuesday, August 20, 2002 5:22 PM
=A0=A0=A0=A0=A0 Subject: RE: [Htmlparser-developer] Writing test=
cases
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Yeah sure. Let me know what you want to do.
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Regards,=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Dhaval Udani=20
=A0=A0=A0=A0=A0 Senior Analyst=20
=A0=A0=A0=A0=A0 M-Line, QPEG=20
=A0=A0=A0=A0=A0 OrbiTech Solutions Ltd.=20
=A0=A0=A0=A0=A0 +91-22-8290019 Extn. 1457=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 -----Original Message-----
=A0=A0=A0=A0=A0 From: somik [ mailto:so...@ya...]
=A0=A0=A0=A0=A0 Sent: Tuesday, August 20, 2002 1:08 PM
=A0=A0=A0=A0=A0 To: htmlparser-developer
=A0=A0=A0=A0=A0 Cc: somik
=A0=A0=A0=A0=A0 Subject: Re: [Htmlparser-developer] Writing test=
cases
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Hi Dhaval,
=A0=A0=A0=A0=A0 Really sorry, this week has been very tight (as =
also last
=A0=A0=A0=A0=A0 week).
=A0=A0=A0=A0=A0 Pls go ahead and check out the latest version of=
the
parser
=A0=A0=A0=A0=A0 from CVS
=A0=A0=A0=A0=A0 - it has bug fixes by John Zook.
=A0=A0=A0=A0=A0 I was thinking of making the next release with s=
omething
=A0=A0=A0=A0=A0 more
=A0=A0=A0=A0=A0 substantial - particularly the end-of-line char =
issue
=A0=A0=A0=A0=A0 resolved,
=A0=A0=A0=A0=A0 and
=A0=A0=A0=A0=A0 the parser feedback integrated..
=A0=A0=A0=A0=A0 Can u help with this ?
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Regards,
=A0=A0=A0=A0=A0 Somik
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 ----- Original Message -----=20
=A0=A0=A0=A0=A0 From: dha...@or...=20
=A0=A0=A0=A0=A0 To: htm...@li...=20
=A0=A0=A0=A0=A0 Sent: Tuesday, August 20, 2002 3:36 PM
=A0=A0=A0=A0=A0 Subject: RE: [Htmlparser-developer] Writing test=
cases
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Hi Somik,
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Have you been able to go through the files? I ha=
ve
installed
=A0=A0=A0=A0=A0 Eclispse
=A0=A0=A0=A0=A0 and once you are through I will check it in thro=
ugh
Eclipse.
=A0=A0=A0=A0=A0 I
=A0=A0=A0=A0=A0 will also
=A0=A0=A0=A0=A0 be needing a version of HTMLParser with these
enhancements.
=A0=A0=A0=A0=A0 When
=A0=A0=A0=A0=A0 would
=A0=A0=A0=A0=A0 you be making the next integration release?
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Regards,
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Dhaval Udani
=A0=A0=A0=A0=A0 Senior Analyst
=A0=A0=A0=A0=A0 M-Line, QPEG
=A0=A0=A0=A0=A0 OrbiTech Solutions Ltd.
=A0=A0=A0=A0=A0 +91-22-8290019 Extn. 1457
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 -----Original Message-----
=A0=A0=A0=A0=A0 From: Udani, Dhaval H.=20
=A0=A0=A0=A0=A0 Sent: Wednesday, August 14, 2002 8:15 PM
=A0=A0=A0=A0=A0 To: htmlparser-developer
=A0=A0=A0=A0=A0 Cc: Udani, Dhaval H.
=A0=A0=A0=A0=A0 Subject: RE: [Htmlparser-developer] Writing test=
cases
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Hi Somik,
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Since I will need to install SSH1 before I can g=
et proper
=A0=A0=A0=A0=A0 access
=A0=A0=A0=A0=A0 to the
=A0=A0=A0=A0=A0 CVS(I think u have already granted me access sin=
ce I
already
=A0=A0=A0=A0=A0 gave
=A0=A0=A0=A0=A0 u my
=A0=A0=A0=A0=A0 id and u even acknowledged). So I will do that a=
nd learn
to
=A0=A0=A0=A0=A0 use
=A0=A0=A0=A0=A0 CVS. In
=A0=A0=A0=A0=A0 the meanwhile probably you can look at the code.=
The
JUnit
=A0=A0=A0=A0=A0 test
=A0=A0=A0=A0=A0 cases
=A0=A0=A0=A0=A0 are also attached. Each test case is configured =
to run
=A0=A0=A0=A0=A0 independently.
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 I hope u find it easy. Since it is independence =
day out
here
=A0=A0=A0=A0=A0 tommorrow I
=A0=A0=A0=A0=A0 won't be in office. However will be in touch on =
Friday.
For
=A0=A0=A0=A0=A0 the
=A0=A0=A0=A0=A0 present
=A0=A0=A0=A0=A0 I am attaching zip file of 4 tag-scanners and th=
eir
=A0=A0=A0=A0=A0 respective
=A0=A0=A0=A0=A0 test
=A0=A0=A0=A0=A0 cases. I have created a util file for commonly u=
sed
=A0=A0=A0=A0=A0 functions. U
=A0=A0=A0=A0=A0 can
=A0=A0=A0=A0=A0 probably check that out as well.
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Regards,
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Dhaval Udani
=A0=A0=A0=A0=A0 Senior Analyst
=A0=A0=A0=A0=A0 M-Line, QPEG
=A0=A0=A0=A0=A0 OrbiTech Solutions Ltd.
=A0=A0=A0=A0=A0 +91-22-8290019 Extn. 1457
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 -----Original Message-----
=A0=A0=A0=A0=A0 From: somik [ mailto:so...@ya...]
=A0=A0=A0=A0=A0 Sent: Wednesday, August 14, 2002 5:31 PM
=A0=A0=A0=A0=A0 To: htmlparser-developer
=A0=A0=A0=A0=A0 Cc: somik
=A0=A0=A0=A0=A0 Subject: Re: [Htmlparser-developer] Writing test=
cases
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Hi Dhaval,
=A0=A0=A0=A0=A0 > Do let me know if you are interested in includ=
ing it as
a
=A0=A0=A0=A0=A0 > part of the standard library and what I will n=
eed to do
=A0=A0=A0=A0=A0 for that
=A0=A0=A0=A0=A0 > purpose. I will feel a little bit more confida=
nt if
=A0=A0=A0=A0=A0 someone goes
=A0=A0=A0=A0=A0 through
=A0=A0=A0=A0=A0 > my code since this is my first time. I have ch=
anged the
=A0=A0=A0=A0=A0 tag-scanners
=A0=A0=A0=A0=A0 > quite a fair bit from the time I last sent the=
m to u.
=A0=A0=A0=A0=A0 >
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 That would be good. In fact, if you can check it=
into
CVS,
=A0=A0=A0=A0=A0 then I
=A0=A0=A0=A0=A0 can
=A0=A0=A0=A0=A0 work
=A0=A0=A0=A0=A0 on it the moment I find some time, maybe sometim=
e
tomorrow.
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 You need to sign up as a developer at
=A0=A0=A0=A0=A0 http://sourceforge.net/account/register.php and =
send me
your
=A0=A0=A0=A0=A0 id. I
=A0=A0=A0=A0=A0 will
=A0=A0=A0=A0=A0 then
=A0=A0=A0=A0=A0 add you as a developer for htmlparser. You can t=
hen check
in
=A0=A0=A0=A0=A0 your
=A0=A0=A0=A0=A0 code
=A0=A0=A0=A0=A0 directly with CVS.
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Bytway, thank you for asking so many questions -=
I have
been
=A0=A0=A0=A0=A0 wanting to
=A0=A0=A0=A0=A0 put
=A0=A0=A0=A0=A0 out all this info in the docs, but now that you'=
ve
brought
=A0=A0=A0=A0=A0 it all
=A0=A0=A0=A0=A0 out,
=A0=A0=A0=A0=A0 its
=A0=A0=A0=A0=A0 there in the mail archives for others. Of course=
, we
still
=A0=A0=A0=A0=A0 need
=A0=A0=A0=A0=A0 good
=A0=A0=A0=A0=A0 docs :)
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 Cheers,
=A0=A0=A0=A0=A0 Somik
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0 ------------------------------------------------=
-------
=A0=A0=A0=A0=A0 This sf.net email is sponsored by: Dice - The le=
ading
online
=A0=A0=A0=A0=A0 job
=A0=A0=A0=A0=A0 board
=A0=A0=A0=A0=A0 for high-tech professionals. Search and apply fo=
r tech
jobs
=A0=A0=A0=A0=A0 today!
=A0=A0=A0=A0=A0 http://seeker.dice.com/seeker.epl?rel_code=3D31
=A0=A0=A0=A0=A0 _______________________________________________
=A0=A0=A0=A0=A0 Htmlparser-developer mailing list
=A0=A0=A0=A0=A0 Htm...@li...
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0
https://lists.sourceforge.net/lists/listinfo/htmlparser-develop
er
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=A0=A0=A0=A0=A0=20
=20
=A0=A0=20
=20
=20
=20
=20
|