Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » AGR suites in JUnit
AGR suites in JUnit [message #106623] Thu, 26 July 2007 12:30 Go to next message
Eclipse UserFriend
Originally posted by: cl.silistix.com

This is a multi-part message in MIME format.
--------------010904070309050007050509
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi all,

I've been trying to launch my AGR test suites in a JUnit Suite but am
having no luck. Is there a reliable way to do this?

At the moment I am attempting to use AutomationClientAdapter to launch
the suite.. the second instance of eclipse will launch but no cases will
be executed. The eclipse instance I used to launch the test reports the
attached error.
The code I am using to launch my test suite is also attached.

I am running eclipse3.3, TPTP4.4 on RHEL4.

Is there another way to launch AGR suites programatically? How are they
launched in standard mode within eclipse? Is there anything documenting
how eclipse launches AGR suites?

Any help/documents would be much appreciated.

Craig


--------------010904070309050007050509
Content-Type: text/plain;
name="code"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="code"

public class AllTests {

public static Test suite() {
TestSuite suite = new TestSuite("Test for com.silistix.csl.tests");
//$JUnit-BEGIN$

AutomationClientAdapter adapter = new AutomationClientAdapter("/home/cl/CA-Testing/eclipse/");

Properties props = new Properties();
props.setProperty("workspace", "/home/cl/workspace");
props.setProperty("project", "com.silistix.csl.tests");
props.setProperty("suite", "tests/DesignFlowTestsPass.testsuite");

adapter.execute("org.eclipse.hyades.test.tools.core.execute ", props);




//$JUnit-END$
return suite;
}

}

--------------010904070309050007050509
Content-Type: text/plain;
name="error"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="error"

Exception in thread "WorkbenchTestable" org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NoClassDefFoundError: junit/framework/Test)
at org.eclipse.swt.SWT.error(SWT.java:3563)
at org.eclipse.swt.SWT.error(SWT.java:3481)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.j ava:178)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchroniz er.java:118)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:3897)
at org.eclipse.ui.internal.testing.WorkbenchTestable.runTest(Wo rkbenchTestable.java:109)
at org.eclipse.pde.internal.junit.runtime.UITestApplication.run Tests(UITestApplication.java:120)
at org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:68)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.NoClassDefFoundError: junit/framework/Test
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
at java.lang.Class.getMethod0(Class.java:2611)
at java.lang.Class.getMethod(Class.java:1579)
at org.junit.internal.requests.ClassRequest.hasSuiteMethod(Clas sRequest.java:62)
at org.junit.internal.requests.ClassRequest.getRunnerClass(Clas sRequest.java:50)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequ est.java:28)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init >(JUnit4TestReference.java:26)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassRefere nce. <init>(JUnit4TestClassReference.java:24)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.crea teTest(JUnit4TestLoader.java:40)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.load Tests(JUnit4TestLoader.java:30)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:445)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:386)
at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunne r.main(RemotePluginTestRunner.java:58)
at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.r un(UITestApplication.java:122)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3296)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2974)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at org.eclipse.pde.internal.junit.runtime.UITestApplication.sta rt(UITestApplication.java:52)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)

--------------010904070309050007050509--
Re: AGR suites in JUnit [message #106640 is a reply to message #106623] Thu, 26 July 2007 13:07 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
Hi Craig,

I see no reason why what you're attempting should not work. I took a
look at the error stack, and it's not at all what I was expecting. The
error says that the junit.framework.Test class can't be found, which is
just part of the junit framework, and has nothing to do with your
invocation of ASF services. Can you confirm that, if you comment out
the ASF code, the test runs correctly? My guess is that it would still
fail.

Please let me know. Thanks,
--Joe
Re: AGR suites in JUnit [message #106653 is a reply to message #106640] Thu, 26 July 2007 13:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cl.silistix.com

Hi Joe,

Ahh yes my bad there.. I forgot to re-add junit to my projects dependencies.

The trace I should have shown you is this one:

java.lang.NoClassDefFoundError:
org/eclipse/hyades/automation/client/adapters/java/Automatio nClientAdapter
at com.silistix.csl.testsgui.AllTests.suite(AllTests.java:15)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.junit.runners.AllTests.testFromSuiteMethod(AllTests.java :36)
at org.junit.runners.AllTests.<init>(AllTests.java:25)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
at
org.junit.internal.requests.ClassRequest.buildRunner(ClassRe quest.java:33)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequ est.java:28)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init >(JUnit4TestReference.java:26)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassRefere nce. <init>(JUnit4TestClassReference.java:24)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.crea teTest(JUnit4TestLoader.java:40)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.load Tests(JUnit4TestLoader.java:30)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:445)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:673)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:386)
at
org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunne r.main(RemotePluginTestRunner.java:58)
at
org.eclipse.pde.internal.junit.runtime.UITestApplication$1.r un(UITestApplication.java:122)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3296)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2974)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
at
org.eclipse.pde.internal.junit.runtime.UITestApplication.sta rt(UITestApplication.java:52)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)



