Code example for File

Methods: mkdir

0
	} 
	 
	public void testCompilable() throws IOException { 
		 
		generateComparator(); 
		File file = new File("compilable");
		file.mkdir();
		 
		ArrayList list = new ArrayList();
		List jars = new ArrayList();
		jars.add("commons-logging-1.0.4.jar");
		jars.add("hibernate-core-4.0.0.Final.jar");
		TestHelper.compile(getOutputDir(), file, TestHelper.visitAllFiles(getOutputDir(), list), "1.5", TestHelper.buildClasspath(jars) );
		 
		 
		TestHelper.deleteDir(file);
	} 
     
	public void testNoVelocityLeftOvers() { 
		 
		assertEquals(null,findFirstString("$",new File(getOutputDir(), "org/hibernate/tool/hbm2x/ArticleHome.java") ) );