This is a testing system and development tool for CrOS FileManager.

Contact joelhockey@ or sashab@ before adding any dependencies or new tests.

Usage:
1/ Run ./scripts/create_test_main.py
This can be done via cmdline, or by building browser_tests target for chromeos.
This script generates file ui/file_manager/file_manager/test.html
and other related files under ./gen dir.

  ui/file_manager/file_manager/test/scripts/create_test_main.py

2/ Load ui/file_manager/file_manager/test.html in browser.
Note, the --disable-web-security flag is required in order to load
chrome://resources URLs.  Using this flag also requires --user-data-dir flag.

  /opt/google/chrome-unstable/chrome \
    --user-data-dir=/tmp/chrome-user-data-dir \
    --disable-web-security \
    ui/file_manager/file_manager/test.html

3/ Open devtools and explore.  Some helpful JS functions to run:

  test.setupAndWaitUntilReady() // generates some test files
  runTests()                    // executes all test cases

Tests reside in this directory.
Supporting files are in subdirs.
