testExportAllFromBase(exportAll, expected, empty, urls, excluded);
}
protected void testExportAllCommon(ExportAll exportAll, Map<String, String> expected, Set<String> empty, VirtualFile[] files, VirtualFile[] excluded) throws Exception
{
VFSClassLoaderPolicy policy = VFSClassLoaderPolicy.createVFSClassLoaderPolicy(files, excluded);
policy.setExportAll(exportAll);
String[] packageNames = policy.getPackageNames();
Set<String> actual = makeSet(packageNames);
assertEquals(expected.keySet(), actual);
ClassLoaderSystem system = new DefaultClassLoaderSystem();
ClassLoader classLoader = system.registerClassLoaderPolicy(policy);