My favorites | Sign in
Project Home
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 13: TestNG does not appear in Run As context menu.
4 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by haj...@googlemail.com, Jul 16, 2007
What steps will reproduce the problem?

Try to run any TestNG test using the "Run As" context menu. 

What is the expected output? What do you see instead?

Run As TestNG should appear in the context menu, but it does not!

What version of the product are you using? On what operating system?

org.testng.eclipse 5.6.0.0
eclipse 3.3
Ubuntu Linux 7.04

Please provide any additional information below.

.metadata/.log contains:

!ENTRY org.eclipse.core.resources 2 10035 2007-07-16 10:33:33.511
!MESSAGE The workspace exited with unsaved changes in the previous session;
refreshing workspace to recover changes.
!SESSION 2007-07-16 10:33:59.970
-----------------------------------------------
eclipse.buildId=I20070621-1340
java.version=1.6.0_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments:  -os linux -ws gtk -arch x86

!ENTRY org.eclipse.debug.ui 4 0 2007-07-16 11:10:17.986
!MESSAGE Launch shortcut 'org.testng.eclipse.shortcut' enablement
expression caused exception. Shortcut was removed.
!STACK 1
org.eclipse.core.runtime.CoreException: No property tester contributes a
property isTest to type class org.eclipse.core.internal.resources.File
        at
org.eclipse.core.internal.expressions.TypeExtensionManager.getProperty(TypeExtensionManager.java:109)
        at
org.eclipse.core.internal.expressions.TestExpression.evaluate(TestExpression.java:95)
        at
org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
        at
org.eclipse.core.internal.expressions.IterateExpression.evaluate(IterateExpression.java:150)
        at
org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
        at
org.eclipse.core.internal.expressions.WithExpression.evaluate(WithExpression.java:69)
        at
org.eclipse.core.internal.expressions.CompositeExpression.evaluateAnd(CompositeExpression.java:53)
        at
org.eclipse.core.internal.expressions.EnablementExpression.evaluate(EnablementExpression.java:43)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.evalEnablementExpression(LaunchShortcutExtension.java:282)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getApplicableConfigurationTypes(LaunchConfigurationManager.java:714)
        at
org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationManager.getApplicableLaunchConfigurations(LaunchConfigurationManager.java:747)
        at
org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getResourceLabel(LaunchingResourceManager.java:303)
        at
org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.computeLabels(LaunchingResourceManager.java:207)
        at
org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager$2.run(LaunchingResourceManager.java:125)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
!SUBENTRY 1 org.eclipse.core.expressions 4 201 2007-07-16 11:10:17.987
!MESSAGE No property tester contributes a property isTest to type class
org.eclipse.core.internal.resources.File

Sep 6, 2007
#1 erik.put...@nrc-cnrc.gc.ca
Fixed this one
testng-eclipse.patch
923 bytes   Download
Sep 14, 2007
#2 thorsten...@freenet.de
sorry, but how can I install and activate this patch in Eclipse?

Powered by Google Project Hosting