lauraluo / js-test-driver

Automatically exported from code.google.com/p/js-test-driver
0 stars 0 forks source link

Intellij Cardea 132.839 can't run test, exception is thrown #446

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install EAP version of IntelliJ Cardea build 132.839
2. Install the plugin from the repository, version 132.15
3. Try to run a TestCase (I have a simple test case written with Jasmine)

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

I expect to see the tests ran within the run window. But the IDE logs an 
exception:

NoSuchMethodError: 
com.intellij.execution.testframework.autotest.ToggleAutoTestAction: method ()V 
not found: com.intellij.execution.testframework.autotest.ToggleAutoTestAction: 
method ()V not found

Full stack trace:

com.intellij.execution.testframework.autotest.ToggleAutoTestAction: method 
<init>()V not found: 
com.intellij.execution.testframework.autotest.ToggleAutoTestAction: method 
<init>()V not found
java.lang.NoSuchMethodError: 
com.intellij.execution.testframework.autotest.ToggleAutoTestAction: method 
<init>()V not found
    at com.google.jstestdriver.idea.execution.JstdTestRunnerCommandLineState.execute(JstdTestRunnerCommandLineState.java:96)
    at com.google.jstestdriver.idea.execution.JstdRunProgramRunner.doExecute(JstdRunProgramRunner.java:40)
    at com.intellij.execution.runners.GenericProgramRunner$1.execute(GenericProgramRunner.java:84)
    at com.intellij.execution.impl.ExecutionManagerImpl$2.run(ExecutionManagerImpl.java:204)
    at com.intellij.execution.impl.ExecutionManagerImpl.compileAndRun(ExecutionManagerImpl.java:176)
    at com.intellij.execution.impl.ExecutionManagerImpl.startRunProfile(ExecutionManagerImpl.java:242)
    at com.intellij.execution.impl.ExecutionManagerImpl.startRunProfile(ExecutionManagerImpl.java:255)
    at com.intellij.execution.runners.GenericProgramRunner.execute(GenericProgramRunner.java:77)
    at com.intellij.execution.runners.GenericProgramRunner.execute(GenericProgramRunner.java:61)
    at com.intellij.execution.ProgramRunnerUtil.executeConfiguration(ProgramRunnerUtil.java:106)
    at com.intellij.execution.impl.ExecutionManagerImpl.a(ExecutionManagerImpl.java:386)
    at com.intellij.execution.impl.ExecutionManagerImpl.access$400(ExecutionManagerImpl.java:58)
    at com.intellij.execution.impl.ExecutionManagerImpl$4.run(ExecutionManagerImpl.java:349)
    at com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
    at com.intellij.util.Alarm$Request$1.run(Alarm.java:297)
    at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:346)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
    at java.awt.EventQueue.access$200(EventQueue.java:103)
    at java.awt.EventQueue$3.run(EventQueue.java:682)
    at java.awt.EventQueue$3.run(EventQueue.java:680)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
    at com.intellij.ide.IdeEventQueue.e(IdeEventQueue.java:696)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:524)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:335)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

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

Linux Mint 13, Intellij Cardea build 132.839, JsTestDriver plugin v132.15

Please provide any additional information below.

greeter.jstd:

test:

load:
  - ../components/jasmine/lib/jasmine-core/jasmine.js
  - ../components/jasmine-sinon/lib/jasmine-sinon.js
  - ../components/jasmine-jstd-adapter/src/JasmineAdapter.js

  - tests/*.js

exclude:

The tests directory contains only one Test File:

describe('Inspected components should have a slider', function() {
    it('should contain the slider wrapper', function() {
        expect(true).toBeTruthy();
    });
});

describe('Gallery page should have Galleria', function() {
    it('should contain the galleria wrapper', function() {
        expect(true).toBeFalsy();
    });
});

Original issue reported on code.google.com by majisti....@gmail.com on 31 Oct 2013 at 2:25