Skip to content

Commit 4aceadd

Browse files
committed
feat(cpp): add comment about testing framework choice
Add a comment in CppWriteTestService.kt to discuss whether to use Google Test or CATCH for testing.
1 parent cce73c2 commit 4aceadd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/src/main/kotlin/cc/unitmesh/cpp/provider/testing/CppWriteTestService.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import com.intellij.psi.PsiFile
1111
import com.jetbrains.cidr.cpp.execution.testing.CMakeTestRunConfiguration
1212
import com.jetbrains.cidr.lang.psi.OCFunctionDeclaration
1313

14+
// use Google Test or CATCH?
1415
class CppWriteTestService : WriteTestService() {
1516
override fun runConfigurationClass(project: Project): Class<out RunProfile> = CMakeTestRunConfiguration::class.java
1617

@@ -40,7 +41,7 @@ class CppWriteTestService : WriteTestService() {
4041
}
4142

4243
override fun lookupRelevantClass(project: Project, element: PsiElement): List<ClassContext> {
43-
TODO("Not yet implemented")
44+
return listOf()
4445
}
4546

4647
}

0 commit comments

Comments
 (0)