You are here

private function ExecutableFinderTest::assertSamePath in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Tests/ExecutableFinderTest.php \Symfony\Component\Process\Tests\ExecutableFinderTest::assertSamePath()
4 calls to ExecutableFinderTest::assertSamePath()
ExecutableFinderTest::testFind in vendor/symfony/process/Tests/ExecutableFinderTest.php
ExecutableFinderTest::testFindProcessInOpenBasedir in vendor/symfony/process/Tests/ExecutableFinderTest.php
ExecutableFinderTest::testFindWithExtraDirs in vendor/symfony/process/Tests/ExecutableFinderTest.php
ExecutableFinderTest::testFindWithOpenBaseDir in vendor/symfony/process/Tests/ExecutableFinderTest.php

File

vendor/symfony/process/Tests/ExecutableFinderTest.php, line 136

Class

ExecutableFinderTest
@author Chris Smith <chris@cs278.org>

Namespace

Symfony\Component\Process\Tests

Code

private function assertSamePath($expected, $tested) {
  if ('\\' === DIRECTORY_SEPARATOR) {
    $this
      ->assertEquals(strtolower($expected), strtolower($tested));
  }
  else {
    $this
      ->assertEquals($expected, $tested);
  }
}