<commit_before>package test.annotationtransformer;

import java.util.List;

import org.testng.Assert;
import org.testng.ITestResult;
import org.testng.TestListenerAdapter;
import org.testng.TestNG;

import test.BaseTest;

public class AnnotationTransformerTest extends BaseTest {
  
  /**
   * @testng.test
   */
  public void verifyInvocationCount() {
    TestNG tng = new TestNG();
    tng.setTarget(TestNG.JAVADOC_ANNOTATION_TYPE);
    tng.setSourcePath("test-14/src");
    tng.setAnnotationTransformer(new MyTransformer());
    tng.setTestClasses(new Class[] { AnnotationTransformerSampleTest.class});
    TestListenerAdapter tla = new TestListenerAdapter();
    tng.addListener(tla);
    
    tng.run();
    
    List<ITestResult> passed = tla.getPassedTests();
    Assert.assertEquals(15, passed.size());
  }

}<commit_msg>Removed generics from 1.4 code<commit_after>package test.annotationtransformer;

import java.util.List;

import org.testng.Assert;
import org.testng.ITestResult;
import org.testng.TestListenerAdapter;
import org.testng.TestNG;

import test.BaseTest;

public class AnnotationTransformerTest extends BaseTest {
  
  /**
   * @testng.test
   */
  public void verifyInvocationCount() {
    TestNG tng = new TestNG();
    tng.setTarget(TestNG.JAVADOC_ANNOTATION_TYPE);
    tng.setSourcePath("test-14/src");
    tng.setAnnotationTransformer(new MyTransformer());
    tng.setTestClasses(new Class[] { AnnotationTransformerSampleTest.class});
    TestListenerAdapter tla = new TestListenerAdapter();
    tng.addListener(tla);
    
    tng.run();
    
    List passed = tla.getPassedTests();
    Assert.assertEquals(15, passed.size());
  }

}
{'fraction_non_alphanumeric': 0.11371841155234658, 'fraction_numerical': 0.006016847172081829, 'mean_word_length': 4.330128205128205, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '982968', 'n_tokens_mistral': 547, 'n_tokens_neox': 540, 'n_words': 94}