<commit_before><?php
/* This class is part of the XP framework
 *
 * $Id$
 */

  uses(
    'unittest.TestCase',
    'webservices.rest.server.routing.RestAnnotationRouter'
  );
  
  /**
   * Test annotation based router
   *
   */
  class RestAnnotationRouterTest extends TestCase {
    protected $fixture= NULL;<commit_msg>- Fix errors with unknown classes by adding them to uses() # Occurs when this testcase is run standalone<commit_after><?php
/* This class is part of the XP framework
 *
 * $Id$
 */

  uses(
    'unittest.TestCase',
    'webservices.rest.server.routing.RestAnnotationRouter',
    'webservices.rest.server.transport.JsonHttpRequestAdapter',
    'webservices.rest.server.transport.JsonHttpResponseAdapter',
    'scriptlet.HttpScriptletRequest',
    'scriptlet.HttpScriptletResponse'
  );
  
  /**
   * Test annotation based router
   *
   */
  class RestAnnotationRouterTest extends TestCase {
    protected $fixture= NULL;
{'fraction_non_alphanumeric': 0.10604453870625663, 'fraction_numerical': 0.0, 'mean_word_length': 3.5825242718446604, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, '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': '5941246', 'n_tokens_mistral': 279, 'n_tokens_neox': 273, 'n_words': 68}