You are here

apps.test in Apps 7

Tests for the AppStore module

File

apps.test
View source
<?php

// $Id$

/**
*
* @file
* Tests for the AppStore module
*/
class AppstoreUnitTestCase extends DrupalUnitTestCase {
  public function setUp() {
    parent::setUp('apps');
    $logfile = conf_path() . '/files/test.log';
    ini_set('log_errors', 1);
    ini_set('error_log', $logfile);
  }
  public function getInfo() {
    return array(
      'name' => 'AppStore First Unit Test Case',
      'description' => '',
      'group' => 'apps',
    );
  }
  public function testStuff() {
    error_log("some test message");
    $this
      ->assertEqual(1, 1, t('Trivial Test'));
  }

}

Classes

Namesort descending Description
AppstoreUnitTestCase @file Tests for the AppStore module