Search for Unit

  1. Search 7.x for Unit
  2. Search 9.5.x for Unit
  3. Search 10.3.x for Unit
  4. Search 11.x for Unit
  5. Search main for Unit
  6. Other projects
Title Object type File name Summary
OptionsFieldUnitTestBase::$modules property core/modules/options/tests/src/Kernel/OptionsFieldUnitTestBase.php Modules to enable.
OptionsFieldUnitTestBase::setUp function core/modules/options/tests/src/Kernel/OptionsFieldUnitTestBase.php Set the default field storage backend for fields created during tests.
Phpunit4CompatibilityTest class core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of the PHPUnit4 backward compatibility classes.
Phpunit4CompatibilityTest.php file core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php
Phpunit4CompatibilityTest::FrameworkErrorWarning function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_Error_Warning.
Phpunit4CompatibilityTest::testFrameworkAssertionFailedError function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_AssertionFailedError.
Phpunit4CompatibilityTest::testFrameworkConstraintCount function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_Constraint_Count.
Phpunit4CompatibilityTest::testFrameworkError function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_Error.
Phpunit4CompatibilityTest::testFrameworkException function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_Exception.
Phpunit4CompatibilityTest::testFrameworkExpectationFailedException function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_ExpectationFailedException.
Phpunit4CompatibilityTest::testFrameworkMockObjectMatcherInvokedRecorder function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_MockObject_Matcher_InvokedRecorder.
Phpunit4CompatibilityTest::testFrameworkSkippedTestError function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_SkippedTestError.
Phpunit4CompatibilityTest::testFrameworkTestCase function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Framework_TestCase.
Phpunit4CompatibilityTest::testUtilTest function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Util_Test.
Phpunit4CompatibilityTest::testUtilXml function core/tests/Drupal/Tests/Phpunit4CompatibilityTest.php Tests existence of \PHPUnit_Util_XML.
PhpUnitAutoloaderTest class core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php Tests that classes are correctly loaded during PHPUnit initialization.
PhpUnitAutoloaderTest.php file core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php
PhpUnitAutoloaderTest::testPhpUnitTestClassesLoading function core/tests/Drupal/Tests/Core/Test/PhpUnitAutoloaderTest.php Test loading of classes provided by test sub modules.
PhpUnitBridgeIsolatedTest class core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php Test how unit tests interact with deprecation errors in process isolation.
PhpUnitBridgeIsolatedTest.php file core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php
PhpUnitBridgeIsolatedTest::testDeprecatedClass function core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeIsolatedTest.php @expectedDeprecation Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass is deprecated.
PhpUnitBridgeTest class core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php Test how kernel tests interact with deprecation errors.
PhpUnitBridgeTest class core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php Tests Drupal's integration with Symfony PHPUnit Bridge.
PhpUnitBridgeTest class core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php Test how unit tests interact with deprecation errors.
PhpUnitBridgeTest.php file core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php
PhpUnitBridgeTest.php file core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php
PhpUnitBridgeTest.php file core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php
PhpUnitBridgeTest::$modules property core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php Modules to enable.
PhpUnitBridgeTest::$modules property core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php Modules to enable.
PhpUnitBridgeTest::testDeprecatedClass function core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php @expectedDeprecation Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass is deprecated.
PhpUnitBridgeTest::testDeprecatedClass function core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php @expectedDeprecation Drupal\deprecation_test\Deprecation\FixtureDeprecatedClass is deprecated.
PhpUnitBridgeTest::testDeprecatedFunction function core/tests/Drupal/Tests/Core/Test/PhpUnitBridgeTest.php
PhpUnitBridgeTest::testDeprecatedFunction function core/tests/Drupal/KernelTests/Core/Test/PhpUnitBridgeTest.php @expectedDeprecation This is the deprecation message for deprecation_test_function().
PhpUnitBridgeTest::testErrorOnSiteUnderTest function core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php @expectedDeprecation This is the deprecation message for deprecation_test_function().
PhpUnitBridgeTest::testSilencedError function core/tests/Drupal/FunctionalTests/Core/Test/PhpUnitBridgeTest.php @expectedDeprecation This is the deprecation message for deprecation_test_function().
PhpUnitCliTest class core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php @group TestSuites
@group Test
PhpUnitCliTest.php file core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php
PhpUnitCliTest::testPhpUnitListTests function core/tests/Drupal/Tests/Core/Test/PhpUnitCliTest.php Ensure that the test suites are able to discover tests without incident.
PhpunitCompatibilityTrait trait core/tests/Drupal/Tests/PhpunitCompatibilityTrait.php Makes Drupal's test API forward compatible with multiple versions of PHPUnit.
PhpunitCompatibilityTrait.php file core/tests/Drupal/Tests/PhpunitCompatibilityTrait.php
PhpunitCompatibilityTrait::getMock function core/tests/Drupal/Tests/PhpunitCompatibilityTrait.php Returns a mock object for the specified class using the available method.
PhpunitCompatibilityTrait::setExpectedException function core/tests/Drupal/Tests/PhpunitCompatibilityTrait.php Compatibility layer for PHPUnit 6 to support PHPUnit 4 code.
PhpunitCompatibilityTraitTest class core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php Tests the PHPUnit forward compatibility trait.
PhpunitCompatibilityTraitTest.php file core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php
PhpunitCompatibilityTraitTest::testAssertEqualsCanonicalizing function core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php Tests that assert(Not)EqualsCanonicalizing methods are available.
PhpunitCompatibilityTraitTest::testAssertIs function core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php Tests that assertIs(Not)* methods are available.
PhpunitCompatibilityTraitTest::testAssertStringContainsString function core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php Tests that assert*StringContainsString* methods are available.
PhpunitCompatibilityTraitTest::testGetMock function core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php Tests that getMock is available.
PhpunitCompatibilityTraitTest::testSetExpectedException function core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php Tests that setExpectedException is available.
PhpUnitErrorTest class core/modules/simpletest/tests/src/Kernel/PhpUnitErrorTest.php Tests PHPUnit errors are getting converted to Simpletest errors.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.