Searched refs:forFile (Results 1 – 10 of 10) sorted by relevance
37 * Test the forFile() constructor61 assert fileInfoFile.equals(FileInfo.forFile(NAME, SIZE, LAST_MODIFIED))62 assert fileInfoFile.equals(FileInfo.forFile(NAME, SIZE, new Date())) // lastModified ignored64 assert !fileInfoFile.equals(FileInfo.forFile("xyz", SIZE, LAST_MODIFIED))65 assert !fileInfoFile.equals(FileInfo.forFile(NAME, 999L, LAST_MODIFIED))75 assert fileInfoFile.hashCode() == FileInfo.forFile(NAME, SIZE, LAST_MODIFIED).hashCode()76 …assert fileInfoFile.hashCode() == FileInfo.forFile(NAME, SIZE, new Date()).hashCode() // lastModi…78 assert fileInfoFile.hashCode() != FileInfo.forFile("xyz", SIZE, LAST_MODIFIED).hashCode()79 assert fileInfoFile.hashCode() != FileInfo.forFile(NAME, 33, LAST_MODIFIED).hashCode()99 fileInfoFile = FileInfo.forFile(NAME, SIZE, LAST_MODIFIED)
250 FileInfo fileInfo1 = FileInfo.forFile(FILENAME1, 0, DATE)257 FileInfo fileInfo2 = FileInfo.forFile(FILENAME2, 0, DATE)265 fileInfo1 = FileInfo.forFile(FILENAME1, CONTENTS.length, DATE)
101 FileInfo fileInfo1 = FileInfo.forFile(FILENAME1, 0, DATE)103 FileInfo fileInfo2 = FileInfo.forFile(FILENAME2, 0, DATE)
242 void CCensorNode::AddItem(bool include, const UString &path, bool recursive, bool forFile, bool for… in AddItem() argument247 item.ForFile = forFile; in AddItem()342 bool forFile = true; in AddItem2() local348 forFile = false; in AddItem2()350 AddItem(include, path2, recursive, forFile, forFolder); in AddItem2()380 bool forFile = true; in AddItem() local383 forFile = false; in AddItem()427 item.ForFile = forFile; in AddItem()
45 void AddItem(bool include, const UString &path, bool recursive, bool forFile, bool forDir);
49 static FileInfo forFile(String name, long size, Date lastModified) {
166 : FileInfo.forFile(file.getName(), file.length(), new Date(file.lastModified()))
288 : FileInfo.forFile(name, ((FileEntry)entry).getSize(), entry.lastModified)
102 def fileInfo = FileInfo.forFile(NAME, SIZE, LAST_MODIFIED)
META-INF/ META-INF/MANIFEST.MF default.xsl edu/ edu/umd ...