ExpressionManagerCoreTest

Extends \ls\tests\TestBaseClass

Test expression evaluation in PHP vs JS.

since 2017-06-16
group

em

Methods

setUpBeforeClass

setUpBeforeClass() 
inherited static

Some code on how to use tokens manually.

notes() 

testNumericalQuestion

testNumericalQuestion() 
group

me

testShortTextQuestion

testShortTextQuestion() 
group

me2

importSurvey

importSurvey(string $fileName) : void
inherited static

Arguments

$fileName

string

tearDownAfterClass

tearDownAfterClass() 
inherited static

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