diff --git a/tests/cicd/generate_docstring/java_test_file.java b/tests/cicd/generate_docstring/java_test_file.java index 1a879a31d..68cb19310 100644 --- a/tests/cicd/generate_docstring/java_test_file.java +++ b/tests/cicd/generate_docstring/java_test_file.java @@ -7,6 +7,13 @@ class Test { * @return The sum of the two input integers */ + /** + * Sums up two integers and returns the result. + * + * @param a The first integer to be added + * @param b The second integer to be added + * @return The sum of the two input integers + */ public static int a_plus_b(Integer a, Integer b) { return a + b; } diff --git a/tests/cicd/generate_docstring/js_test_file.py.js b/tests/cicd/generate_docstring/js_test_file.py.js index 90162c731..d23afed9e 100644 --- a/tests/cicd/generate_docstring/js_test_file.py.js +++ b/tests/cicd/generate_docstring/js_test_file.py.js @@ -24,6 +24,11 @@ const sqlite = (db, query, callback) => { * @returns {undefined} This method doesn't return a value */ + /** + * Serializes the database operation by running the provided function within a transaction. + * @param {Function} callback - The function to be executed within the transaction. + * @returns {void} + */ db.serialize(function () { db.each(query, callback); });