<?php
include 'util/test_config.php';
include 'util/string_utils.php';
$api = apiAsJDoe();
$locations = $api->serverPathsGet('localhost', '//my_project/main');
$is_experimental_dir = array_filter($locations, function($b) {
return $b->getDir() != null && $b->getDir()->getDir() == '//my_project/main/Experimental';
});
assert(count($is_experimental_dir) == 1);
$is_readme = array_filter($locations, function($b) {
return $b->getFile() != null && $b->getFile()->getDepotFile() == '//my_project/main/README';
});
assert(count($is_readme) == 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_dirs.php |
#1
|
19259 |
tjuricek |
PHP Client SDK tests: labels, paths, protections, servers, triggers, users |
|
|