<commit_before>/*
 * Created on Feb 25, 2006
 *
 */
package com.thoughtworks.selenium;

import junit.extensions.*;
import junit.framework.*;

import org.openqa.selenium.server.*;

import com.thoughtworks.selenium.corebased.*;

/** The wrapper test suite for these tests, which spawns an in-process Selenium Server
 * for simple integration testing.
 *
 * <p>Normally, users should start the Selenium Server
 * out-of-process, and just leave it up and running, available for the tests to use.
 * But, if you like, you can do what we do here and start a Selenium Server before
 * launching the tests.</p>
 *
 * <p>Note that we don't recommend starting and stopping the
 * entire server during each test's setUp and tearDown for these Integration tests;
 * it shouldn't be necessary, and doing so may conceal bugs in the server.</p>
 *
 *
 *  @author <NAME>
 *
 */
public class ClientDriverSuite extends TestCase {

    /** Construct a test suite containing the other integration tests,
     * wrapping them up in a TestSetup object that will launch the Selenium
     * Server in-proc.
     * @return a test suite containing tests to run
     */
	public static Test suite() {
        try {
            // TODO This class extends TestCase to workaround MSUREFIRE-113
            // http://jira.codehaus.org/browse/MSUREFIRE-113
            // Once that bug is fixed, this class should be a TestSuite, not a TestCase
            TestSuite supersuite = new TestSuite(ClientDriverSuite.class.getName());
            TestSuite suite = new TestSuite(ClientDriverSuite.class.getName());
            suite.addTest(I18nTest.suite());
            //suite.addTestSuite(ApacheMyFacesSuggestTest.class);	disabled pending DOJO combobox trouble issue resolution (http://jira.openqa.org/browse/SRC-55)
            suite.addTestSuite(RealDealIntegrationTest.class);
            suite.addTestSuite(TestErrorChecking.class);
            suite.addTestSuite(TestJavascriptParameters.class);
            suite.addTestSuite(TestClick.class);
            suite.addTestSuite(TestCheckUncheck.class);
            suite.addTestSuite(TestClick.class);
            suite.addTestSuite(TestXPathLocators.class);
            suite.addTestSuite(TestClickJavascriptHref.class);
            suite.addTestSuite(TestCommandError.class);
            suite.addTestSuite(TestComments.class);
            suite.addTestSuite(TestFailingAssert.class);
            suite.addTestSuite(TestFailingVerifications.class);
            suite.addTestSuite(TestFocusOnBlur.class);
            //suite.addTestSuite(TestGoBack.class);	pending http://jira.openqa.org/browse/SRC-52
            suite.addTestSuite(TestImplicitLocators.class);
            suite.addTestSuite(TestLocators.class);
            suite.addTestSuite(TestOpen.class);
            suite.addTestSuite(TestPatternMatching.class);
            suite.addTestSuite(TestPause.class);
            suite.addTestSuite(TestStore.class);
            suite.addTestSuite(TestSubmit.class);
            suite.addTestSuite(TestType.class);
            suite.addTestSuite(TestVerifications.class);
            suite.addTestSuite(TestWait.class);
            suite.addTestSuite(TestSelect.class);
            suite.addTestSuite(TestEditable.class);
//            suite.addTestSuite(TestPrompt.class);
//            suite.addTestSuite(TestConfirmations.class);<commit_msg>turn TestGoBack again -- works on my box; let's see how it does in the build...<commit_after>/*
 * Created on Feb 25, 2006
 *
 */
package com.thoughtworks.selenium;

import junit.extensions.*;
import junit.framework.*;

import org.openqa.selenium.server.*;

import com.thoughtworks.selenium.corebased.*;

/** The wrapper test suite for these tests, which spawns an in-process Selenium Server
 * for simple integration testing.
 *
 * <p>Normally, users should start the Selenium Server
 * out-of-process, and just leave it up and running, available for the tests to use.
 * But, if you like, you can do what we do here and start a Selenium Server before
 * launching the tests.</p>
 *
 * <p>Note that we don't recommend starting and stopping the
 * entire server during each test's setUp and tearDown for these Integration tests;
 * it shouldn't be necessary, and doing so may conceal bugs in the server.</p>
 *
 *
 *  @author <NAME>
 *
 */
public class ClientDriverSuite extends TestCase {

    /** Construct a test suite containing the other integration tests,
     * wrapping them up in a TestSetup object that will launch the Selenium
     * Server in-proc.
     * @return a test suite containing tests to run
     */
	public static Test suite() {
        try {
            // TODO This class extends TestCase to workaround MSUREFIRE-113
            // http://jira.codehaus.org/browse/MSUREFIRE-113
            // Once that bug is fixed, this class should be a TestSuite, not a TestCase
            TestSuite supersuite = new TestSuite(ClientDriverSuite.class.getName());
            TestSuite suite = new TestSuite(ClientDriverSuite.class.getName());
            suite.addTest(I18nTest.suite());
            //suite.addTestSuite(ApacheMyFacesSuggestTest.class);	disabled pending DOJO combobox trouble issue resolution (http://jira.openqa.org/browse/SRC-55)
            suite.addTestSuite(RealDealIntegrationTest.class);
            suite.addTestSuite(TestErrorChecking.class);
            suite.addTestSuite(TestJavascriptParameters.class);
            suite.addTestSuite(TestClick.class);
            suite.addTestSuite(TestCheckUncheck.class);
            suite.addTestSuite(TestClick.class);
            suite.addTestSuite(TestXPathLocators.class);
            suite.addTestSuite(TestClickJavascriptHref.class);
            suite.addTestSuite(TestCommandError.class);
            suite.addTestSuite(TestComments.class);
            suite.addTestSuite(TestFailingAssert.class);
            suite.addTestSuite(TestFailingVerifications.class);
            suite.addTestSuite(TestFocusOnBlur.class);
            suite.addTestSuite(TestGoBack.class);
            suite.addTestSuite(TestImplicitLocators.class);
            suite.addTestSuite(TestLocators.class);
            suite.addTestSuite(TestOpen.class);
            suite.addTestSuite(TestPatternMatching.class);
            suite.addTestSuite(TestPause.class);
            suite.addTestSuite(TestStore.class);
            suite.addTestSuite(TestSubmit.class);
            suite.addTestSuite(TestType.class);
            suite.addTestSuite(TestVerifications.class);
            suite.addTestSuite(TestWait.class);
            suite.addTestSuite(TestSelect.class);
            suite.addTestSuite(TestEditable.class);
//            suite.addTestSuite(TestPrompt.class);
//            suite.addTestSuite(TestConfirmations.class);
{'fraction_non_alphanumeric': 0.09169011998222486, 'fraction_numerical': 0.005036290919863724, 'mean_word_length': 2.8983833718244805, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '3230584', 'n_tokens_mistral': 1879, 'n_tokens_neox': 1801, 'n_words': 455}