DateTimeTest

Extends \ls\tests\TestBaseClass

since 2017-06-13
group

date

package

Default

Methods

"currentQset" in EM.

getQuestionSetForQ2(\Question $question, \QuestionGroup $group,  $sgqa) 

Arguments

$question

\Question

$sgqa

importSurvey

importSurvey(string $fileName) : void
inherited static

Arguments

$fileName

string

setUpBeforeClass

setUpBeforeClass() 
inherited static

tearDownAfterClass

tearDownAfterClass() 
inherited static

Test correct date.

testCorrectDateFormat() 

q1 is hidden question with default answer "now".

testQ1() 

Test wrong date input and error message.

testWrongInput() 
group

datewronginput

Properties

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