Package org.apache.fulcrum.intake
Class IntakeTest
- java.lang.Object
-
- org.apache.fulcrum.testcontainer.BaseUnit5Test
-
- org.apache.fulcrum.intake.IntakeTest
-
public class IntakeTest extends org.apache.fulcrum.testcontainer.BaseUnit5Test
Test the facade class for the service- Version:
- $Id$
- Author:
- Eric Pugh, Jürgen Hoffmann
-
-
Constructor Summary
Constructors Constructor Description IntakeTest(org.junit.jupiter.api.TestInfo testInfo)Defines the testcase for JUnit5.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidOFFtestFacadeNotConfigured()This looks strange to me.voidtestBooleanField()voidtestEmptyBooleanField()voidtestFacadeConfigured()voidtestInterfaceMapTo()voidtestInvalidNumberMessage()voidtestMultiValueField()voidtestParserInit()voidtestRequiredBooleanField()
-
-
-
Constructor Detail
-
IntakeTest
public IntakeTest(org.junit.jupiter.api.TestInfo testInfo)
Defines the testcase for JUnit5.- Parameters:
testInfo- defining the test
-
-
Method Detail
-
OFFtestFacadeNotConfigured
@Disabled public void OFFtestFacadeNotConfigured() throws Exception
This looks strange to me. A test should not bother with explicit initialization. That's the task of the container.- Throws:
Exception- generic exception
-
testFacadeConfigured
@Test public void testFacadeConfigured() throws Exception
- Throws:
Exception- generic exception
-
testInterfaceMapTo
@Test public void testInterfaceMapTo() throws Exception
- Throws:
Exception- generic exception
-
testParserInit
@Test public void testParserInit() throws Exception
- Throws:
Exception- generic exception
-
testEmptyBooleanField
@Test public void testEmptyBooleanField() throws Exception
- Throws:
Exception- generic exception
-
testBooleanField
@Test public void testBooleanField() throws Exception
- Throws:
Exception- generic exception
-
testRequiredBooleanField
@Test public void testRequiredBooleanField() throws Exception
- Throws:
Exception- generic exception
-
testMultiValueField
@Test public void testMultiValueField() throws Exception
- Throws:
Exception- generic exception
-
testInvalidNumberMessage
@Test public void testInvalidNumberMessage() throws Exception
- Throws:
Exception- generic exception
-
-