Skip to content

Рефакторинг тестов и фиксы#637

Merged
theshadowco merged 10 commits into
developfrom
feature/refactTest
Jul 6, 2026
Merged

Рефакторинг тестов и фиксы#637
theshadowco merged 10 commits into
developfrom
feature/refactTest

sq fixes

2c7c3f5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 6, 2026 in 42s

Annotations

Check failure on line 77 in src/main/java/com/github/_1c_syntax/bsl/reader/edt/converter/MetaDataObjectConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"if ... else if" constructs should end with "else" clauses.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-h8QQIy5KC6ABWO&open=AZ84O-h8QQIy5KC6ABWO&pullRequest=637

Check warning on line 37 in src/test/java/com/github/_1c_syntax/bsl/test_utils/TestURIConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-k0QQIy5KC6ABWe&open=AZ84O-k0QQIy5KC6ABWe&pullRequest=637

Check warning on line 110 in src/test/java/com/github/_1c_syntax/bsl/test_utils/assertions/ConfigurationCollectionAssert.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "ignored".

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-kaQQIy5KC6ABWY&open=AZ84O-kaQQIy5KC6ABWY&pullRequest=637

Check failure on line 78 in src/test/java/com/github/_1c_syntax/bsl/test_utils/GenerateTemplateDataFixtures.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-lCQQIy5KC6ABWk&open=AZ84O-lCQQIy5KC6ABWk&pullRequest=637

Check failure on line 111 in src/main/java/com/github/_1c_syntax/bsl/reader/common/context/MDCReaderContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

"if ... else if" constructs should end with "else" clauses.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-e5QQIy5KC6ABWN&open=AZ84O-e5QQIy5KC6ABWN&pullRequest=637

Check warning on line 40 in src/test/java/com/github/_1c_syntax/bsl/test_utils/TestURIConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-k0QQIy5KC6ABWh&open=AZ84O-k0QQIy5KC6ABWh&pullRequest=637

Check warning on line 72 in src/test/java/com/github/_1c_syntax/bsl/test_utils/assertions/ModuleCollectionAssert.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "ignored".

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-j-QQIy5KC6ABWV&open=AZ84O-j-QQIy5KC6ABWV&pullRequest=637

Check warning on line 41 in src/test/java/com/github/_1c_syntax/bsl/test_utils/TestURIConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-k0QQIy5KC6ABWi&open=AZ84O-k0QQIy5KC6ABWi&pullRequest=637

Check warning on line 27 in src/test/java/com/github/_1c_syntax/bsl/test_utils/GenerateTemplateDataFixtures.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused import 'com.github._1c_syntax.bsl.mdo.children.ObjectTemplate'.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-lCQQIy5KC6ABWm&open=AZ84O-lCQQIy5KC6ABWm&pullRequest=637

Check warning on line 43 in src/test/java/com/github/_1c_syntax/bsl/test_utils/GenerateFormDataFixtures.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename class "GenerateFormDataFixtures" to match the regular expression: '^((Test|IT)[a-zA-Z0-9]+|[A-Z][a-zA-Z0-9]*(Test|IT|TestCase|ITCase))$'

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-kiQQIy5KC6ABWa&open=AZ84O-kiQQIy5KC6ABWa&pullRequest=637

Check warning on line 63 in src/test/java/com/github/_1c_syntax/bsl/mdo/ExchangePlanTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use isEmpty() instead.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-jKQQIy5KC6ABWR&open=AZ84O-jKQQIy5KC6ABWR&pullRequest=637

Check warning on line 178 in src/main/java/com/github/_1c_syntax/bsl/reader/edt/EDTReader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "==" to perform this enum comparison instead of using "equals"

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-inQQIy5KC6ABWP&open=AZ84O-inQQIy5KC6ABWP&pullRequest=637

Check warning on line 36 in src/test/java/com/github/_1c_syntax/bsl/test_utils/TestURIConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-k0QQIy5KC6ABWd&open=AZ84O-k0QQIy5KC6ABWd&pullRequest=637

