MediaWiki  1.23.8
Go to the documentation of this file.
1 <?php
16  public function testCheckConnectStringFormat( $expected, $connectString, $msg = '' ) {
17  $validity = $expected ? 'should be valid' : 'should NOT be valid';
18  $msg = "'$connectString' ($msg) $validity.";
19  $this->assertEquals( $expected,
21  $msg
22  );
23  }
29  // expected result, connectString[, message]
30  return array(
31  array( true, 'simple_01', 'Simple TNS name' ),
32  array( true, '', 'TNS name with domain' ),
33  array( true, '', 'TNS name with domain' ),
34  array( true, 'host123', 'Host only' ),
35  array( true, '', 'FQDN only' ),
36  array( true, '//', 'FQDN URL only' ),
37  array( true, '', 'Host IP only' ),
38  array( true, 'host:1521', 'Host and port' ),
39  array( true, 'host:1521/service', 'Host, port and service' ),
40  array( true, 'host:1521/service:shared', 'Host, port, service and shared server type' ),
41  array( true, 'host:1521/service:dedicated', 'Host, port, service and dedicated server type' ),
42  array( true, 'host:1521/service:pooled', 'Host, port, service and pooled server type' ),
43  array( true, 'host:1521/service:shared/instance1', 'Host, port, service, server type and instance' ),
44  array( true, 'host:1521//instance1', 'Host, port and instance' ),
45  );
46  }
48 }
skin txt MediaWiki includes four core it has been set as the default in MediaWiki since the replacing Monobook it had been been the default skin since before being replaced by Vector largely rewritten in while keeping its appearance Several legacy skins were removed in the as the burden of supporting them became too heavy to bear Those in etc for skin dependent CSS etc for skin dependent JavaScript These can also be customised on a per user by etc This feature has led to a wide variety of user styles becoming that gallery is a good place to ending in php
Definition: skin.txt:62
static checkConnectStringFormat( $connect_string)
Function checks the format of Oracle connect string The actual validity of the string is checked by a...
Definition: OracleInstaller.php:336
testCheckConnectStringFormat( $expected, $connectString, $msg='')
@dataProvider provideOracleConnectStrings @covers OracleInstaller::checkConnectStringFormat
Definition: OracleInstallerTest.php:16
Definition: MediaWikiTestCase.php:6
the array() calling protocol came about after MediaWiki 1.4rc1.
List of Api Query prop modules.
Provider to test OracleInstaller::checkConnectStringFormat()
Definition: OracleInstallerTest.php:28
Tests for OracleInstaller.
Definition: OracleInstallerTest.php:10