"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "openmeetings-web/src/test/java/org/apache/openmeetings/web/TestCalendar.java" between
apache-openmeetings-6.1.0-src.tar.gz and apache-openmeetings-6.2.0-src.tar.gz

About: OpenMeetings is a browser-based software that allows you to set up instantly a conference in the Web. You can use your microphone or webcam, share documents on a white board, share your screen or record meetings. Source code.

TestCalendar.java  (apache-openmeetings-6.1.0-src):TestCalendar.java  (apache-openmeetings-6.2.0-src)
skipping to change at line 42 skipping to change at line 42
import org.apache.openmeetings.web.user.calendar.CalendarPanel; import org.apache.openmeetings.web.user.calendar.CalendarPanel;
import org.apache.wicket.behavior.AbstractAjaxBehavior; import org.apache.wicket.behavior.AbstractAjaxBehavior;
import org.apache.wicket.util.tester.FormTester; import org.apache.wicket.util.tester.FormTester;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import com.googlecode.wicket.jquery.ui.calendar.CalendarView; import com.googlecode.wicket.jquery.ui.calendar.CalendarView;
import de.agilecoders.wicket.core.markup.html.bootstrap.navbar.Navbar; import de.agilecoders.wicket.core.markup.html.bootstrap.navbar.Navbar;
class TestCalendar extends AbstractWicketTester { class TestCalendar extends AbstractWicketTester {
private static final String PATH_APPOINTMENT_DLG = String.format("%s:appo intment", PATH_CHILD); private static final String PATH_APPOINTMENT_DLG = String.format("%s:cale ndarAppointment", PATH_CHILD);
private static final String PATH_APPOINTMENT_DLG_FRM = String.format("%s: appForm", PATH_APPOINTMENT_DLG); private static final String PATH_APPOINTMENT_DLG_FRM = String.format("%s: appForm", PATH_APPOINTMENT_DLG);
@Test @Test
void testEventCreate() throws OmException { void testEventCreate() throws OmException {
testArea(regularUsername, p -> { testArea(regularUsername, p -> {
Navbar menu = (Navbar)p.get(PATH_MENU); Navbar menu = (Navbar)p.get(PATH_MENU);
assertNotNull(menu); assertNotNull(menu);
tester.executeBehavior((AbstractAjaxBehavior)menu.get("co llapse:navLeftListEnclosure:navLeftList:0:component:dropdown-menu:buttons:1:butt on").getBehaviorById(0)); tester.executeBehavior((AbstractAjaxBehavior)menu.get("co llapse:navLeftListEnclosure:navLeftList:0:component:dropdown-menu:buttons:1:butt on").getBehaviorById(0));
tester.assertComponent(PATH_CHILD, CalendarPanel.class); tester.assertComponent(PATH_CHILD, CalendarPanel.class);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)