Skip to content

Commit

Permalink
Extract mat bundle directory (#477)
Browse files Browse the repository at this point in the history
* Moved the processing of a file to its own method, incorporated a for loop into the execute method should -dir be passed in.

* Finished with directory processing, adding test.

* Fixed issue with test, now verify Bundle using instanceof

* Removed member variable references for readability.

* Validating input earlier, adjusted BundlUtils to handle logic about versioning the method call.

* 80% code coverage on ExtractMatBundleOperation class

* Added more robust tests for the supplied output directory by the user

* Removed unused test

* Added transactional bundle files for tests to POST

* Added commented out line for localhost POST testing.

* Updated ExtractMatBundle tests to cover wider range of file types and content.

* Eliminating unused resource

* Added resource ID verification so resources aren't processed repeatedly. Once extracted from a transaction bundle, the resource ID is logged, and if found in another bundle, removed from that bundle prior to processing it.

* Fixed failing tests elsewhere in the app on null outputpath

* Removing RefreshIG work accidentally included in this branch

* Restoring Main documentation for -dir

* Correcting failing test

---------

Co-authored-by: Evan Chicoine <evan.chicoine@esacinc.com>
  • Loading branch information
echicoine-icf and Evan Chicoine authored Oct 23, 2023
1 parent 929c130 commit 93fb953
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ public void run() {
}
File[] files = emptyDir.listFiles();
assertNotNull(files);
assertEquals(40, files.length);
assertTrue(files.length >= 40);
}

@Test
Expand Down

0 comments on commit 93fb953

Please sign in to comment.