Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSDT tests errors/failures
JSDT tests errors/failures [message #230972] Sat, 02 May 2009 08:09 Go to next message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
I've checked out from CVS following plugins:

org.eclipse.wst.jsdt.core
org.eclipse.wst.jsdt.core.tests.compiler
org.eclipse.wst.jsdt.core.tests.model

However when I try to see how good is JSDT to use its API, and try to
run even simple tests, such as
org.eclipse.wst.jsdt.core.tests.dom.ASTTest, I see that there is a lot
of errors (7) and failures (47) in 168 tests. I see assertations that
will fail alwais:

assertTrue(TagElement.TAG_SINCE.equals("@since")); //$NON-NLS-1$
because of
public static final String TAG_SINCE = " "; //$NON-NLS-1$

So, this raises question - is JSDT really working if it has no tests?


Konstantin Scheglov,
Google, Inc.
Re: JSDT tests errors/failures [message #230983 is a reply to message #230972] Sat, 02 May 2009 15:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dcarver.starstandard.org

Konstantin Scheglov wrote:
>
> I've checked out from CVS following plugins:
>
> org.eclipse.wst.jsdt.core
> org.eclipse.wst.jsdt.core.tests.compiler
> org.eclipse.wst.jsdt.core.tests.model
>
> However when I try to see how good is JSDT to use its API, and try to
> run even simple tests, such as
> org.eclipse.wst.jsdt.core.tests.dom.ASTTest, I see that there is a lot
> of errors (7) and failures (47) in 168 tests. I see assertations that
> will fail alwais:
>
> assertTrue(TagElement.TAG_SINCE.equals("@since")); //$NON-NLS-1$
> because of
> public static final String TAG_SINCE = " "; //$NON-NLS-1$
>
> So, this raises question - is JSDT really working if it has no tests?

Konstantin. How are you trying to run the tests? What version of
Eclipse are you using, the code in head needs to have Eclipse 3.5.

I was able to successfully run the wst.jsdt.core.tests.compiler tests suite.

I did have problems getting the jsdt.core.tests.model tests to run.
Honestly, I'm not sure how accurate most of those really are. What I
did find out is that not all of the tests are run during a build. There
are many invalid or just plain wrong tests.

The test suites that are run typically are:

JSDTCompilerTests
JSDTModelTests

org.eclipse.wst.jsdt.web.ui.tests
AllWebUITests

org.eclipse.wst.jsdt.web.core.tests
AllWebCoreTests

I'll open a bug against JSDT to see if we can get the extraneous tests
removed or at least working and added to the test suite.

Dave
Re: JSDT tests errors/failures [message #230991 is a reply to message #230972] Sat, 02 May 2009 15:41 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dcarver.starstandard.org

I've opened the following bug to help address the problem you have raised.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=274729

Please copy yourself on that bug and provide us with any additional
information you may have. I.e. Which tests and test suites are you
running that are failing.

Dave

Konstantin Scheglov wrote:
>
> I've checked out from CVS following plugins:
>
> org.eclipse.wst.jsdt.core
> org.eclipse.wst.jsdt.core.tests.compiler
> org.eclipse.wst.jsdt.core.tests.model
>
> However when I try to see how good is JSDT to use its API, and try to
> run even simple tests, such as
> org.eclipse.wst.jsdt.core.tests.dom.ASTTest, I see that there is a lot
> of errors (7) and failures (47) in 168 tests. I see assertations that
> will fail alwais:
>
> assertTrue(TagElement.TAG_SINCE.equals("@since")); //$NON-NLS-1$
> because of
> public static final String TAG_SINCE = " "; //$NON-NLS-1$
>
> So, this raises question - is JSDT really working if it has no tests?
Re: JSDT tests errors/failures [message #231000 is a reply to message #230991] Sat, 02 May 2009 15:57 Go to previous message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
David Carver wrote:

> I've opened the following bug to help address the problem you have raised.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=274729
>
> Please copy yourself on that bug and provide us with any additional
> information you may have. I.e. Which tests and test suites are you
> running that are failing.


Thank you, I will answer in bug.


Konstantin Scheglov,
Google, Inc.
Previous Topic:Advance Queues / JMS Queues
Next Topic:Server Starting... Tomcat 6 on 127.0.0.2
Goto Forum:
  


Current Time: Thu Mar 28 14:55:47 GMT 2024

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

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

Back to the top