Allow ScenarioClassLoader to instantiate scenarios using default constructor

Description

Currently, all scenario classes need a constructor with a ClassLoader parameter, required by CLI runner with Maven and Ant.

While using core only, it is typically not required. So ScenarioClassLoader.newScenario() should support a varargs of parameter types, which also allow for no parameter types to instantiate using the default constructor. It is then up to the caller to use the appropriate parameter types.

Activity

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created November 1, 2009 at 1:07 PM
Updated May 22, 2015 at 8:30 AM
Resolved November 1, 2009 at 1:11 PM