Skip to content

Commit

Permalink
Removed KDocs on the private methods
Browse files Browse the repository at this point in the history
  • Loading branch information
Rd4dev committed Jun 23, 2024
1 parent d367c7b commit cd0b55b
Showing 1 changed file with 0 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,21 +80,10 @@ class TestFileCheck(
}
}

/**
* Computes the expected test file name for a prod file.
*
* @param prodFile the prod file for which expected test file name has to be computed
* @return expected name of the test file
*/
private fun computeExpectedTestFileName(prodFile: File): String {
return "${prodFile.nameWithoutExtension}Test.kt"
}

/**
* Logs the file names of all the prod files that do not have a test file.
*
* @param matchedFiles list of all the files missing a test file
*/
private fun logFailures(matchedFiles: List<File>) {
if (matchedFiles.isNotEmpty()) {
matchedFiles.sorted().forEach { file ->
Expand All @@ -104,12 +93,6 @@ private fun logFailures(matchedFiles: List<File>) {
}
}

/**
* Loads the test file exemptions list to proto.
*
* @param testFileExemptiontextProto the location of the test file exemption textproto file
* @return proto class from the parsed textproto file
*/
private fun loadTestFileExemptionsProto(testFileExemptiontextProto: String): TestFileExemptions {
val protoBinaryFile = File("$testFileExemptiontextProto.pb")
val builder = TestFileExemptions.getDefaultInstance().newBuilderForType()
Expand Down

0 comments on commit cd0b55b

Please sign in to comment.