Introduce test utility for asserting file open status

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: core-libs

      Several tests rely on file system delete semantics (Windows) or the /proc filesystem (Linux) to verify the open status of files opened and closed during the test.

      These mechanisms are blunt, it would be better to have a dedicated API in the test library for verifying that files opened using APIs such as FileInputStream, RandomAccessFile and FileChannel are in an open or closed state.

            Assignee:
            Eirik Bjørsnøs
            Reporter:
            Eirik Bjørsnøs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: