1 file.test StreamWrapperTest::testGetClassName()

Test the getClassName() function.

File

core/modules/simpletest/tests/file.test, line 2853
This provides SimpleTests for the core file handling functionality. These include FileValidateTest and FileSaveTest.

Class

StreamWrapperTest
Tests stream wrapper functions.

Code

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