summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authormpociecha <michal.pociecha@gmail.com>2014-11-30 18:12:49 +0100
committermpociecha <michal.pociecha@gmail.com>2014-11-30 22:31:33 +0100
commit1cefcb8fbc7d22c093cc5a87254054a84ff445b2 (patch)
treee2e2342be62d6e12f19b803c2e9ba2e4b6d717f2 /test/files
parentbb91785d6de488cf0b04ee8f43f789cbc4cb219a (diff)
downloadscala-1cefcb8fbc7d22c093cc5a87254054a84ff445b2.tar.gz
scala-1cefcb8fbc7d22c093cc5a87254054a84ff445b2.tar.bz2
scala-1cefcb8fbc7d22c093cc5a87254054a84ff445b2.zip
Create dedicated path resolver for the flat classpath representation
This commit adds dedicated FlatClassPathResolver loading classpath entries as FlatClassPath. Most of the common logic from PathResolver for the old classpath has been moved to the base, separate class which isn't dependent on a particular classpath representation. Thanks to that it was possible to reuse it when creating an adequate path resolver for the flat classpath representation. This change doesn't modify the way the compiler works. It also doesn't change nothing from the perspective of someone who already uses PathResolver in some project or even extends it - at least as long as he/she doesn't need to use flat classpath. There are also added JUnit tests inter alia comparing entries created using the old and the new classpath representations (whether the flat one created using the new path resolver returns the same entries as the recursive one).
Diffstat (limited to 'test/files')
0 files changed, 0 insertions, 0 deletions