Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
ExampleTest.php
»
ExampleTest
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
function ExampleTest::testArithmetics
Same name in this branch
7.x drupal/modules/simpletest/tests/psr_0_test/lib/Drupal/psr_0_test/Tests/ExampleTest.php
\Drupal\psr_0_test\Tests\ExampleTest::testArithmetics()
7.x drupal/modules/simpletest/tests/psr_4_test/src/Tests/ExampleTest.php
\Drupal\psr_4_test\Tests\ExampleTest::testArithmetics()
File
drupal/
modules/
simpletest/
tests/
psr_4_test/
src/
Tests/
ExampleTest.php
, line 15
Class
ExampleTest
Namespace
Drupal\psr_4_test\Tests
Code
function
testArithmetics
() {
$this
->
assert
(
1
+
1
==
2
,
'1 + 1 == 2'
); }