Searched refs:getNameWithoutExtension (Results 1 – 2 of 2) sorted by relevance
/external/guava/guava-tests/test/com/google/common/io/ |
D | FilesTest.java | 721 assertEquals("", Files.getNameWithoutExtension(".txt")); in testGetNameWithoutExtension() 722 assertEquals("blah", Files.getNameWithoutExtension("blah.txt")); in testGetNameWithoutExtension() 723 assertEquals("blah.", Files.getNameWithoutExtension("blah..txt")); in testGetNameWithoutExtension() 724 assertEquals(".blah", Files.getNameWithoutExtension(".blah.txt")); in testGetNameWithoutExtension() 725 assertEquals("blah", Files.getNameWithoutExtension("/tmp/blah.txt")); in testGetNameWithoutExtension() 726 assertEquals("blah.tar", Files.getNameWithoutExtension("blah.tar.gz")); in testGetNameWithoutExtension() 727 assertEquals("", Files.getNameWithoutExtension("/")); in testGetNameWithoutExtension() 728 assertEquals("", Files.getNameWithoutExtension(".")); in testGetNameWithoutExtension() 729 assertEquals(".", Files.getNameWithoutExtension("..")); in testGetNameWithoutExtension() 730 assertEquals("..", Files.getNameWithoutExtension("...")); in testGetNameWithoutExtension() [all …]
|
/external/guava/guava/src/com/google/common/io/ |
D | Files.java | 983 public static String getNameWithoutExtension(String file) { in getNameWithoutExtension() method
|