Package org.ff4j.strategy

Examples of org.ff4j.strategy.ReleaseDateFlipStrategy


    }

    @Test
    public void testPastDayOK() throws ParseException {
        Feature f = ff4j.getFeature("past1");
        ReleaseDateFlipStrategy rds = (ReleaseDateFlipStrategy) f.getFlippingStrategy();
        Assert.assertTrue(rds.evaluate("past1", null, null));
    }
View Full Code Here


    }

    @Test
    public void testFutureOK() throws ParseException {
        Feature f = ff4j.getFeature("future1");
        ReleaseDateFlipStrategy rds = (ReleaseDateFlipStrategy) f.getFlippingStrategy();
        Assert.assertFalse(rds.evaluate("future1", null, null));
    }
View Full Code Here

TOP

Related Classes of org.ff4j.strategy.ReleaseDateFlipStrategy

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.