ExpressionManagerCoreTest

Extends \ls\tests\TestBaseClass

Test expression evaluation in PHP vs JS.

since 2017-06-16
group

em

package

Default

Methods

importSurvey

importSurvey(string $fileName) : void
inherited static

Arguments

$fileName

string

Some code on how to use tokens manually.

notes() 

setUpBeforeClass

setUpBeforeClass() 
inherited static

tearDownAfterClass

tearDownAfterClass() 
inherited static

testNumericalQuestion

testNumericalQuestion() 
group

me

testShortTextQuestion

testShortTextQuestion() 
group

me2

Properties

List of expressions to test.

expressions : array
var

[[string $value, string $expression], ...]

Type(s)

array

testHelper

testHelper : \ls\tests\TestHelper
inherited static
var

Type(s)

\ls\tests\TestHelper

tempFolder

tempFolder : string
inherited static
var

Type(s)

string

screenshotsFolder

screenshotsFolder : string
inherited static
var

Type(s)

string

surveysFolder

surveysFolder : string
inherited static
var

Type(s)

string

dataFolder

dataFolder : string
inherited static
var

Type(s)

string

viewsFolder

viewsFolder : string
inherited static
var

Type(s)

string

testSurvey

testSurvey : \Survey
inherited static
var

Type(s)

\Survey

surveyId

surveyId : integer
inherited static
var

Type(s)

integer