Integration of the Czech translation provided by Lukáš Dvořák. Thanks a lot Lukáš !

SVN:trunk[3776]
This commit is contained in:
Denis Flaven
2015-09-18 15:05:23 +00:00
parent 4261923126
commit c8fa3870db
22 changed files with 7301 additions and 2 deletions

View File

@@ -3872,6 +3872,73 @@ class TestLinkSetRecording_NN_WithDuplicates extends TestBizModel
'history_removed' => 1,
'history_modified' => 0,
),
array(
'description' => 'Create one link from scratch, no port, to prepare for the next test case',
'links' => array(
array(
'networkdevice_id' => $iDev2,
'connectableci_id' => $iServer,
'network_port' => '',
'device_port' => '',
),
),
'expected-res' => array (
"$iDev2, test device B, unit test linkset, , , downlink, test device B",
),
'history_added' => 1,
'history_removed' => 0,
'history_modified' => 0,
),
array(
'description' => 'Create a second link from scratch, pointing to the same server and no port, to prepare for the next test case',
'links' => array(
array(
'id' => "SELECT lnkConnectableCIToNetworkDevice WHERE networkdevice_id = $iDev2 AND connectableci_id = $iServer",
'networkdevice_id' => $iDev2,
'connectableci_id' => $iServer,
'network_port' => '',
'device_port' => '',
),
array(
'networkdevice_id' => $iDev2,
'connectableci_id' => $iServer,
'network_port' => 'X',
'device_port' => '',
),
),
'expected-res' => array (
"$iDev2, test device B, unit test linkset, , , downlink, test device B",
"$iDev2, test device B, unit test linkset, X, , downlink, test device B",
),
'history_added' => 1,
'history_removed' => 0,
'history_modified' => 0,
),
array(
'description' => 'Create a second link from scratch, pointing to the same server and no port, to prepare for the next test case',
'links' => array(
array(
'id' => "SELECT lnkConnectableCIToNetworkDevice WHERE networkdevice_id = $iDev2 AND connectableci_id = $iServer",
'networkdevice_id' => $iDev2,
'connectableci_id' => $iServer,
'network_port' => '',
'device_port' => '',
),
array(
'networkdevice_id' => $iDev2,
'connectableci_id' => $iServer,
'network_port' => 'X',
'device_port' => '',
),
),
'expected-res' => array (
"$iDev2, test device B, unit test linkset, , , downlink, test device B",
"$iDev2, test device B, unit test linkset, X, , downlink, test device B",
),
'history_added' => 1,
'history_removed' => 0,
'history_modified' => 0,
),
array(
'description' => 'Device B twice (same characteristics) - known issue #1145',
'links' => array(