Class ReportProxyDAOTest
java.lang.Object
ReportProxyDAOTest
Test class for ReportProxyDAO. It tests the doSave method.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReportProxyDAOTest
public ReportProxyDAOTest()
-
-
Method Details
-
setUp
Sets up the test environment.- Throws:
IOException- If an error occurs.
-
clear
Clears the test environment.- Throws:
SQLException- If an error occurs.
-
testInvalidReasonLength
@Test @Order(1) public void testInvalidReasonLength()Tests the TC_2.1_1 Test case. It tests the invalid description length. -
testValidReasonLength
Tests the TC_2.1_2 Test case.- Throws:
SQLException
-
testInvalidReasonLengthHashMap
@Test @Order(3) public void testInvalidReasonLengthHashMap()Tests the TC_2.1_1 Test case. It tests the invalid description length with doSave hashmap variant. -
testValidReasonLengthHashMap
Tests the TC_2.1_2 Test case with doSave hashmap variant.- Throws:
SQLException
-