Welcome To Our Shell

Mister Spy & Souheyl Bypass Shell

Current Path : /var/www/html/dataninja.cn/core/modules/simpletest/tests/src/Unit/

Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Upload File :
Current File : /var/www/html/dataninja.cn/core/modules/simpletest/tests/src/Unit/SimpletestUiPrinterTest.php

<?php

namespace Drupal\Tests\simpletest\Unit;

use Drupal\Tests\Listeners\SimpletestUiPrinter;
use Drupal\Tests\UnitTestCase;

/**
 * @coversDefaultClass \Drupal\Tests\Listeners\SimpletestUiPrinter
 *
 * @group simpletest
 */
class SimpletestUiPrinterTest extends UnitTestCase {

  /**
   * Data provider for testWrite().
   *
   * @return string[]
   *   Array of data for testWrite().
   *   - Expected output from SimpletestUiPrinter->write().
   *   - Buffer to pass into SimpletestUiPrinter->write().
   */
  public function provideBuffer() {
    return [
      ['&amp;&quot;&#039;&lt;&gt;', '&"\'<>'],
      ['<a href="http:////www.example.com" target="_blank" title="http:////www.example.com">http:////www.example.com</a>', 'http:////www.example.com'],
      ['this is some text <a href="http://www.example.com/" target="_blank" title="http://www.example.com/">http://www.example.com/</a> with a link in it.', 'this is some text http://www.example.com/ with a link in it.'],
      ["HTML output was generated<br />\n", "HTML output was generated\n"],
    ];
  }

  /**
   * @covers ::write
   *
   * @dataProvider provideBuffer
   */
  public function testWrite($expected, $buffer) {
    $printer = new SimpletestUiPrinter();
    // Set up our expectation.
    $this->expectOutputString($expected);
    // Write the buffer.
    $printer->write($buffer);
  }

}

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped) Email: contact@elmoujehidin.net