Package net.greghaines.jesque

Examples of net.greghaines.jesque.Config


        new KeysDAORedisImpl(null, null);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testConstructor_NullPool() {
        final Config config = new ConfigBuilder().build();
        new KeysDAORedisImpl(config, null);
    }
View Full Code Here


        new WorkerInfoDAORedisImpl(null, null);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testConstructor_NullPool() {
        final Config config = new ConfigBuilder().build();
        new WorkerInfoDAORedisImpl(config, null);
    }
View Full Code Here

        new QueueInfoDAORedisImpl(null, null);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testConstructor_NullPool() {
        final Config config = new ConfigBuilder().build();
        new QueueInfoDAORedisImpl(config, null);
    }
View Full Code Here

        PoolUtils.createJedisPool(null);
    }
   
    @Test
    public void testCreateJedisPool() {
        final Config config = new ConfigBuilder().build();
        Assert.assertNotNull(PoolUtils.createJedisPool(config));
    }
View Full Code Here

        Assert.assertNotNull(PoolUtils.createJedisPool(config));
    }
   
    @Test(expected = IllegalArgumentException.class)
    public void testCreateJedisPool_NullPoolConfig() {
        final Config config = new ConfigBuilder().build();
        PoolUtils.createJedisPool(config, null);
    }
View Full Code Here

        new FailureDAORedisImpl(null, null);
    }

    @Test(expected = IllegalArgumentException.class)
    public void testConstructor_NullPool() {
        final Config config = new ConfigBuilder().build();
        new FailureDAORedisImpl(config, null);
    }
View Full Code Here

TOP

Related Classes of net.greghaines.jesque.Config

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.