#1746: Implement JUnit tests for browser compatibility check
----------------------------+-----------------------------------------------
Reporter: th-schwarz | Owner: th-schwarz
Type: Task | Status: assigned
Priority: High | Milestone: FCKeditor.Java 2.4
Component: Server : Java | Version:
Resolution: | Keywords:
----------------------------+-----------------------------------------------
Changes (by th-schwarz):
* summary: Implement JUnit tests for browser compatibilty check =>
Implement JUnit tests for browser compatibility
check
Old description:
> We need some exemplary JUnit tests for the class Compatibility to ensure,
> the browser compatibiltiy check works fine.
New description:
We need some exemplary JUnit tests for the class Compatibility to ensure,
the browser compatibilitiy check works fine.
Comment:
Replying to [comment:2 fredck]:
> This is quite a difficult thing to handle in JUnit, as the test code
also needs to identify the browser with a code that is basically similar
to the code used in FCKeditor.Java for the browser check.
>
> The only possible automation would be testing the compatibility checks
over a list of browser user agent strings, which means that the check code
should be separated from the user agent string retrieval code.
That's exactly what I want to do! I don't want to check the agent string
retrieval code.
My Compatibility class gets only one argument, the user agent string. And
so it is possible to check this class over a list of browser agent
strings, as you said. So we can ensure, that the compatibility check works
as it expected for a list of user agent strings. And that would be very
helpful!
Do you have some exemplary user agent strings, for negative and positive
checks?
Otherwise I'll take some from
[http://www.zytrax.com/tech/web/browser_ids.htm].
--
Ticket URL: <http://dev.fckeditor.net/ticket/1746#comment:3>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac