Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for test_createFile (0.4 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            final File file = new File(fileTransformer.baseDir, new String(resultData.getData(), "UTF-8"));
            assertEquals("xyz", new String(FileUtil.readBytes(file)));
        }
    
        public void test_createFile() throws Exception {
            fileTransformer.baseDir = File.createTempFile("crawler-", "");
            fileTransformer.baseDir.delete();
            fileTransformer.baseDir.mkdirs();
            fileTransformer.baseDir.deleteOnExit();
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

      EXPECT_EQ(GetRelativePath(fs->TranslateName(
                    GetURIForPath("a/convoluted/../path/./to/.//.///a/file"))),
                "/a/path/to/a/file");
    }
    
    TEST_P(ModularFileSystemTest, TestCreateFile) {
      const std::string filepath = GetURIForPath("a_file");
      std::unique_ptr<WritableFile> new_file;
      Status status = env_->NewWritableFile(filepath, &new_file);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 20:25:58 UTC 2022
    - 71K bytes
    - Viewed (0)
Back to top