<commit_before><commit_msg>Added tests for the testable parts of the Exception Visualizer<commit_after><?php

require_once dirname(__FILE__) . '/../classes/BaseExceptionVisualizer.php';

class BaseExceptionVisualizerTest extends PHPUnit_Framework_TestCase {

  public function testSetterGetter() {
    BaseExceptionVisualizer::set_display_template('test');
    $this->assertEquals('test', BaseExceptionVisualizer::get_display_template());
  }

}
{'fraction_non_alphanumeric': 0.10337078651685393, 'fraction_numerical': 0.0, 'mean_word_length': 7.576923076923077, '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': '3382283', 'n_tokens_mistral': 118, 'n_tokens_neox': 117, 'n_words': 23}