StreamWrapperTest::testGetClassName

  1. drupal
    1. 8
    2. 7
Versions
7 StreamWrapperTest::testGetClassName()

Test the getClassName() function.

Code

modules/simpletest/tests/file.test, line 2699

<?php
function testGetClassName() {
  // Check the dummy scheme.
  $this->assertEqual($this->classname, file_stream_wrapper_get_class($this->scheme), t('Got correct class name for dummy scheme.'));
  // Check core's scheme.
  $this->assertEqual('DrupalPublicStreamWrapper', file_stream_wrapper_get_class('public'), t('Got correct class name for public scheme.'));
}
?>