<commit_before>/*******************************************************************************
 * Copyright (c) 2012 Pivotal Software, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Pivotal Software, Inc. - initial API and implementation
 *******************************************************************************/
package org.springsource.ide.eclipse.gradle.core.test;

import java.io.File;

import junit.framework.TestSuite;

import org.apache.commons.io.FileUtils;
import org.springsource.ide.eclipse.gradle.core.test.util.GroovySanityTest;
import org.springsource.ide.eclipse.gradle.core.test.util.ManagedTestSuite;
import org.springsource.ide.eclipse.gradle.core.test.util.RefreshAllActionCoreTests;


/**
 * @author <NAME>
 */
public class AllGradleCoreTests extends ManagedTestSuite {
	
	public static final String PLUGIN_ID = "org.springsource.ide.eclipse.gradle.core.test";
	public static String GRADLE_FOLDER = "/home/bamboo/.gradle";
	
	/**
	 * Change this constant to a new value to force .gradle folder on the build server
	 * to be deleted on the next build.
	 */
	public static final String VALIDITY_STAMP = "STS_2";
	
	public static TestSuite suite() throws Exception {
		deleteInvalidGradleFolder();
		
		TestSuite suite = new ManagedTestSuite(AllGradleCoreTests.class.getName());
		suite.addTestSuite(GroovySanityTest.class);
		suite.addTestSuite(GradleRefreshPreferencesTest.class);
		suite.addTestSuite(ArrayEncoderTest.class);
		suite.addTestSuite(TopoSortTest.class);
		suite.addTestSuite(GradleProjectTest.class);
		suite.addTestSuite(GradleImportTests.class);
		suite.addTestSuite(GradleTaskRunTest.class);
		suite.addTestSuite(GradleMenuEnablementTest.class);
		suite.addTestSuite(GradleDSLDTests.class);
		suite.addTestSuite(RefreshAllActionCoreTests.class);
		suite.addTestSuite(ClasspathContainerErrorMarkersTests.class);
		suite.addTestSuite(DistributionValidatorTest.class);
		suite.addTestSuite(ArgumentsParserTests.class);
		suite.addTestSuite(GradleSampleProjectTest.class);
		suite.addTestSuite(NewProjectWizardValidatorTest.class);
		return suite;<commit_msg>Hookup ModelManager tests in main test suite.<commit_after>/*******************************************************************************
 * Copyright (c) 2012 Pivotal Software, Inc.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * Pivotal Software, Inc. - initial API and implementation
 *******************************************************************************/
package org.springsource.ide.eclipse.gradle.core.test;

import java.io.File;

import junit.framework.TestSuite;

import org.apache.commons.io.FileUtils;
import org.springsource.ide.eclipse.gradle.core.modelmanager.test.GradleModelManagerTest;
import org.springsource.ide.eclipse.gradle.core.test.util.GroovySanityTest;
import org.springsource.ide.eclipse.gradle.core.test.util.ManagedTestSuite;
import org.springsource.ide.eclipse.gradle.core.test.util.RefreshAllActionCoreTests;


/**
 * @author <NAME>
 */
public class AllGradleCoreTests extends ManagedTestSuite {
	
	public static final String PLUGIN_ID = "org.springsource.ide.eclipse.gradle.core.test";
	public static String GRADLE_FOLDER = "/home/bamboo/.gradle";
	
	/**
	 * Change this constant to a new value to force .gradle folder on the build server
	 * to be deleted on the next build.
	 */
	public static final String VALIDITY_STAMP = "STS_2";
	
	public static TestSuite suite() throws Exception {
		deleteInvalidGradleFolder();
		
		TestSuite suite = new ManagedTestSuite(AllGradleCoreTests.class.getName());
		suite.addTestSuite(GroovySanityTest.class);
		suite.addTestSuite(GradleModelManagerTest.class);
		suite.addTestSuite(GradleRefreshPreferencesTest.class);
		suite.addTestSuite(ArrayEncoderTest.class);
		suite.addTestSuite(TopoSortTest.class);
		suite.addTestSuite(GradleProjectTest.class);
		suite.addTestSuite(GradleImportTests.class);
		suite.addTestSuite(GradleTaskRunTest.class);
		suite.addTestSuite(GradleMenuEnablementTest.class);
		suite.addTestSuite(GradleDSLDTests.class);
		suite.addTestSuite(RefreshAllActionCoreTests.class);
		suite.addTestSuite(ClasspathContainerErrorMarkersTests.class);
		suite.addTestSuite(DistributionValidatorTest.class);
		suite.addTestSuite(ArgumentsParserTests.class);
		suite.addTestSuite(GradleSampleProjectTest.class);
		suite.addTestSuite(NewProjectWizardValidatorTest.class);
		return suite;
{'fraction_non_alphanumeric': 0.1551367025683513, 'fraction_numerical': 0.003728251864125932, 'mean_word_length': 6.111929307805596, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6208777', 'n_tokens_mistral': 1453, 'n_tokens_neox': 1340, 'n_words': 274}