Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Where is the JUNIT test case template
Where is the JUNIT test case template [message #184936] Tue, 09 November 2004 14:19 Go to next message
Eclipse UserFriend
Does anyone know where to modify the template used to generate new JUNIT
test cases in eclipse 3.01? There doesn't appear to be a way to do this
in Preferences->Java->CodeStyle->CodeTemplates or in
Preferences->Java->Editor->Templates, and I have been unable to find
an xml file in eclipse which defines the JUNIT test case template
definition. Does anyone know how to do this??

Thanks in advance
StoneCracker_at_earthlinkDOTnet
Re: Where is the JUNIT test case template [message #184992 is a reply to message #184936] Wed, 10 November 2004 04:21 Go to previous message
Eclipse UserFriend
Stonecracker wrote:

> Does anyone know where to modify the template used to generate new JUNIT
> test cases in eclipse 3.01? There doesn't appear to be a way to do this
> in Preferences->Java->CodeStyle->CodeTemplates or in
> Preferences->Java->Editor->Templates, and I have been unable to find
> an xml file in eclipse which defines the JUNIT test case template
> definition. Does anyone know how to do this??

There's not template. The test case source is composed in code, based on the
selections on the wizard page.

See org.eclipse.jdt.internal.junit.wizards.NewTestCaseCreationWi zardPage

Markus
Previous Topic:Java Editor Templates for CodeAssist
Next Topic:Extending TypeSelectionDialog
Goto Forum:
  


Current Time: Wed May 28 21:27:08 EDT 2025

Powered by FUDForum. Page generated in 0.04991 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top