14 $validity = $expected ?
'should be valid' :
'should NOT be valid';
15 $msg =
"'$connectString' ($msg) $validity.";
28 [
true,
'simple_01',
'Simple TNS name' ],
29 [
true,
'simple_01.world',
'TNS name with domain' ],
30 [
true,
'simple_01.domain.net',
'TNS name with domain' ],
31 [
true,
'host123',
'Host only' ],
32 [
true,
'host123.domain.net',
'FQDN only' ],
33 [
true,
'//host123.domain.net',
'FQDN URL only' ],
34 [
true,
'123.223.213.132',
'Host IP only' ],
35 [
true,
'host:1521',
'Host and port' ],
36 [
true,
'host:1521/service',
'Host, port and service' ],
37 [
true,
'host:1521/service:shared',
'Host, port, service and shared server type' ],
38 [
true,
'host:1521/service:dedicated',
'Host, port, service and dedicated server type' ],
39 [
true,
'host:1521/service:pooled',
'Host, port, service and pooled server type' ],
42 'host:1521/service:shared/instance1',
43 'Host, port, service, server type and instance'
45 [
true,
'host:1521//instance1',
'Host, port and instance' ],
and that you know you can do these things To protect your we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights These restrictions translate to certain responsibilities for you if you distribute copies of the or if you modify it For if you distribute copies of such a whether gratis or for a you must give the recipients all the rights that you have You must make sure that receive or can get the source code And you must show them these terms so they know their rights We protect your rights with two and(2) offer you this license which gives you legal permission to copy
provideOracleConnectStrings()
Provider to test OracleInstaller::checkConnectStringFormat()
testCheckConnectStringFormat( $expected, $connectString, $msg='')
provideOracleConnectStrings OracleInstaller::checkConnectStringFormat
static checkConnectStringFormat( $connect_string)
Function checks the format of Oracle connect string The actual validity of the string is checked by a...