Search in sources :

Example 6 with ConqueryError

use of com.bakdata.conquery.models.error.ConqueryError in project conquery by bakdata.

the class SerializationTests method executionCreationPlanError.

@Test
public void executionCreationPlanError() throws JSONException, IOException {
    ConqueryError error = new ConqueryError.ExecutionCreationPlanError();
    SerializationTestUtil.forType(ConqueryError.class).test(error);
}
Also used : ConqueryError(com.bakdata.conquery.models.error.ConqueryError) Test(org.junit.jupiter.api.Test) IdMapSerialisationTest(com.bakdata.conquery.models.identifiable.IdMapSerialisationTest)

Example 7 with ConqueryError

use of com.bakdata.conquery.models.error.ConqueryError in project conquery by bakdata.

the class SerializationTests method executionCreationResolveError.

@Test
public void executionCreationResolveError() throws JSONException, IOException {
    ConqueryError error = new ConqueryError.ExecutionCreationResolveError(new DatasetId("test"));
    SerializationTestUtil.forType(ConqueryError.class).test(error);
}
Also used : ConqueryError(com.bakdata.conquery.models.error.ConqueryError) DatasetId(com.bakdata.conquery.models.identifiable.ids.specific.DatasetId) Test(org.junit.jupiter.api.Test) IdMapSerialisationTest(com.bakdata.conquery.models.identifiable.IdMapSerialisationTest)

Aggregations

ConqueryError (com.bakdata.conquery.models.error.ConqueryError)7 IdMapSerialisationTest (com.bakdata.conquery.models.identifiable.IdMapSerialisationTest)3 Test (org.junit.jupiter.api.Test)3 ConqueryError.asConqueryError (com.bakdata.conquery.models.error.ConqueryError.asConqueryError)2 ManagedExecutionId (com.bakdata.conquery.models.identifiable.ids.specific.ManagedExecutionId)2 QueryExecutionContext (com.bakdata.conquery.models.query.QueryExecutionContext)2 QueryExecutor (com.bakdata.conquery.models.query.QueryExecutor)2 QueryPlanContext (com.bakdata.conquery.models.query.QueryPlanContext)2 ShardResult (com.bakdata.conquery.models.query.results.ShardResult)2 FullExecutionStatus (com.bakdata.conquery.apiv1.FullExecutionStatus)1 Query (com.bakdata.conquery.apiv1.query.Query)1 ExtraMimeTypes (com.bakdata.conquery.io.jersey.ExtraMimeTypes)1 MetaStorage (com.bakdata.conquery.io.storage.MetaStorage)1 Subject (com.bakdata.conquery.models.auth.entities.Subject)1 AuthenticationConfig (com.bakdata.conquery.models.config.auth.AuthenticationConfig)1 ExecutionState (com.bakdata.conquery.models.execution.ExecutionState)1 DatasetId (com.bakdata.conquery.models.identifiable.ids.specific.DatasetId)1 JobManagerStatus (com.bakdata.conquery.models.jobs.JobManagerStatus)1 CancelJobMessage (com.bakdata.conquery.models.messages.network.specific.CancelJobMessage)1 Entity (com.bakdata.conquery.models.query.entity.Entity)1