RE: [Htmlparser-developer] Writing test cases
Brought to you by:
derrickoswald
From: <dha...@or...> - 2002-08-21 04:34:25
|
Hi all, =A0 I propose to make the change specified by Somik as follows : =A0 1. Add a protected static variable in HTMLTag class called lineSeparator. It will be initialized to the system property line.separator. Since it is protected will be available to all the child classes of HTMLTag and can be hence used in the toHTML() function. 2. To override this default value a public static method called setLineSeparator() will also be made available in HTMLTag class. This will reset the value of the lineSeparator member variable. =A0 If this approach seems fine, let me know so I can go ahead. 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: Tuesday, August 20, 2002 2:04 PM To: htmlparser-developer Cc: somik Subject: Re: [Htmlparser-developer] Writing test cases =20 =20 =20 Well - here's a tentative list : [1] Create configurable end-of-line marker. Modify all scanners (toHTML()) to use this [2] Create auto-detectable end-of-line marker. This could be a special/default option =A0 These two tasks directly relate to your need, so you'd be in the best position to implement them. As u go ahead, make sure that the test cases are passing. =A0 Cheers, Somik =A0 ----- Original Message -----=20 From: dha...@or...=20 To: htm...@li...=20 Sent: Tuesday, August 20, 2002 5:22 PM Subject: RE: [Htmlparser-developer] Writing test cases Yeah sure. Let me know what you want to do. =20 =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: Tuesday, August 20, 2002 1:08 PM =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 Really sorry, this week has been very tight (as also last week). =A0=A0 Pls go ahead and check out the latest version of the parser from CVS =A0=A0 - it has bug fixes by John Zook. =A0=A0 I was thinking of making the next release with something mor= e =A0=A0 substantial - particularly the end-of-line char issue resolv= ed, and =A0=A0 the parser feedback integrated.. =A0=A0 Can u help with this ? =A0=A0=20 =A0=A0 Regards, =A0=A0 Somik =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 ca= ses =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 have = installed =A0=A0=A0=A0=A0 Eclispse =A0=A0=A0=A0=A0 and once you are through I will check it in through= Eclipse. I =A0=A0=A0=A0=A0 will also =A0=A0=A0=A0=A0 be needing a version of HTMLParser with these enhan= cements. 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 ca= ses =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 get = proper access =A0=A0=A0=A0=A0 to the =A0=A0=A0=A0=A0 CVS(I think u have already granted me access since = I already gave =A0=A0=A0=A0=A0 u my =A0=A0=A0=A0=A0 id and u even acknowledged). So I will do that and = learn to use =A0=A0=A0=A0=A0 CVS. In =A0=A0=A0=A0=A0 the meanwhile probably you can look at the code. Th= e JUnit 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 Fri= day. For the =A0=A0=A0=A0=A0 present =A0=A0=A0=A0=A0 I am attaching zip file of 4 tag-scanners and their respective =A0=A0=A0=A0=A0 test =A0=A0=A0=A0=A0 cases. I have created a util file for commonly used 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 ca= ses =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 including= it as a =A0=A0=A0=A0=A0 > part of the standard library and what I will need= to do for that =A0=A0=A0=A0=A0 > purpose. I will feel a little bit more confidant = if someone goes =A0=A0=A0=A0=A0 through =A0=A0=A0=A0=A0 > my code since this is my first time. I have chang= ed the =A0=A0=A0=A0=A0 tag-scanners =A0=A0=A0=A0=A0 > quite a fair bit from the time I last sent them t= o 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 in= to CVS, 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 sometime t= omorrow. =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 sen= d me your 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 then= check in 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 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, w= e still 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 leadi= ng online job =A0=A0=A0=A0=A0 board =A0=A0=A0=A0=A0 for high-tech professionals. Search and apply for t= ech jobs 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 https://lists.sourceforge.net/lists/listinfo/htmlparser-developer =A0=A0=A0=A0=A0=20 =A0=A0=A0=A0=A0=20 =20 =A0=A0=20 =20 =20 =20 =20 |