01: package liquibase.ant;
02:
03: import org.apache.tools.ant.Project;
04: import static org.junit.Assert.*;
05: import org.junit.Test;
06:
07: /**
08: * Tests for {@link DatabaseUpdateTask}
09: */
10: public class DatabaseUpdateTaskTest {
11:
12: @Test
13: public void createClasspath() throws Exception {
14: DatabaseUpdateTask databaseUpdateTask = new DatabaseUpdateTask();
15: Project project = new Project();
16: databaseUpdateTask.setProject(project);
17:
18: assertEquals(project, databaseUpdateTask.createClasspath()
19: .getProject());
20: }
21: }
|