| Summary: | convert DOMTestDOMFrysk to junit | ||
|---|---|---|---|
| Product: | frysk | Reporter: | Andrew Cagney <cagney> |
| Component: | general | Assignee: | Rick Moseley <rmoseley> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ajocksch |
| Priority: | P1 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Bug Depends on: | 2196 | ||
| Bug Blocks: | 3392 | ||
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. This task has been converted to junit and its name changed to TestDOM. |
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.