<commit_before><!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<title>All control and element setter should return correct context (Reason: https://github.com/SAP/openui5/blob/master/docs/guidelines.md#creating-classes)</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<script src="../../shared-config.js"></script>
	<script id="sap-ui-bootstrap"
			src="../../../../../../resources/sap-ui-core.js"
			data-sap-ui-noConflict="true"
			data-sap-ui-libs="sap.m,sap.ui.layout,sap.ui.unified,sap.ui.ux3,sap.ui.table,sap.ui.suite,sap.ui.dt,sap.uxap,sap.tnt,sap.ui.demokit,sap.ui.commons">
	</script>
	<link rel="stylesheet" href="../../../../../../resources/sap/ui/thirdparty/qunit.css" type="text/css" media="screen">
	<script src="../../../../../../resources/sap/ui/thirdparty/qunit.js"></script>
	<script>

		(function () {

			module("Setters");

			var oLibraries,
				aClasses,
				sLibName,
				oLibrary,
				aExcludedLibraries;

			// Exclude libraries - we need this to exclude libraries that will not be tested at this point in time
			aExcludedLibraries = [
				"sap.ui.core",
				"sap.ui.ux3",
				"sap.ui.table",
				"sap.ui.suite",
				"sap.ui.dt",
				"sap.uxap",
				"sap.ui.demokit",
				"sap.ui.commons",
				"sap.viz",
				"sap.chart",
				"sap.me",
				"sap.suite.ui.microchart",
				"sap.suite.ui.commons",
				"sap.ui.comp",
				"sap.ui.composite",
				"sap.ui.rta",
				"sap.uiext.inbox",
				"sap.service.visualization",
				"sap.ushell.ui",
				"sap.ca.ui",
				"sap.msap.tnt",
				"sap.apf",
				"sap.ca.scfld.md",
				"sap.collaboration",
				"sap.fiori",
				"sap.gantt",
				"sap.gantt.config",
				"sap.landvisz",
				"sap.makit",
				"sap.ndc",
				"sap.ui.generic.app",
				"sap.ui.fl",
				"sap.ovp",
				"sap.portal.ui5",
				"sap.rules.ui",
				"sap.suite.ui.generic.template",
				"sap.ui.generic.template",
				"sap.ui.richtexteditor",
				"sap.ui.vbm",
				"sap.ui.vk",
				"sap.fiori",
				"sap.ushell",
				"sap.ui.dev",
				"sap.ui.dev2",
				"sap.ui.mdc",
				"sap.ui.support",
				"sap.ui.codeeditor",
				"sap.diagram"
			];

			oLibraries = getLibraries(aExcludedLibraries);

			// Create tests for all loaded libraries
			for (sLibName in oLibraries) {

				if (jQuery.inArray(sLibName, aExcludedLibraries) === -1 && oLibraries.hasOwnProperty(sLibName)) {

					oLibrary = oLibraries[sLibName];

					// Mind here we need a concatenated copy of the original array`s!!!
					aClasses = oLibrary.controls.concat(oLibrary.elements.slice());

					(function (aClasses) {
						test("All control and element setters should return correct context in library " + sLibName, function (fnAssert) {
							// Test all classes from list
							assertAllSettersFromList(aClasses, fnAssert);
						});
					})(aClasses);
<commit_msg>[INTERNAL] Modified Generic QUnit tests<commit_after><!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<title>All control and element setter should return correct context (Reason: https://github.com/SAP/openui5/blob/master/docs/guidelines.md#creating-classes)</title>
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<script src="../../shared-config.js"></script>
	<script id="sap-ui-bootstrap"
			src="../../../../../../resources/sap-ui-core.js"
			data-sap-ui-noConflict="true"
			data-sap-ui-libs="sap.m,sap.ui.layout,sap.ui.unified,sap.ui.ux3,sap.ui.table,sap.ui.suite,sap.ui.dt,sap.uxap,sap.tnt,sap.ui.demokit,sap.ui.commons">
	</script>
	<link rel="stylesheet" href="../../../../../../resources/sap/ui/thirdparty/qunit.css" type="text/css" media="screen">
	<script src="../../../../../../resources/sap/ui/thirdparty/qunit.js"></script>
	<script>

		(function () {

			module("Setters");

			var oLibraries,
				aClasses,
				sLibName,
				oLibrary,
				aExcludedLibraries;

			// Exclude libraries - we need this to exclude libraries that will not be tested at this point in time
			aExcludedLibraries = [
				"sap.ui.core",
				"sap.ui.ux3",
				"sap.ui.table",
				"sap.ui.suite",
				"sap.ui.dt",
				"sap.uxap",
				"sap.ui.demokit",
				"sap.ui.commons",
				"sap.viz",
				"sap.chart",
				"sap.me",
				"sap.suite.ui.microchart",
				"sap.suite.ui.commons",
				"sap.ui.comp",
				"sap.ui.composite",
				"sap.ui.rta",
				"sap.uiext.inbox",
				"sap.service.visualization",
				"sap.ushell.ui",
				"sap.ca.ui",
				"sap.msap.tnt",
				"sap.apf",
				"sap.ca.scfld.md",
				"sap.collaboration",
				"sap.fiori",
				"sap.gantt",
				"sap.gantt.config",
				"sap.landvisz",
				"sap.makit",
				"sap.ndc",
				"sap.ui.generic.app",
				"sap.ui.fl",
				"sap.ovp",
				"sap.portal.ui5",
				"sap.rules.ui",
				"sap.suite.ui.generic.template",
				"sap.ui.generic.template",
				"sap.ui.richtexteditor",
				"sap.ui.vbm",
				"sap.ui.vtm",
				"sap.ui.vk",
				"sap.fiori",
				"sap.ushell",
				"sap.ui.dev",
				"sap.ui.dev2",
				"sap.ui.mdc",
				"sap.ui.support",
				"sap.ui.codeeditor",
				"sap.diagram"
			];

			oLibraries = getLibraries(aExcludedLibraries);

			// Create tests for all loaded libraries
			for (sLibName in oLibraries) {

				if (jQuery.inArray(sLibName, aExcludedLibraries) === -1 && oLibraries.hasOwnProperty(sLibName)) {

					oLibrary = oLibraries[sLibName];

					// Mind here we need a concatenated copy of the original array`s!!!
					aClasses = oLibrary.controls.concat(oLibrary.elements.slice());

					(function (aClasses) {
						test("All control and element setters should return correct context in library " + sLibName, function (fnAssert) {
							// Test all classes from list
							assertAllSettersFromList(aClasses, fnAssert);
						});
					})(aClasses);

{'fraction_non_alphanumeric': 0.19204707560627673, 'fraction_numerical': 0.0024964336661911554, 'mean_word_length': 2.794993234100135, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 2, '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': '1796168', 'n_tokens_mistral': 2575, 'n_tokens_neox': 2200, 'n_words': 339}