diff --git a/app/src/main/resources/fxml/newitem_layouts/conference_type_layout.fxml b/app/src/main/resources/fxml/newitem_layouts/conference_type_layout.fxml index 340a79c..a2b0246 100644 --- a/app/src/main/resources/fxml/newitem_layouts/conference_type_layout.fxml +++ b/app/src/main/resources/fxml/newitem_layouts/conference_type_layout.fxml @@ -8,6 +8,7 @@ xmlns:fx="http://javafx.com/fxml" type="VBox" > + @@ -26,16 +27,16 @@ - - \ No newline at end of file + diff --git a/app/src/test/java/org/cutem/MainTest.java b/app/src/test/java/org/cutem/MainTest.java index 36e1e44..83f5e61 100644 --- a/app/src/test/java/org/cutem/MainTest.java +++ b/app/src/test/java/org/cutem/MainTest.java @@ -9,6 +9,8 @@ import javafx.scene.Scene; import javafx.stage.Stage; import org.cutem.cutecalendar.model.TodoItem; import org.cutem.cutecalendar.presenter.*; +import org.cutem.cutecalendar.presenter.newitems.ConferenceTypeNewItemBuilder; +import org.cutem.cutecalendar.presenter.newitems.InterviewTypeNewItemBuilder; import org.cutem.cutecalendar.presenter.newitems.OtherTypeNewItemBuilder; import org.cutem.cutecalendar.presenter.newitems.TimelessTypeBuilder; import org.jetbrains.annotations.NotNull; @@ -61,6 +63,8 @@ public class MainTest extends Application { // add IoC newItemStrategy.addFactory(new TimelessTypeBuilder.Factory()); newItemStrategy.addFactory(new OtherTypeNewItemBuilder.Factory()); + newItemStrategy.addFactory(new ConferenceTypeNewItemBuilder.Factory()); + newItemStrategy.addFactory(new InterviewTypeNewItemBuilder.Factory()); mPresenter.goWork(); }