<commit_before>package com.maxheapsize.quant.testng;

import com.maxheapsize.quant.ClassTester;
import com.maxheapsize.quant.infrastructure.AbstractConcordionTestNgTest;
import org.testng.annotations.Test;

@Test(groups = "concordion")
public class TestTestNGAnnotationAndClasses extends AbstractConcordionTestNgTest {

  private ClassTester unitUnderTest;

  public String getResult(String testClass, String testGroup) throws ClassNotFoundException {
    Class<?> clazz = Class.forName("com.maxheapsize.quant.testclasses." + testClass);
    if (testGroup.equals("")) {
      unitUnderTest = TestNGClassTester.createBuilder(clazz).build();
    }
    else {
      unitUnderTest = TestNGClassTester.createBuilder(clazz).addTestGroup(testGroup).build();
    }
    return unitUnderTest.isValidTestClass() ? "valid" : "invalid";
  }
}<commit_msg>concordion runs now in maven<commit_after>package com.maxheapsize.quant.testng;

import com.maxheapsize.quant.ClassTester;
import com.maxheapsize.quant.infrastructure.AbstractConcordionTestNgTest;
import org.testng.annotations.Test;

public class TestTestNGAnnotationAndClasses extends AbstractConcordionTestNgTest {

  private ClassTester unitUnderTest;

  public String getResult(String testClass, String testGroup) throws ClassNotFoundException {
    Class<?> clazz = Class.forName("com.maxheapsize.quant.testclasses." + testClass);
    if (testGroup.equals("")) {
      unitUnderTest = TestNGClassTester.createBuilder(clazz).build();
    }
    else {
      unitUnderTest = TestNGClassTester.createBuilder(clazz).addTestGroup(testGroup).build();
    }
    return unitUnderTest.isValidTestClass() ? "valid" : "invalid";
  }
}
{'fraction_non_alphanumeric': 0.10311750599520383, 'fraction_numerical': 0.0, 'mean_word_length': 5.570866141732283, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6819319', 'n_tokens_mistral': 497, 'n_tokens_neox': 503, 'n_words': 84}