From aaa584a6766c531d246a75c4b0f23d275f3aae34 Mon Sep 17 00:00:00 2001 From: Dzhovidon Vakhidov Date: Fri, 22 Mar 2024 18:29:31 +0300 Subject: [PATCH] added todos on tests --- src/test/java/org/jpeek/calculus/java/CcmTest.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/test/java/org/jpeek/calculus/java/CcmTest.java b/src/test/java/org/jpeek/calculus/java/CcmTest.java index 477e0378..a76e7635 100644 --- a/src/test/java/org/jpeek/calculus/java/CcmTest.java +++ b/src/test/java/org/jpeek/calculus/java/CcmTest.java @@ -37,6 +37,19 @@ /** * Test class for CCM calculus. * @since 0.30.9 + * @todo #522:15m/DEV Implement test with one CC it should find ncc as 1, and use it in further + * calculation of ccm metric + * @todo #522:15m/DEV Implement test with several CC here more complicated graph: several methods + * with references is such way that we would get edges between methods + * @todo #522:15m/DEV Implement test with only constructor test would be parametrized, depending + * on parameter constructor may be ingored + * @todo #522:15m/DEV Implement test with constructor and several CC. Parametrized on constructor, + * explore behavior when we have constructor and regular methods + * @todo #522:15m/DEV Implement test with variable shadowing. Whether calculus notices that no + * edge between methods needed or it should just ignore it. + * @todo #522:15m/DEV Implement test with static methods check. Whether calculus notices that + * method is static or not. I guess there is not big difference between static and non-static + * methods, but i guess it is better to add such tests anyway */ final class CcmTest { @Test