@@ -44,18 +44,47 @@ void prepare() {
44
44
var documentContext = TestUtils .getDocumentContextFromFile ("./src/test/resources/context/symbol/MethodDescription.bsl" );
45
45
var methods = documentContext .getSymbolTree ().getMethods ();
46
46
47
- assertThat (methods .size ()).isEqualTo (14 );
47
+ assertThat (methods .size ()).isEqualTo (18 );
48
48
49
49
methodsWithDescription = methods .stream ()
50
50
.map (MethodSymbol ::getDescription )
51
51
.filter (Optional ::isPresent )
52
52
.map (Optional ::get )
53
53
.collect (Collectors .toList ());
54
54
55
- assertThat (methodsWithDescription .size ()).isEqualTo (13 );
55
+ assertThat (methodsWithDescription .size ()).isEqualTo (15 );
56
56
}
57
57
}
58
58
59
+ @ Test
60
+ void testMethod15 () {
61
+ var method = methodsWithDescription .get (14 );
62
+ assertThat (method .getPurposeDescription ())
63
+ .isNotEmpty ()
64
+ .isEqualTo ("См. ОбщийМодуль.ОписаниеСсылкойАсинх" );
65
+ assertThat (method .isDeprecated ()).isFalse ();
66
+ assertThat (method .getDeprecationInfo ()).isEmpty ();
67
+ assertThat (method .getExamples ()).isEmpty ();
68
+ assertThat (method .getCallOptions ()).isEmpty ();
69
+ assertThat (method .getParameters ()).isEmpty ();
70
+ assertThat (method .getReturnedValue ()).isEmpty ();
71
+ assertThat (method .getLink ()).isNotEmpty ();
72
+ }
73
+ @ Test
74
+ void testMethod14 () {
75
+ var method = methodsWithDescription .get (13 );
76
+ assertThat (method .getPurposeDescription ())
77
+ .isNotEmpty ()
78
+ .isEqualTo ("См. ОбщийМодуль.Метод()" );
79
+ assertThat (method .isDeprecated ()).isFalse ();
80
+ assertThat (method .getDeprecationInfo ()).isEmpty ();
81
+ assertThat (method .getExamples ()).isEmpty ();
82
+ assertThat (method .getCallOptions ()).isEmpty ();
83
+ assertThat (method .getParameters ()).isEmpty ();
84
+ assertThat (method .getReturnedValue ()).isEmpty ();
85
+ assertThat (method .getLink ()).isNotEmpty ();
86
+ }
87
+
59
88
@ Test
60
89
void testMethod13 () {
61
90
var method = methodsWithDescription .get (12 );
0 commit comments