<commit_before>describe("Intent JS API Test", function() {
	var getpropertiesdata ='';
    var callbackstatus = false;
    var callbackgetproperties = function (data){
		getpropertiesdata = data;
		callbackstatus = true;
	};
	var parameters = function (intentType, action, categories, appName, targetClass, uri, mimeType, data) {
    	var result = {};
	    if (intentType != "") result.intentType = intentType;
	    if (action != "") result.action = action;
	    if (categories != "") result.categories = categories;
	    if (appName != "") result.appName = appName;
	    if (targetClass != "") result.targetClass = targetClass;
	    if (uri != "") result.uri = uri;
	    if (mimeType != "") result.mimeType = mimeType;
	    if (data != "") result.data = data;
	    return result;
	};

	var testCase = [
		{
			"id":"VT328_47",
			"description":"Check for callback while starting an activity from target appliaction",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":"",
			"intentAppName":"com.smap.targetapp",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_48",
			"description":"Check for callback while starting an activity from target appliaction which is running in the background",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":"",
			"intentAppName":"com.smap.targetapp",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_49",
			"description":"Check for callback while starting an activity from target application using targetClass",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":"",
			"intentAppName":"com.smap.targetapp",
			"intentTargetClass":"com.smap.targetapp.MainActivity",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_50",
			"description":"Check for callback while launching browser from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_BROWSER"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_51",
			"description":"Check for callback while launching browser from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_MUSIC"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_52",
			"description":"Check for callback while launching browser from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_CALCULATOR"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_53",
			"description":"Check for callback while launching browser from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_CALENDAR"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_54",
			"description":"Check for callback while launching browser from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_CONTACTS"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_55",
			"description":"Check for callback while launching browser from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_EMAIL"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_56",
			"description":"Check for callback while launching browser from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_GALLERY"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_57",
			"description":"Check for callback while launching browser from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_MESSAGING"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		}
	];

	var paramArray = [];

	for (var i=0; i<testCase.length; i++){
		var params = new parameters(testCase[i].intentType,testCase[i].intentAction,testCase[i].intentCategories,testCase[i].intentAppName,testCase[i].intentTargetClass,testCase[i].intentUri,testCase[i].intentMimeType,testCase[i].intentData);
		paramArray.push(params);<commit_msg>Auto test cases updated with the correct description<commit_after>describe("Intent JS API Test", function() {
	var getpropertiesdata ='';
    var callbackstatus = false;
    var callbackgetproperties = function (data){
		getpropertiesdata = data;
		callbackstatus = true;
	};
	var parameters = function (intentType, action, categories, appName, targetClass, uri, mimeType, data) {
    	var result = {};
	    if (intentType != "") result.intentType = intentType;
	    if (action != "") result.action = action;
	    if (categories != "") result.categories = categories;
	    if (appName != "") result.appName = appName;
	    if (targetClass != "") result.targetClass = targetClass;
	    if (uri != "") result.uri = uri;
	    if (mimeType != "") result.mimeType = mimeType;
	    if (data != "") result.data = data;
	    return result;
	};

	var testCase = [
		{
			"id":"VT328_47",
			"description":"Check for callback while starting an activity from target appliaction",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":"",
			"intentAppName":"com.smap.targetapp",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_48",
			"description":"Check for callback while starting an activity from target appliaction which is running in the background",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":"",
			"intentAppName":"com.smap.targetapp",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_49",
			"description":"Check for callback while starting an activity from target application using targetClass",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":"",
			"intentAppName":"com.smap.targetapp",
			"intentTargetClass":"com.smap.targetapp.MainActivity",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_50",
			"description":"Check for callback while launching browser from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_BROWSER"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_51",
			"description":"Check for callback while launching Music Player from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_MUSIC"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_52",
			"description":"Check for callback while launching calculator from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_CALCULATOR"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_53",
			"description":"Check for callback while launching calendar from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_CALENDAR"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_54",
			"description":"Check for callback while launching contacts from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_CONTACTS"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_55",
			"description":"Check for callback while launching email from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_EMAIL"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_56",
			"description":"Check for callback while launching gallery from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_GALLERY"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		},
		{
			"id":"VT328_57",
			"description":"Check for callback while launching messaging from test application",
			"intentType":"Rho.Intent.START_ACTIVITY",
			"intentAction":"ACTION_MAIN",
			"intentCategories":["CATEGORY_APP_MESSAGING"],
			"intentAppName":"",
			"intentTargetClass":"",
			"intentUri":"",
			"intentMimeType":"",
			"intentData":""
		}
	];

	var paramArray = [];

	for (var i=0; i<testCase.length; i++){
		var params = new parameters(testCase[i].intentType,testCase[i].intentAction,testCase[i].intentCategories,testCase[i].intentAppName,testCase[i].intentTargetClass,testCase[i].intentUri,testCase[i].intentMimeType,testCase[i].intentData);
		paramArray.push(params);
{'fraction_non_alphanumeric': 0.17554797856794935, 'fraction_numerical': 0.010910862152946907, 'mean_word_length': 5.0, 'pattern_counts': {'":': 220, '<': 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': '6035217', 'n_tokens_mistral': 3891, 'n_tokens_neox': 3154, 'n_words': 583}