ParaMonte Fortran 2.0.0
Parallel Monte Carlo and Machine Learning Library
See the latest version documentation. |
This module contains tests of the module pm_sysPath. More...
Functions/Subroutines | |
subroutine | setTest () |
logical(LK) function | test_isDir_1 () |
Test if isDir() can successfully detect an existing directory. More... | |
logical(LK) function | test_query_1 () |
When the original path is not allocated, guery() must return an error message. More... | |
logical(LK) function | test_query_2 () |
When the original path is allocated but is empty, guery() must return an error message. More... | |
logical(LK) function | test_query_3 () |
When the optional OS is provided, the results must be the same as when it is not provided. More... | |
logical(LK) function | test_constructPath () |
logical(LK) function | test_getPathWindows_1 () |
logical(LK) function | test_getPathWindows_2 () |
Test whether the routine can successfully remove multiple backslashes from the path to convert them all to a single slash. More... | |
logical(LK) function | test_getPathWindows_3 () |
Test whether the routine can successfully convert a single forward-slash path to a backslash. More... | |
logical(LK) function | test_getPathPosix_1 () |
logical(LK) function | test_getPathPosix_2 () |
logical(LK) function | test_getDirNameExt_1 () |
logical(LK) function | test_getDirNameExt_2 () |
logical(LK) function | test_getDirFullName_1 () |
logical(LK) function | test_getDirFullName_2 () |
When the filename is all file name without extension (any dots), getDirFullName() must return the full file name with empty directory. More... | |
logical(LK) function | test_getNameExt_1 () |
When the filename is all file extension, getNameExt() must return an empty file name and an extension equivalent to full file name. More... | |
logical(LK) function | test_getNameExt_2 () |
logical(LK) function | test_pmodify_1 () |
When the filename is all file extension, getNameExt() must return an empty file name and an extension equivalent to full file name. More... | |
logical(LK) function | test_mkdir_1 () |
Test whether all processors are capable of generating directories. More... | |
logical(LK) function | test_mkdir_2 () |
Test whether all processors are capable of generating directories. More... | |
logical(LK) function | test_mkdir_3 () |
Test whether all processors are capable of generating directories, without the input optional arguments. More... | |
Variables | |
type(test_type) | test |
This module contains tests of the module pm_sysPath.
subroutine test_pm_sysPath::setTest |
Definition at line 36 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_constructPath |
Definition at line 148 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getDirFullName_1 |
Definition at line 382 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getDirFullName_2 |
When the filename is all file name without extension (any dots), getDirFullName()
must return the full file name with empty directory.
Definition at line 416 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getDirNameExt_1 |
Definition at line 316 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getDirNameExt_2 |
Definition at line 349 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getNameExt_1 |
When the filename is all file extension, getNameExt()
must return an empty file name and an extension equivalent to full file name.
Definition at line 450 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getNameExt_2 |
Definition at line 478 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getPathPosix_1 |
Definition at line 252 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getPathPosix_2 |
Definition at line 284 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getPathWindows_1 |
Definition at line 177 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getPathWindows_2 |
Test whether the routine can successfully remove multiple backslashes from the path to convert them all to a single slash.
Definition at line 206 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_getPathWindows_3 |
Test whether the routine can successfully convert a single forward-slash path to a backslash.
Definition at line 230 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_isDir_1 |
Test if isDir()
can successfully detect an existing directory.
Definition at line 69 of file test_pm_sysPath.F90.
References pm_kind::RK.
logical(LK) function test_pm_sysPath::test_mkdir_1 |
Test whether all processors are capable of generating directories.
Definition at line 557 of file test_pm_sysPath.F90.
References pm_kind::RK.
logical(LK) function test_pm_sysPath::test_mkdir_2 |
Test whether all processors are capable of generating directories.
Definition at line 583 of file test_pm_sysPath.F90.
References pm_kind::RK.
logical(LK) function test_pm_sysPath::test_mkdir_3 |
Test whether all processors are capable of generating directories, without the input optional arguments.
Definition at line 609 of file test_pm_sysPath.F90.
References pm_kind::RK.
logical(LK) function test_pm_sysPath::test_pmodify_1 |
When the filename is all file extension, getNameExt()
must return an empty file name and an extension equivalent to full file name.
Definition at line 512 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_query_1 |
When the original path is not allocated, guery()
must return an error message.
Definition at line 80 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_query_2 |
When the original path is allocated but is empty, guery()
must return an error message.
Definition at line 101 of file test_pm_sysPath.F90.
logical(LK) function test_pm_sysPath::test_query_3 |
When the optional OS is provided, the results must be the same as when it is not provided.
Definition at line 122 of file test_pm_sysPath.F90.
type(test_type) test_pm_sysPath::test |
Definition at line 28 of file test_pm_sysPath.F90.