Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Turning off validator in JUnit tests
Turning off validator in JUnit tests [message #181520] Thu, 12 October 2006 00:40 Go to next message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
I'm trying speed up my JUnit plugin tests that use Dynamic Web Projects
and appears that if I can figure out how to turn off all validators by
default, it will help a lot. Is there a way to do this from a JUnit
Plugin Test?


Thanks,

Cameron
Re: Turning off validator in JUnit tests [message #181578 is a reply to message #181520] Thu, 12 October 2006 18:17 Go to previous message
Rob Frost is currently offline Rob FrostFriend
Messages: 64
Registered: July 2009
Member
hey Cameron,

You can take a look at
org.eclipse.jst.j2ee.dependency.test.util.DependencyUtil.dis ableValidation()
for code that does this programmatically (in the org.eclipse.jst.j2ee.tests
plugin; where this logic is used the tests disable then re-enable validation
at the workspace level)

-Rob


"Cameron Bateman" <cameron.bateman@oracle.com> wrote in message
news:006a8140351b4820b7784803fa17b037$1@www.eclipse.org...
> I'm trying speed up my JUnit plugin tests that use Dynamic Web Projects
> and appears that if I can figure out how to turn off all validators by
> default, it will help a lot. Is there a way to do this from a JUnit
> Plugin Test?
>
>
> Thanks,
>
> Cameron
>
Previous Topic:Error Attempting to Generate Servlet in Dynamic Web Project
Next Topic:Trying to use XML Editor on our custom xml types
Goto Forum:
  


Current Time: Thu Apr 25 11:30:35 GMT 2024

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

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

Back to the top