Bug 1449 - convert DOMTestDOMFrysk to junit
Summary: convert DOMTestDOMFrysk to junit
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Rick Moseley
URL:
Keywords:
Depends on: 2196
Blocks: 3392
  Show dependency treegraph
 
Reported: 2005-10-09 15:03 UTC by Andrew Cagney
Modified: 2006-12-08 15:30 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2005-10-09 15:03:16 UTC
Converting to junit is fairly straight forward, for instance, this:

  if (testDOMImage.getName() == "test_image_2") {
    System.out.println("\npassed...DOMImage.getName");

is reduced to:

  assertEquals ("DOMImage.getName", "test_image_2", testDOMImage.getName ());

For consistency, the file should be named TestXXXXX.java.
Comment 1 Rick Moseley 2005-10-17 17:50:01 UTC
This is in the plans as soon I as the DOM code to where the GUI can use it to
populate the source window.  Hopefully a few days from now.
Comment 2 Rick Moseley 2006-01-09 14:28:59 UTC
This task has been converted to junit and its name changed to TestDOM.