You are here

function BoostTestCase::test_configuration in Boost 6

File

./boost.test, line 20
Boost unit testings; currently very incomplete.

Class

BoostTestCase

Code

function test_configuration() {
  $this
    ->assertTrue(is_dir(BOOST_FILE_PATH), t('The cache directory exists.'), t('Configuration'));
  $this
    ->assertTrue(is_readable(BOOST_FILE_PATH), t('The cache directory is readable.'), t('Configuration'));
  $this
    ->assertTrue(is_writable(BOOST_FILE_PATH), t('The cache directory is writable.'), t('Configuration'));
}