<commit_before>var nodeunit	 		= require('nodeunit')
	, mod_resmanager 	= require('../lib/resourcemanager.js')
	, mod_promise 		= require('promised-io')
	, mod_cache			= require('../lib/Cache.js')
	, mod_path			= require('path')

module.exports = nodeunit.testCase({
	setUp : function (callback) {
		mod_resmanager.configure({"caching":{"resources":true}}, mod_cache);
		callback();
	}

	, testSimple : function (test) {
		var r = mod_resmanager.getResource('file://' + mod_path.join(__dirname, '..', 'server.js'));
		r.then(function (data) {
			test.done();	
		});
	}<commit_msg>moved main server module<commit_after>var nodeunit	 		= require('nodeunit')
	, mod_resmanager 	= require('../lib/resourcemanager.js')
	, mod_promise 		= require('promised-io')
	, mod_cache			= require('../lib/Cache.js')
	, mod_path			= require('path')

module.exports = nodeunit.testCase({
	setUp : function (callback) {
		mod_resmanager.configure({"caching":{"resources":true}}, mod_cache);
		callback();
	}

	, testSimple : function (test) {
		var r = mod_resmanager.getResource('file://' + mod_path.join(__dirname, '..', 'lib', 'server.js'));
		r.then(function (data) {
			test.done();	
		});
	}
{'fraction_non_alphanumeric': 0.1926994906621392, 'fraction_numerical': 0.0, 'mean_word_length': 4.334841628959276, 'pattern_counts': {'":': 4, '<': 3, '<?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': '6860586', 'n_tokens_mistral': 446, 'n_tokens_neox': 418, 'n_words': 64}