adobe/brackets — pull request #2301 by jasonsanjose (2012-12-07 02:05:41+00:00)
Title: Copy unit test files into a temporary directory

Fix for #517

Replaces ``SpecRunnerUtils. saveFilesWithoutOffsets()`` and related methods with a generic ``SpecRunnerUtils.copyPath()`` method that accepts a few options, including parsing offsets.

Targeted unit test suites (JavaScriptQuickEdit, InlineEditorProviders, LowLevelFileIO and NativeFileSystem) copy these modified files to a temporary folder ``/path/to/brackets/test/temp``.

Introduces ``NativeFileSystem. resolveNativeFileSystemPath()`` to mimic ``LocalFileSystem.resolveLocalFileSystemURL`` from W3C File API.

Fixes async issues in LowLevelFileIO.