<commit_before>package org.threadly.test;

/**
 * Runnable that can be used in unit tests for verifying execution occurred
 * 
 * @author jent - <NAME>
 */
public class TestRunnable implements Runnable {
  private final TestCondition runCondition;
  private final long creationTime;
  private volatile int expectedRunCount;
  private volatile long firstRunTime;
  private volatile int runCount;

  /**
   * Constructs a new runnable for unit testing
   */
  public TestRunnable() {
    creationTime = System.currentTimeMillis();
    firstRunTime = -1;
    expectedRunCount = -1;
    runCount = 0;<commit_msg>It makes sense for this to implement a virtualRunnable in this point so handleRun() can take advantages of the virtualRunnable<commit_after>package org.threadly.test;

import org.threadly.concurrent.VirtualRunnable;

/**
 * Runnable that can be used in unit tests for verifying execution occurred
 * 
 * @author jent - <NAME>
 */
public class TestRunnable extends VirtualRunnable {
  private final TestCondition runCondition;
  private final long creationTime;
  private volatile int expectedRunCount;
  private volatile long firstRunTime;
  private volatile int runCount;

  /**
   * Constructs a new runnable for unit testing
   */
  public TestRunnable() {
    creationTime = System.currentTimeMillis();
    firstRunTime = -1;
    expectedRunCount = -1;
    runCount = 0;
{'fraction_non_alphanumeric': 0.07091172214182344, 'fraction_numerical': 0.004341534008683068, 'mean_word_length': 3.9748201438848922, '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': '6534392', 'n_tokens_mistral': 388, 'n_tokens_neox': 369, 'n_words': 138}