Examples of validateCronExpression()


Examples of org.apache.archiva.rest.api.services.CommonServices.validateCronExpression()

    @Test
    public void validCronExpression()
        throws Exception
    {
        CommonServices commonServices = getCommonServices( null );
        assertTrue( commonServices.validateCronExpression( "0 0,30 * * * ?" ) );
    }

    @Test
    public void nonValidCronExpression()
        throws Exception
View Full Code Here

Examples of org.apache.archiva.rest.api.services.CommonServices.validateCronExpression()

    @Test
    public void nonValidCronExpression()
        throws Exception
    {
        CommonServices commonServices = getCommonServices( null );
        assertFalse( commonServices.validateCronExpression( "0,30 * * * ?" ) );
    }
}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.