You need to sign in or sign up before continuing.
The source project of this merge request has been removed.
Finished the unit test of the filename plugin
- Finish the unit test of the filename. To test the FilenameInputPlugin We need to using the other plugin like none-bin and a joinfile(This plugin join the file together, which is a mock object for the WendelinOutputPlugin ). The TestHelper could register all those plugins for tests.
- Adding the configuration for order_by_modified_time, by default it is zero, we order the file alphabetically. If it equals "1", we order the files by modified ascending order, else we order the files by descending order.
- Adding the configuration for the multi-directories. configure the multi_dir: ["path/to/first_dir","path/to/second_dir",..], and configure the multi_tag: ["tag1","tag2",...] .the filename plugin could load the files in each directory and sort them separately.