Check warning on line 178 in src/main/java/com/github/_1c_syntax/bsl/reader/edt/EDTReader.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use "==" to perform this enum comparison instead of using "equals"

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-inQQIy5KC6ABWQ&open=AZ84O-inQQIy5KC6ABWQ&pullRequest=637

Check warning on line 47 in src/test/java/com/github/_1c_syntax/bsl/mdo/EnumTest.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename this local variable to match the regular expression '^[a-z][a-zA-Z0-9]*$'.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-jnQQIy5KC6ABWS&open=AZ84O-jnQQIy5KC6ABWS&pullRequest=637

Check warning on line 155 in src/test/java/com/github/_1c_syntax/bsl/test_utils/assertions/MDCollectionAssert.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

%n should be used in place of \n to produce the platform-specific line separator.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-j3QQIy5KC6ABWU&open=AZ84O-j3QQIy5KC6ABWU&pullRequest=637

Check warning on line 111 in src/main/java/com/github/_1c_syntax/bsl/reader/common/context/MDCReaderContext.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Assign this magic number 99 to a well-named constant, and use the constant instead.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-e5QQIy5KC6ABWM&open=AZ84O-e5QQIy5KC6ABWM&pullRequest=637

Check warning on line 34 in src/test/java/com/github/_1c_syntax/bsl/test_utils/TestURIConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-k0QQIy5KC6ABWb&open=AZ84O-k0QQIy5KC6ABWb&pullRequest=637

Check warning on line 52 in src/test/java/com/github/_1c_syntax/bsl/test_utils/GenerateChildFixtures.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename class "GenerateChildFixtures" to match the regular expression: '^((Test|IT)[a-zA-Z0-9]+|[A-Z][a-zA-Z0-9]*(Test|IT|TestCase|ITCase))$'

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-k7QQIy5KC6ABWj&open=AZ84O-k7QQIy5KC6ABWj&pullRequest=637

Check failure on line 101 in src/test/java/com/github/_1c_syntax/bsl/test_utils/GenerateFormDataFixtures.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-kiQQIy5KC6ABWZ&open=AZ84O-kiQQIy5KC6ABWZ&pullRequest=637

Check warning on line 43 in src/test/java/com/github/_1c_syntax/bsl/test_utils/GenerateTemplateDataFixtures.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rename class "GenerateTemplateDataFixtures" to match the regular expression: '^((Test|IT)[a-zA-Z0-9]+|[A-Z][a-zA-Z0-9]*(Test|IT|TestCase|ITCase))$'

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-lCQQIy5KC6ABWl&open=AZ84O-lCQQIy5KC6ABWl&pullRequest=637

Check warning on line 180 in src/test/java/com/github/_1c_syntax/bsl/test_utils/assertions/ModuleCollectionAssert.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

%n should be used in place of \n to produce the platform-specific line separator.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-j-QQIy5KC6ABWW&open=AZ84O-j-QQIy5KC6ABWW&pullRequest=637

Check warning on line 39 in src/test/java/com/github/_1c_syntax/bsl/test_utils/TestURIConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-k0QQIy5KC6ABWg&open=AZ84O-k0QQIy5KC6ABWg&pullRequest=637

Check warning on line 67 in src/test/java/com/github/_1c_syntax/bsl/test_utils/assertions/MDCollectionAssert.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this unused method parameter "ignored".

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-j3QQIy5KC6ABWT&open=AZ84O-j3QQIy5KC6ABWT&pullRequest=637

Check warning on line 38 in src/test/java/com/github/_1c_syntax/bsl/test_utils/TestURIConverter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reorder the modifiers to comply with the Java Language Specification.

See more on https://sonarcloud.io/project/issues?id=1c-syntax_mdclasses&issues=AZ84O-k0QQIy5KC6ABWf&open=AZ84O-k0QQIy5KC6ABWf&pullRequest=637