Package org.apache.fulcrum.intake
Class IntakeValidatonTest
- java.lang.Object
-
- org.apache.fulcrum.testcontainer.BaseUnit5Test
-
- org.apache.fulcrum.intake.IntakeValidatonTest
-
@DisplayName("Intake Validator Test") public class IntakeValidatonTest extends org.apache.fulcrum.testcontainer.BaseUnit5TestTest the validators- Version:
- $Id$
- Author:
- Thomas Vandahl
-
-
Constructor Summary
Constructors Constructor Description IntakeValidatonTest(org.junit.jupiter.api.TestInfo testInfo)Defines the testcase for JUnit5.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestBigDecimalValidation()voidtestBooleanValidation()voidtestDateRangeValidation()voidtestDateStringValidation()voidtestDoubleValidation()voidtestFloatValidation()voidtestIntegerRangeValidation()voidtestIntegerValidation()voidtestLongValidation()voidtestShortValidation()voidtestStringValidation()
-
-
-
Constructor Detail
-
IntakeValidatonTest
public IntakeValidatonTest(org.junit.jupiter.api.TestInfo testInfo)
Defines the testcase for JUnit5.- Parameters:
testInfo- defining the test
-
-
Method Detail
-
testStringValidation
@Test public void testStringValidation() throws Exception
- Throws:
Exception- generic exception
-
testBooleanValidation
@Test public void testBooleanValidation() throws Exception
- Throws:
Exception- generic exception
-
testBigDecimalValidation
@Test public void testBigDecimalValidation() throws Exception
- Throws:
Exception- generic exception
-
testIntegerValidation
@Test public void testIntegerValidation() throws Exception
- Throws:
Exception- generic exception
-
testIntegerRangeValidation
@Test public void testIntegerRangeValidation() throws Exception
- Throws:
Exception- generic exception
-
testFloatValidation
@Test public void testFloatValidation() throws Exception
- Throws:
Exception- generic exception
-
testDateStringValidation
@Test public void testDateStringValidation() throws Exception
- Throws:
Exception- generic exception
-
testDateRangeValidation
@Test public void testDateRangeValidation() throws Exception
- Throws:
Exception- generic exception
-
testDoubleValidation
@Test public void testDoubleValidation() throws Exception
- Throws:
Exception- generic exception
-
testShortValidation
@Test public void testShortValidation() throws Exception
- Throws:
Exception- generic exception
-
testLongValidation
@Test public void testLongValidation() throws Exception
- Throws:
Exception- generic exception
-
-