<commit_before><?php
App::uses('FileStorageUtils', 'FileStorage.Utility');
/**
 * 
 */
class FileStorageUtilsTest extends CakeTestCase {
/**
 * testRandomPath
 *
 * @return void
 */
	public function testRandomPath() {
		$result = FileStorageUtils::randomPath('someteststring');
		$this->assertEqual($result, '38\88\98\\');
	}

/**
 * testTrimPath
 *
 * @return void
 */
	public function testTrimPath() {
		$result = FileStorageUtils::trimPath('foobar/');
		$this->assertEqual($result, 'foobar');<commit_msg>FileStorageUtilsTest system independent<commit_after><?php
App::uses('FileStorageUtils', 'FileStorage.Utility');
/**
 * 
 */
class FileStorageUtilsTest extends CakeTestCase {
/**
 * testRandomPath
 *
 * @return void
 */
	public function testRandomPath() {
		$result = FileStorageUtils::randomPath('someteststring');
		$this->assertEqual($result, '38' . DS . '88' . DS . '98' . DS);
	}

/**
 * testTrimPath
 *
 * @return void
 */
	public function testTrimPath() {
		$result = FileStorageUtils::trimPath('foobar/');
		$this->assertEqual($result, 'foobar');
{'fraction_non_alphanumeric': 0.176248821866164, 'fraction_numerical': 0.011310084825636193, 'mean_word_length': 4.966292134831461, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '3000690', 'n_tokens_mistral': 356, 'n_tokens_neox': 333, 'n_words': 60}