Package com.vaadin.browserless.quarkus.mocks
package com.vaadin.browserless.quarkus.mocks
-
ClassesClassDescriptionMakes sure that the
MockQuarkusServlet.routesare properly registered, and thatMockQuarkusServletServiceis used instead of vanillaQuarkusVaadinServletService.A mocking service that performs three very important tasks: OverridesMockQuarkusServletService.isAtmosphereAvailable()to tell Vaadin that we don't have Atmosphere (otherwise Vaadin will crash) Provides some dummy value as a root ID viaMockQuarkusServletService.getMainDivId(com.vaadin.flow.server.VaadinSession, com.vaadin.flow.server.VaadinRequest)(otherwise the mocked servlet env will crash). Provides aMockVaadinSessioninstead ofVaadinSession. The class is intentionally opened, to be extensible in user's library.