APISonar


com.intuit.wasabi.tests.data.AssignmentDataProvider.time

> com > intuit > wasabi > tests > data > AssignmentDataProvider > time
com APIs intuit APIs wasabi APIs tests APIs data APIs AssignmentDataProvider APIs time APIs

Example 1
public void setupExperiments(String startTime, String endTime, String type, String experimentCount) {
        String data = " {\"applicationName\": \"qbo\", \"label\": \"exp_" + AssignmentDataProvider.time + "_"
                + experimentCount + "\"," + "\"samplingPercent\": 0.67, \"startTime\": \"" + startTime + "\"," +
                "\"endTime\": \"" + endTime + "\", \"description\": \"Some hypothesis\"}";

        response = apiServerConnector.doPost("/experiments", data);
        assertReturnCode(response, HttpStatus.SC_CREATED);
        Experiment experiment = ExperimentFactory.createFromJSONString(response.asString());
        ExperimentMeta meta = new ExperimentMeta();
        meta.setMeta(type);
        meta.setExperiment(experiment);
        experimentList.add(meta);
    }