You are here

public static function AcquiaLiftTestReports::getBasicStatusReport in Acquia Lift Connector 7

2 calls to AcquiaLiftTestReports::getBasicStatusReport()
AcquiaLiftWebTestReports::testReadReportsFromFile in tests/acquia_lift.test
AcquiaLiftWebTestReports::testReportEndDate in tests/acquia_lift.test

File

tests/acquia_lift.test_classes.inc, line 532
Provides test classes for Acquia Lift

Class

AcquiaLiftTestReports
Class AcquiaLiftTestReports

Code

public static function getBasicStatusReport($agent_name) {
  $report = array(
    'data' => array(
      $agent_name => array(
        'totals' => array(
          'goals' => array(
            'count' => 0,
          ),
          'sessions' => array(
            'count' => 0,
          ),
        ),
        'dates' => array(
          0 => array(
            'date' => 1407542400,
            'sessionCount' => 0,
            'goalCount' => 0,
            'goalValue' => 0,
            'liftOverDefaultUsingGoals' => 0,
            'liftOverDefaultUsingValue' => 0,
            'liftOverRandomUsingGoals' => 0,
            'liftOverRandomUsingValue' => 0,
            'goalsPerSession' => 0,
            'valuePerSession' => 0,
            'valuePerGoal' => 0,
            'liftOverDefaultUsingGoalsToDate' => 0,
            'liftOverRandomUsingGoalsToDate' => 0,
            'liftOverDefaultUsingValueToDate' => 0,
            'liftOverRandomUsingValueToDate' => 0,
          ),
        ),
        'trends' => array(
          'dates' => array(
            0 => 1407542400,
          ),
          'sessionCount' => array(
            0 => 0,
          ),
          'goalCount' => array(
            0 => 0,
          ),
          'goalValue' => array(
            0 => 0,
          ),
          'liftOverDefaultUsingGoals' => array(
            0 => 0,
          ),
          'liftOverDefaultUsingValue' => array(
            0 => 0,
          ),
          'liftOverRandomUsingGoals' => array(
            0 => 0,
          ),
          'liftOverRandomUsingValue' => array(
            0 => 0,
          ),
          'goalsPerSession' => array(
            0 => 0,
          ),
          'valuePerSession' => array(
            0 => 0,
          ),
          'valuePerGoal' => array(
            0 => 0,
          ),
          'liftOverDefaultUsingGoalsToDate' => array(
            0 => 0,
          ),
          'liftOverRandomUsingGoalsToDate' => array(
            0 => 0,
          ),
          'liftOverDefaultUsingValueToDate' => array(
            0 => 0,
          ),
          'liftOverRandomUsingValueToDate' => array(
            0 => 0,
          ),
        ),
        'today' => array(
          'date' => 1407542400,
          'sessionCount' => 0,
          'goalCount' => 0,
          'goalValue' => 0,
          'liftOverDefaultUsingGoals' => 0,
          'liftOverDefaultUsingValue' => 0,
          'liftOverRandomUsingGoals' => 0,
          'liftOverRandomUsingValue' => 0,
          'goalsPerSession' => 0,
          'valuePerSession' => 0,
          'valuePerGoal' => 0,
          'liftOverDefaultUsingGoalsToDate' => 0,
          'liftOverRandomUsingGoalsToDate' => 0,
          'liftOverDefaultUsingValueToDate' => 0,
          'liftOverRandomUsingValueToDate' => 0,
        ),
        'described' => '<p>Chooses <strong>adaptively</strong> from two options, <strong>test</strong> and <strong>some-custom-block</strong>.</p>
',
      ),
    ),
  );
  return $report;
}