Class IndexPageIntegrationTest
java.lang.Object
nl.b3p.brmo.service.testutil.TestUtil
nl.b3p.web.WebTestUtil
nl.b3p.web.IndexPageIntegrationTest
@TestMethodOrder(MethodOrderer.MethodName.class)
public class IndexPageIntegrationTest
extends WebTestUtil
Integration test for the index page.
- Author:
- mprins
-
Field Summary
Fields inherited from class WebTestUtil
BASE_TEST_URL, client -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetUp()subklassen dienen zelf een setup te hebben; vanwege de overerving gaat deze methode af na de@Beforemethoden van de superklasse.voidTest of de database bestaat en de default admin gebruiker is aangemaakt.voidTest of de brmo-service applicatie is gestart en de index pagina opgehaald kan worden.voidTest login/index/about/logout sequentie.Methods inherited from class WebTestUtil
setUpClass, tearDownClassMethods inherited from class TestUtil
checkDatabaseIsProvided, closeConnections, endTest, loadDBprop, setupJNDI, startTest
-
Constructor Details
-
IndexPageIntegrationTest
public IndexPageIntegrationTest()
-
-
Method Details
-
testDefaultUserPresent
Test of de database bestaat en de default admin gebruiker is aangemaakt. Test of de CI setup correct is uitgevoerd.- Throws:
SQLException- als er iets misgaat met SQL parsen
-
testIndex
Test of de brmo-service applicatie is gestart en de index pagina opgehaald kan worden.- Throws:
IOException- als die optreedt tijdens ophalen pagina
-
testLoginLogout
Test login/index/about/logout sequentie.- Throws:
IOException- mag niet optredenURISyntaxException- mag niet optredenException
-
setUp
-