You are here

public function AuxiliaryTest::test in Autoload 7

Unit tests for auxiliary functions.

5 methods override AuxiliaryTest::test()
CustomTest::test in src/Tests/Unit/CustomTest.php
Unit tests for auxiliary functions.
DrupalTest::test in src/Tests/Unit/DrupalTest.php
Unit tests for auxiliary functions.
EntityTest::test in src/Tests/Unit/EntityTest.php
Unit tests for auxiliary functions.
ExtensionsTest::test in src/Tests/Unit/ExtensionsTest.php
Unit tests for auxiliary functions.
SeekerTest::test in src/Tests/Unit/SeekerTest.php
Unit tests for auxiliary functions.

File

src/Tests/Unit/AuxiliaryTest.php, line 38

Class

AuxiliaryTest
Class AuxiliaryTest.

Namespace

Drupal\autoload\Tests\Unit

Code

public function test() {
  $this
    ->assertEqual(autoload_namespace_to_path('One\\Two/Three'), 'One/Two/Three');
  $this
    ->assertEqual(autoload_path_to_namespace('One/Two\\Three'), 'One\\Two\\Three');
}