<?php
include 'util/test_config.php';
include 'util/string_utils.php';
$api = apiAsJDoe();
$locations = $api->serverPathsGet('localhost', '//my_project/main/README');
$has_fstat = array_filter($locations, function($b) {
return $b->getFstat() != null;
});
assert(count($has_fstat) == 1);
$has_content = array_filter($locations, function($b) {
return $b->getContent() != null;
});
assert(count($has_content) == 1);
# |
Change |
User |
Description |
Committed |
|
#1
|
19553 |
swellard |
Move and rename clients |
|
|
//guest/perforce_software/helix-web-services/main/source/clients/2016.1.0/php/tests/default_api.server_paths.list_file.php |
#1
|
19259 |
tjuricek |
PHP Client SDK tests: labels, paths, protections, servers, triggers, users |
|
|