-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
comp-sandboxingIssue is related to sandboxing unpermitted operations by Java Security ManagerIssue is related to sandboxing unpermitted operations by Java Security Managercomp-summariesSomething related to the method names, code comments and display names generationSomething related to the method names, code comments and display names generationctg-enhancementNew feature, improvement or change requestNew feature, improvement or change request
Description
Description
Summaries are missing when the test is generated for code with unpermitted operations in Threads.
And when Symbolic execution is used only.
To Reproduce
Steps from #895
Plus Fuzzing is OFF - only Symbolic engine is on:
Expected behavior
Generated test should have Description, Java doc, region should be named - accordingly.
New kind of tests handling by Summaries should be considered.
- Test name?
- Java doc?
- Which region name would be appropriate for tests disabled due to sandbox ?
Actual behavior
Generated tests are not disabled due to Sandbox. And do not have any description or Java doc. Region name is empty too.
When Fuzzing mode is on - description and region name is generated.
Visual proofs (screenshots, logs, images)
public class SecurityCheckTest {
///region Test suites for executable SecurityCheck.read
///region
@Test
public void testRead1() throws Throwable {
SecurityCheck securityCheck = new SecurityCheck();
int actual = securityCheck.read();
assertEquals(10, actual);
}
///endregion
///endregion
}
Environment
Windows 10 Pro
IntelliJ IDEA 2022.1.4
JDK 8
Metadata
Metadata
Assignees
Labels
comp-sandboxingIssue is related to sandboxing unpermitted operations by Java Security ManagerIssue is related to sandboxing unpermitted operations by Java Security Managercomp-summariesSomething related to the method names, code comments and display names generationSomething related to the method names, code comments and display names generationctg-enhancementNew feature, improvement or change requestNew feature, improvement or change request
Type
Projects
Status
Todo