Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Turning off validator in JUnit tests
Turning off validator in JUnit tests [message #181520] Wed, 11 October 2006 20:40 Go to next message
Cameron Bateman is currently offline Cameron Bateman
Messages: 480
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 14:17 Go to previous message
Rob Frost is currently offline Rob Frost
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: Sat Aug 30 06:34:49 EDT 2014

Powered by FUDForum. Page generated in 0.01608 seconds