Conversation
...java/org/evomaster/client/java/controller/api/dto/database/execution/RedisExecutionsDto.java
Show resolved
Hide resolved
...java/org/evomaster/client/java/controller/api/dto/database/execution/RedisFailedCommand.java
Show resolved
Hide resolved
...rg/evomaster/client/java/controller/api/dto/database/operations/RedisDatabaseCommandDto.java
Outdated
Show resolved
Hide resolved
...java/org/evomaster/client/java/controller/api/dto/database/operations/RedisInsertionDto.java
Show resolved
Hide resolved
...java/org/evomaster/client/java/controller/api/dto/database/execution/RedisFailedCommand.java
Show resolved
Hide resolved
core/src/main/kotlin/org/evomaster/core/redis/RedisDbActionTransformer.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/org/evomaster/core/redis/RedisInsertBuilder.kt
Outdated
Show resolved
Hide resolved
core/src/main/kotlin/org/evomaster/core/remote/service/RemoteControllerImplementation.kt
Outdated
Show resolved
Hide resolved
...java/org/evomaster/client/java/controller/api/dto/database/execution/RedisExecutionsDto.java
Show resolved
Hide resolved
...java/org/evomaster/client/java/controller/api/dto/database/execution/RedisFailedCommand.java
Show resolved
Hide resolved
...ava/controller/src/main/java/org/evomaster/client/java/controller/internal/EMController.java
Outdated
Show resolved
Hide resolved
...t-java/controller/src/main/java/org/evomaster/client/java/controller/redis/dsl/RedisDsl.java
Outdated
Show resolved
Hide resolved
| * | ||
| * @return a list of DTOs representing all the insertion Redis commands defined in this DSL. | ||
| */ | ||
| List<RedisInsertionDto> dtos(); |
There was a problem hiding this comment.
Should dtos() be removed?
...ontroller/src/main/java/org/evomaster/client/java/controller/redis/RedisCommandExecutor.java
Show resolved
Hide resolved
...ler/src/main/java/org/evomaster/client/java/controller/redis/ReflectionBasedRedisClient.java
Outdated
Show resolved
Hide resolved
|
@arcuri82 you might review this PR now. |
...java/org/evomaster/client/java/controller/api/dto/database/execution/RedisFailedCommand.java
Outdated
Show resolved
Hide resolved
...oller/src/main/java/org/evomaster/client/java/controller/internal/db/redis/RedisHandler.java
Outdated
Show resolved
Hide resolved
| serverController.setExecutingInitMongo(executingInitRedis); | ||
| // sync executingInitMongo on the local ExecutionTracer | ||
| ExecutionTracer.setExecutingInitMongo(executingInitRedis); | ||
| } |
There was a problem hiding this comment.
why are those functions calling *InitMongo? is it a copy&paste bug? and if so, why no test case failed?
There was a problem hiding this comment.
Sorry I missed these copy-paste errors in my review. And yes, there should be a test failing due to this.
There was a problem hiding this comment.
I apologize for this copy paste error, already changed the code. Since we do not generate heuristics on insertion commands, this didn't affect the logic for Redis data generation.
As for a new test for this code... I don't believe it's possible to test this in an e2e context or even an integration one without adding some debug methods to access the data for testing.
Added Redis execution info extraction and data generation (only for GET command).
RedisActions are now included, and new data is being inserted into Redis. Test cases also include Redis new data using RedisDsl and a RedisWriter.