Test the Application |
![]() Previous |
![]() Next |
The tutorial includes JUnit tests for the application.
In Eclipse, right-click the Advanced_Tutorial project and select Refresh. Eclipse refreshes the TopLink project information.
Right-click the ModelTest.java and select Run As > JUnit Test. The Junit tab appears and executes the following tests:
testOneToManyMapping
testNamedQuery
testManyToManyMapping
testOneToOneMapping
testVariousMapping