map.get(ProjectSuite.PROJECT).toString());
perfMonitor = PHPCorePerformanceTests.getPerformanceMonitor();
TestSuite suite = new TestSuite("Type Inference Tests");
final PHPVersion phpVersion = (PHPVersion) map
.get(ProjectSuite.PHP_VERSION);
for (String testsDirectory : TESTS.get(phpVersion)) {
testsDirectory = testsDirectory.replaceAll("project", map.get(
ProjectSuite.PROJECT).toString());
for (final String fileName : getPDTTFiles(testsDirectory,
PHPCorePerformanceTests.getDefault().getBundle())) {
try {
final PdttFile pdttFile = new PdttFile(
PHPCorePerformanceTests.getDefault().getBundle(),
fileName);
final String pruner = getPrunerType(pdttFile);
suite.addTest(new TypeInferenceTests(phpVersion.getAlias()
+ " - /" + fileName) {
protected void setUp() throws Exception {
PHPCoreTests.setProjectPhpVersion(project,
phpVersion);