Examples of extractVersion()


Examples of org.javalite.db_migrator.MigrationResolver.extractVersion()

public class MigrationResolverSpec {

    @Test
    public void shouldExtractVersionFromFileName() {
        MigrationResolver resolver = new MigrationResolver("blah");
        the(resolver.extractVersion("20080718214030_tinman.sql")).shouldBeEqual("20080718214030");
    }
}
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.