Apache NetBeans Wiki Index

Note: These pages are being reviewed.

How do I test something which uses the System Filesystem?

There is a fake System FileSystem provided by as soon as FileSystem API is on classpath. It understands NetBeans layer definitions and is generally suitable for running unit tests.

In case you see difference from expected behavior:

  • Try to run tests in real mode

  • Report NetBeans a bug (product platform/filesystems) with a test case

Apache Migration Information

The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.

This page was exported from http://wiki.netbeans.org/DevFaqTestUsingSystemFileSystem , that was last modified by NetBeans user Jtulach on 2009-12-08T11:51:31Z.

NOTE: This document was automatically converted to the AsciiDoc format on 2018-02-07, and needs to be reviewed.