1 | svoid test_fileIsUnderAbsolutePath_linux() { |
2 | assertTrueVerbose(fileIsUnderAbsolutePath(newFile("/home/bla/blubbi"), newFile("/home/bla"))); |
3 | assertTrueVerbose(fileIsUnderAbsolutePath(newFile("/home/bla/blubbi/2"), newFile("/home/bla"))); |
4 | assertFalseVerbose(fileIsUnderAbsolutePath(newFile("/home/blu/blubbi"), newFile("/home/bla"))); |
5 | assertFalseVerbose(fileIsUnderAbsolutePath(newFile("/home/bl2"), newFile("/home/bl"))); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1022905 |
Snippet name: | test_fileIsUnderAbsolutePath_linux |
Eternal ID of this version: | #1022905/2 |
Text MD5: | 8326886ec0df6bea95882de7b476d727 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-04-14 19:49:12 |
Source code size: | 435 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 237 / 289 |
Version history: | 1 change(s) |
Referenced in: | [show references] |