-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/EMResearch/EvoMaster into…
… rpc-documentation
- Loading branch information
Showing
105 changed files
with
2,237 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...va/org/evomaster/client/java/controller/api/dto/database/execution/MongoExecutionDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.evomaster.client.java.controller.api.dto.database.execution; | ||
|
||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class MongoExecutionDto { | ||
public List<MongoFailedQuery> failedQueries = new ArrayList<>(); | ||
} |
35 changes: 35 additions & 0 deletions
35
...ava/org/evomaster/client/java/controller/api/dto/database/execution/MongoFailedQuery.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
package org.evomaster.client.java.controller.api.dto.database.execution; | ||
|
||
|
||
public class MongoFailedQuery { | ||
/** | ||
* The database to insert the document into. | ||
*/ | ||
private final String database; | ||
/** | ||
* The collection to insert the document into. | ||
*/ | ||
private final String collection; | ||
/** | ||
* The type of the new document. Should map the type of the documents of the collection. | ||
*/ | ||
private String documentsType; | ||
|
||
public MongoFailedQuery(String database, String collection, String documentsType) { | ||
this.database = database; | ||
this.collection = collection; | ||
this.documentsType = documentsType; | ||
} | ||
|
||
public MongoFailedQuery(){ | ||
this.database = ""; | ||
this.collection = ""; | ||
this.documentsType = ""; | ||
} | ||
|
||
public String getDatabase() {return database;} | ||
public String getCollection() {return collection;} | ||
public String getDocumentsType() { | ||
return documentsType; | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...evomaster/client/java/controller/api/dto/database/operations/MongoDatabaseCommandDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.evomaster.client.java.controller.api.dto.database.operations; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class MongoDatabaseCommandDto { | ||
public List<MongoInsertionDto> insertions = new ArrayList<>(); | ||
} |
16 changes: 16 additions & 0 deletions
16
...a/org/evomaster/client/java/controller/api/dto/database/operations/MongoInsertionDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package org.evomaster.client.java.controller.api.dto.database.operations; | ||
|
||
public class MongoInsertionDto { | ||
/** | ||
* The database to insert the document into. | ||
*/ | ||
public String databaseName; | ||
/** | ||
* The collection to insert the document into. | ||
*/ | ||
public String collectionName; | ||
/** | ||
* The type of the new document. Should map the type of the documents of the collection. | ||
*/ | ||
public String data; | ||
} |
12 changes: 12 additions & 0 deletions
12
...vomaster/client/java/controller/api/dto/database/operations/MongoInsertionResultsDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.evomaster.client.java.controller.api.dto.database.operations; | ||
|
||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
public class MongoInsertionResultsDto { | ||
/** | ||
* whether the insertion at the index of a sequence of Mongo insertions (i.e., {@link MongoDatabaseCommandDto#insertions}) | ||
* executed successfully | ||
*/ | ||
public List<Boolean> executionResults = new ArrayList<>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.