Search in sources :

Example 1 with ParametersFactory

use of io.crnk.legacy.internal.ParametersFactory in project crnk-framework by crnk-project.

the class RepositoryAdapterTest method setUp.

@Before
public void setUp() throws Exception {
    queryParams = new QueryParams();
    queryAdapter = new QueryParamsAdapter(queryParams);
    parameterFactory = new ParametersFactory(new NewInstanceRepositoryMethodParameterProvider());
}
Also used : NewInstanceRepositoryMethodParameterProvider(io.crnk.core.engine.repository.mock.NewInstanceRepositoryMethodParameterProvider) ParametersFactory(io.crnk.legacy.internal.ParametersFactory) QueryParams(io.crnk.legacy.queryParams.QueryParams) QueryParamsAdapter(io.crnk.legacy.internal.QueryParamsAdapter) Before(org.junit.Before)

Example 2 with ParametersFactory

use of io.crnk.legacy.internal.ParametersFactory in project crnk-framework by crnk-project.

the class AnnotatedResourceRepositoryAdapterTest method setUp.

@Before
public void setUp() throws Exception {
    queryParams = new QueryParams();
    queryAdapter = new QueryParamsAdapter(queryParams);
    parameterProvider = new ParametersFactory(new NewInstanceRepositoryMethodParameterProvider());
}
Also used : NewInstanceRepositoryMethodParameterProvider(io.crnk.core.engine.repository.mock.NewInstanceRepositoryMethodParameterProvider) ParametersFactory(io.crnk.legacy.internal.ParametersFactory) QueryParams(io.crnk.legacy.queryParams.QueryParams) QueryParamsAdapter(io.crnk.legacy.internal.QueryParamsAdapter) Before(org.junit.Before)

Example 3 with ParametersFactory

use of io.crnk.legacy.internal.ParametersFactory in project crnk-framework by crnk-project.

the class AnnotatedRelationshipRepositoryAdapterTest method setUp.

@Before
public void setUp() throws Exception {
    queryParams = new QueryParams();
    queryAdapter = new QueryParamsAdapter(queryParams);
    parameterProvider = new ParametersFactory(new NewInstanceRepositoryMethodParameterProvider());
}
Also used : NewInstanceRepositoryMethodParameterProvider(io.crnk.core.engine.repository.mock.NewInstanceRepositoryMethodParameterProvider) ParametersFactory(io.crnk.legacy.internal.ParametersFactory) QueryParams(io.crnk.legacy.queryParams.QueryParams) QueryParamsAdapter(io.crnk.legacy.internal.QueryParamsAdapter) Before(org.junit.Before)

Aggregations

NewInstanceRepositoryMethodParameterProvider (io.crnk.core.engine.repository.mock.NewInstanceRepositoryMethodParameterProvider)3 ParametersFactory (io.crnk.legacy.internal.ParametersFactory)3 QueryParamsAdapter (io.crnk.legacy.internal.QueryParamsAdapter)3 QueryParams (io.crnk.legacy.queryParams.QueryParams)3 Before (org.junit.Before)3