-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from RenukaHiwale9284/master
added extras
- Loading branch information
Showing
7 changed files
with
71 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
2.Java Beans To Excel: | ||
-Converts Java Beans to Excel files (xlxs) via Apache POI including cellformats. | ||
-BeanColumn:This class represents a column in the Excel sheet. It defines properties. | ||
-FormatType:represents different data formats that a column in the Excel sheet. | ||
-bean2xlsx(List<?> data, BeanColumn[] columns, String filename, String sheetname): | ||
Converts the list of beans to an Excel file. | ||
It calls addSheet() to add data to the workbook, then writes the workbook to the specified file. | ||
-We Run Junit test cases for this project are: | ||
which is responsible for exporting data to an Excel file. | ||
exportDataToXlxs() Test Case:verify whether the Bean2xlsx class correctly exports data to | ||
an Excel file when provided with a small amount of test data. | ||
createBigXLSx() Test Case: This test case verifies the behavior of the Bean2xlsx class | ||
when dealing with a large amount of data. | ||
|
||
I write my own test cases are: | ||
exportEmptyDataToXlsx() and it checks the behavior of the Bean2xlsx class | ||
when provided with an empty data list. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
its a JavaBeans to Excel Project Details | ||
I add Junit test Dependency and Run Junit Test cases | ||
and I also Write My own Test case | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters