jMock

Scripted action absent?

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Trivial Trivial
  • Resolution: Unresolved
  • Affects Version/s: 2.5.1
  • Fix Version/s: None
  • Component/s: Website
  • Labels:
    None
  • Number of attachments :
    0

Description

The webpage on scripting (http://www.jmock.org/scripting.html) says you should do:
import static org.jmock.lib.script.ScriptedCallbackAction.perform;

This should be:
import static org.jmock.lib.script.ScriptedAction.perform;

Activity

Hide
Shay Rojansky added a comment -

Sorry for the issue name, should have been clearer

Show
Shay Rojansky added a comment - Sorry for the issue name, should have been clearer
Hide
Ivan Yatskevich added a comment -

Hi Shay,

> First, you need to add the following JARs to your classpath:
>
> * jmock-script-2.5.1.jar
> * bsh-core-2.0b4.jar

Show
Ivan Yatskevich added a comment - Hi Shay, > First, you need to add the following JARs to your classpath: > > * jmock-script-2.5.1.jar > * bsh-core-2.0b4.jar

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated: