<commit_before>package com.thoughtworks.selenium.petsoar;

import com.thoughtworks.selenium.DefaultSelenium;
import com.thoughtworks.selenium.Selenium;
import com.thoughtworks.selenium.embedded.jetty.DirectoryStaticContentHandler;
import com.thoughtworks.selenium.embedded.jetty.JettyCommandProcessor;
import com.thoughtworks.selenium.launchers.SystemDefaultBrowserLauncher;
import junit.framework.TestCase;

import java.io.File;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

public class FooTestCase extends TestCase {

    static JettyCommandProcessor jettyCommandProcessor;
    Selenium selenium;
    Connection conn;

    protected void setUp() throws Exception {
        super.setUp();
        File codeRoot = getCodeRoot();

        if (jettyCommandProcessor == null) {
            jettyCommandProcessor = new JettyCommandProcessor(new File(codeRoot, "war-for-selenium"), DefaultSelenium.DEFAULT_SELENIUM_CONTEXT,
                        new DirectoryStaticContentHandler(new File(codeRoot, "war-for-selenium/selenium")));
        }
        selenium = new DefaultSelenium(
                        jettyCommandProcessor,<commit_msg>trying to make work again<commit_after>package com.thoughtworks.selenium.petsoar;

import com.thoughtworks.selenium.DefaultSelenium;
import com.thoughtworks.selenium.Selenium;
import com.thoughtworks.selenium.embedded.jetty.DirectoryStaticContentHandler;
import com.thoughtworks.selenium.embedded.jetty.JettyCommandProcessor;
import com.thoughtworks.selenium.launchers.SystemDefaultBrowserLauncher;
import junit.framework.TestCase;

import java.io.File;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
import java.sql.Statement;

public class FooTestCase extends TestCase {

    Selenium selenium;
    Connection conn;

    protected void setUp() throws Exception {
        super.setUp();
        File codeRoot = getCodeRoot();
        selenium = new DefaultSelenium(
                        new JettyCommandProcessor(new File(codeRoot, "war-for-selenium"), DefaultSelenium.DEFAULT_SELENIUM_CONTEXT,
                                new DirectoryStaticContentHandler(new File(codeRoot, "war-for-selenium/selenium"))),
{'fraction_non_alphanumeric': 0.08256070640176601, 'fraction_numerical': 0.0, 'mean_word_length': 4.221198156682028, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2017782', 'n_tokens_mistral': 670, 'n_tokens_neox': 617, 'n_words': 119}