<commit_before>package org.basex.test;

import org.basex.core.Context;
import org.basex.core.proc.CreateDB;
import org.basex.core.proc.DropDB;
import org.basex.test.examples.DBExample;
import org.basex.test.examples.UpdateExample;
import org.basex.test.examples.XMLDBCreate;
import org.basex.test.examples.XMLDBInsert;
import org.basex.test.examples.XMLDBQuery;
import org.basex.test.examples.XQJQuery;
import org.basex.test.examples.XQueryExample;
import org.basex.test.query.QueryTest;
import org.basex.test.xqj.AllTests;

/**
 * Runs all Non-JUnit tests.
 *
 * @author Workgroup DBIS, University of Konstanz 2005-09, ISC License
 * @author <NAME>
 */
public final class RunTests {
  /**
   * Main method
   * @param args (ignored) command-line arguments
   * @throws Exception exceptions
   */
  public static void main(final String[] args) throws Exception {
    // create input.xml database for XQJ/XMLDB examples
    final Context ctx = new Context();
    new CreateDB("input.xml").execute(ctx);

    System.out.println("============= XQJ Tests =============");
    XQJQuery.main(args);
    AllTests.main(args);
    System.out.println();

    System.out.println("============= XMLDB Tests =============");
    org.basex.test.xmldb.AllTests.main(args);
    XMLDBQuery.main(args);
    XMLDBCreate.main(args);
    XMLDBInsert.main(args);
    XMLDBQuery.main(args);
    new DropDB(XMLDBCreate.COLL).execute(ctx);
    System.out.println();

    System.out.println("=============  BaseX Examples =============");
    DBExample.main(args);
    UpdateExample.main(args);
    XQueryExample.main(args);
    System.out.println();

    System.out.println("=============  XQuery Tests =============");
    QueryTest.main(args);
    System.out.println();
    System.out.println("=============>  Done.");
    System.out.println();

    System.out.println("Additionally run the remaining JUnit tests.");

    // Deletes the databases.
    ctx.close();
  }
}<commit_msg>Cleanups<commit_after>package org.basex.test;

import org.basex.core.Context;
import org.basex.core.proc.CreateDB;
import org.basex.core.proc.DropDB;
import org.basex.test.examples.DBExample;
import org.basex.test.examples.UpdateExample;
import org.basex.test.examples.XMLDBCreate;
import org.basex.test.examples.XMLDBInsert;
import org.basex.test.examples.XMLDBQuery;
import org.basex.test.examples.XQJQuery;
import org.basex.test.examples.XQueryExample;
import org.basex.test.query.QueryTest;
import org.basex.test.xqj.AllTests;

/**
 * Runs all Non-JUnit tests.
 *
 * @author Workgroup DBIS, University of Konstanz 2005-09, ISC License
 * @author <NAME>
 */
public final class RunTests {
  /**
   * Main method
   * @param args (ignored) command-line arguments
   * @throws Exception exceptions
   */
  public static void main(final String[] args) throws Exception {
    // create input.xml database for XQJ/XMLDB examples
    final Context ctx = new Context();
    new CreateDB("input.xml").execute(ctx);
    ctx.close();

    System.out.println("============= XQJ Tests =============");
    XQJQuery.main(args);
    AllTests.main(args);
    System.out.println();

    System.out.println("============= XMLDB Tests =============");
    org.basex.test.xmldb.AllTests.main(args);
    XMLDBQuery.main(args);
    XMLDBCreate.main(args);
    XMLDBInsert.main(args);
    XMLDBQuery.main(args);
    new DropDB(XMLDBCreate.COLL).execute(ctx);
    System.out.println();

    System.out.println("=============  BaseX Examples =============");
    DBExample.main(args);
    UpdateExample.main(args);
    XQueryExample.main(args);
    System.out.println();

    System.out.println("=============  XQuery Tests =============");
    QueryTest.main(args);
    System.out.println();
    System.out.println("=============>  Done.");
    System.out.println();

    System.out.println("Additionally run the remaining JUnit tests.");
  }
}
{'fraction_non_alphanumeric': 0.18985059247810407, 'fraction_numerical': 0.0030911901081916537, 'mean_word_length': 4.010322580645162, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '3932216', 'n_tokens_mistral': 1273, 'n_tokens_neox': 1228, 'n_words': 233}