<commit_before><!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<title>DrToDoLittle:QUnitTests</title>
	<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-1.22.0.css">
</head>
<body>
	<div id="qunit"></div>
	<div id="qunit-fixture"></div>
	<script src="//code.jquery.com/qunit/qunit-1.22.0.js"></script>
	
	<!-- Scripts -->
	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular-cookies.min.js"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular-route.min.js"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
	<script src="js/satellizer.js"></script>
	<script src="js/jwt-decode.min.js"></script>
	<!--
	<script src="js/tdapp.js"></script>
	<script src="js/tdapp_factories.js"></script>
	<script src="js/tdapp_service_backend.js"></script>
	<script src="js/tdapp_service_autologin.js"></script>
	<script src="js/tdapp_controller_auth.js"></script>
	<script src="js/tdapp_controller_reg.js"></script>
	<script src="js/tdapp_controller_main.js"></script>
	-->
	<script src="js/tdapp.bundled.min.js"></script>
	
	<!--

		Tests TDMgr ********************************************************************************
		
	-->

	<script>

	QUnit.test("TDMgr", function(assert){	
		var injector = angular.injector(["ng","tdapp"]);	
		var TDMgr = injector.get("TDMgr");		<commit_msg>Anpassung zur Nutzung von Firebase/AngularFire<commit_after><!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">
	<title>DrToDoLittle:QUnitTests</title>
	<link rel="stylesheet" href="https://code.jquery.com/qunit/qunit-1.22.0.css">
</head>
<body>
	<div id="qunit"></div>
	<div id="qunit-fixture"></div>
	<script src="//code.jquery.com/qunit/qunit-1.22.0.js"></script>
	
	<!-- Scripts -->
	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular-cookies.min.js"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular-route.min.js"></script>
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
	<script src="js/satellizer.js"></script>
	<script src="js/jwt-decode.min.js"></script>
	<!--
	<script src="js/tdapp.js"></script>
	<script src="js/tdapp_factories.js"></script>
	<script src="js/tdapp_service_backend.js"></script>
	<script src="js/tdapp_service_autologin.js"></script>
	<script src="js/tdapp_controller_auth.js"></script>
	<script src="js/tdapp_controller_reg.js"></script>
	<script src="js/tdapp_controller_main.js"></script>
	-->
	<script src="js/tdapp.bundled.min.js"></script>
	
	<!-- Firebase/AngularFire -->
	<script src="https://www.gstatic.com/firebasejs/3.2.1/firebase.js"></script>
	<script src="https://cdn.firebase.com/libs/angularfire/2.0.1/angularfire.min.js"></script>
	<script>
	  // Initialize Firebase
	  var config = {
		apiKey: "<KEY>",
		authDomain: "drtodolittle.firebaseapp.com",
		databaseURL: "https://drtodolittle.firebaseio.com",
		storageBucket: "",
	  };
	  firebase.initializeApp(config);
	</script>
	
	<!--

		Tests TDMgr ********************************************************************************
		
	-->

	<script>

	QUnit.test("TDMgr", function(assert){	
		var injector = angular.injector(["ng","tdapp"]);	
		var TDMgr = injector.get("TDMgr");		
{'fraction_non_alphanumeric': 0.2568474007825601, 'fraction_numerical': 0.013974287311347122, 'mean_word_length': 4.945182724252492, 'pattern_counts': {'":': 0, '<': 107, '<?xml version=': 0, '>': 107, 'https://': 13, 'lorem ipsum': 0, 'www.': 1, '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': '3205725', 'n_tokens_mistral': 1390, 'n_tokens_neox': 1320, 'n_words': 145}