Search in sources :

Example 1 with SpoolerConfig

use of com.yahoo.vespa.config.content.spooler.SpoolerConfig in project vespa by vespa-engine.

the class SpoolerTestCase method testSpoolerConfigBuilder.

private void testSpoolerConfigBuilder(VespaModel model, String id, SpoolerConfig.Builder expected) throws Exception {
    SpoolerConfig.Builder b = new SpoolerConfig.Builder();
    model.getConfig(b, id);
    SpoolerConfig config = new SpoolerConfig(b);
    SpoolerConfig expectedConfig = new SpoolerConfig(expected);
    assertEquals(expectedConfig, config);
}
Also used : SpoolerConfig(com.yahoo.vespa.config.content.spooler.SpoolerConfig)

Aggregations

SpoolerConfig (com.yahoo.vespa.config.content.spooler.SpoolerConfig)1