Joe Toomey wrote:
> Hi Craig,
>
> I see no reason why what you're attempting should not work. I took a
> look at the error stack, and it's not at all what I was expecting. The
> error says that the junit.framework.Test class can't be found, which is
> just part of the junit framework, and has nothing to do with your
> invocation of ASF services. Can you confirm that, if you comment out
> the ASF code, the test runs correctly? My guess is that it would still
> fail.
>
> Please let me know. Thanks,
> --Joe
Re: AGR suites in JUnit [message #106667 is a reply to message #106653] Thu, 26 July 2007 13:52 Go to previous messageGo to next message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
Thanks Craig,

Are you doing this work in a Java project, or in a Plug-in Project? I
suggest, for simplicity, that you do it in a Plug-in Project. If we get
it working there, you can alway work backward to get the build/class
path correct in a Java Project.

So, in a Plug-in Project, please make sure you have a dependency on
org.junit and on org.eclipse.hyades.execution, and try to run the test
again. Please let me know how it goes.

Thanks,
--Joe

Craig Lang wrote:
> Hi Joe,
>
> Ahh yes my bad there.. I forgot to re-add junit to my projects
> dependencies.
>
> The trace I should have shown you is this one:
>
> java.lang.NoClassDefFoundError:
> org/eclipse/hyades/automation/client/adapters/java/Automatio nClientAdapter
> at com.silistix.csl.testsgui.AllTests.suite(AllTests.java:15)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.junit.runners.AllTests.testFromSuiteMethod(AllTests.java :36)
> at org.junit.runners.AllTests.<init>(AllTests.java:25)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
> at
> org.junit.internal.requests.ClassRequest.buildRunner(ClassRe quest.java:33)
> at
> org.junit.internal.requests.ClassRequest.getRunner(ClassRequ est.java:28)
> at
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init >(JUnit4TestReference.java:26)
>
> at
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassRefere nce. <init>(JUnit4TestClassReference.java:24)
>
> at
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.crea teTest(JUnit4TestLoader.java:40)
>
> at
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.load Tests(JUnit4TestLoader.java:30)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:445)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:673)
>
> at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:386)
>
> at
> org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunne r.main(RemotePluginTestRunner.java:58)
>
> at
> org.eclipse.pde.internal.junit.runtime.UITestApplication$1.r un(UITestApplication.java:122)
>
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
> at
> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3296)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2974)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
> at
> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>
> at
> org.eclipse.pde.internal.junit.runtime.UITestApplication.sta rt(UITestApplication.java:52)
>
> at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>
> at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
>
>
>
> Joe Toomey wrote:
>> Hi Craig,
>>
>> I see no reason why what you're attempting should not work. I took a
>> look at the error stack, and it's not at all what I was expecting.
>> The error says that the junit.framework.Test class can't be found,
>> which is just part of the junit framework, and has nothing to do with
>> your invocation of ASF services. Can you confirm that, if you comment
>> out the ASF code, the test runs correctly? My guess is that it would
>> still fail.
>>
>> Please let me know. Thanks,
>> --Joe
Re: AGR suites in JUnit [message #106708 is a reply to message #106667] Thu, 26 July 2007 14:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cl.silistix.com

Hi Joe,

I was working in a plug-in project. I had tptp-automation-client.jar
added to my build path originally.. removing that and adding a
dependency on org.eclipse.hyades.execution as you suggested allows my
tests to be launched.

I'm trying to launch my tests as a JUnit plugin so I can use EclEmma to
get code coverage stats. I'm not sure if it'll even work but I will keep
you informed.

Thanks for you help,
Craig

Joe Toomey wrote:
> Thanks Craig,
>
> Are you doing this work in a Java project, or in a Plug-in Project? I
> suggest, for simplicity, that you do it in a Plug-in Project. If we get
> it working there, you can alway work backward to get the build/class
> path correct in a Java Project.
>
> So, in a Plug-in Project, please make sure you have a dependency on
> org.junit and on org.eclipse.hyades.execution, and try to run the test
> again. Please let me know how it goes.
>
> Thanks,
> --Joe
>
> Craig Lang wrote:
>> Hi Joe,
>>
>> Ahh yes my bad there.. I forgot to re-add junit to my projects
>> dependencies.
>>
>> The trace I should have shown you is this one:
>>
>> java.lang.NoClassDefFoundError:
>> org/eclipse/hyades/automation/client/adapters/java/Automatio nClientAdapter
>>
>> at com.silistix.csl.testsgui.AllTests.suite(AllTests.java:15)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at org.junit.runners.AllTests.testFromSuiteMethod(AllTests.java :36)
>> at org.junit.runners.AllTests.<init>(AllTests.java:25)
>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
>> Method)
>> at
>> sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
>>
>> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
>> at
>> org.junit.internal.requests.ClassRequest.buildRunner(ClassRe quest.java:33)
>>
>> at
>> org.junit.internal.requests.ClassRequest.getRunner(ClassRequ est.java:28)
>> at
>> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init >(JUnit4TestReference.java:26)
>>
>> at
>> org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassRefere nce. <init>(JUnit4TestClassReference.java:24)
>>
>> at
>> org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.crea teTest(JUnit4TestLoader.java:40)
>>
>> at
>> org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.load Tests(JUnit4TestLoader.java:30)
>>
>> at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:445)
>>
>> at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(RemoteTestRunner.java:673)
>>
>> at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(R emoteTestRunner.java:386)
>>
>> at
>> org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunne r.main(RemotePluginTestRunner.java:58)
>>
>> at
>> org.eclipse.pde.internal.junit.runtime.UITestApplication$1.r un(UITestApplication.java:122)
>>
>> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
>> at
>> org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:123)
>>
>> at
>> org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3296)
>> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2974)
>> at
>> org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
>> at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
>> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
>> at
>> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
>>
>> at
>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
>>
>> at
>> org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
>> at
>> org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:106)
>>
>> at
>> org.eclipse.pde.internal.junit.runtime.UITestApplication.sta rt(UITestApplication.java:52)
>>
>> at
>> org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:153)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
>>
>> at
>> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
>>
>> at
>> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
>>
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:585)
>> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 504)
>> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
>> at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
>> at org.eclipse.equinox.launcher.Main.main(Main.java:1144)
>>
>>
>>
>> Joe Toomey wrote:
>>> Hi Craig,
>>>
>>> I see no reason why what you're attempting should not work. I took a
>>> look at the error stack, and it's not at all what I was expecting.
>>> The error says that the junit.framework.Test class can't be found,
>>> which is just part of the junit framework, and has nothing to do with
>>> your invocation of ASF services. Can you confirm that, if you
>>> comment out the ASF code, the test runs correctly? My guess is that
>>> it would still fail.
>>>
>>> Please let me know. Thanks,
>>> --Joe
Re: AGR suites in JUnit [message #106722 is a reply to message #106708] Thu, 26 July 2007 14:54 Go to previous message
Joe Toomey is currently offline Joe ToomeyFriend
Messages: 79
Registered: July 2009
Member
That's great news, Craig. Please keep us posted on your progress with
Emma -- I know Paul Slauenwhite (test project lead) has been doing some
work there, so he may have some tips as well.

Thanks,
--Joe
Previous Topic:TPTP fro Eclipse Applications with a View
Next Topic:When AGR resolvers are not used....
Goto Forum:
  


Current Time: Tue Apr 23 15:25:57 GMT 2024

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

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

Back to the top