Skip to content
Snippets Groups Projects
Commit abcd8465 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- updated mock

parent d0c8abb9
Branches
Tags
No related merge requests found
Pipeline #3385 passed
...@@ -21,9 +21,10 @@ public class TestSLUBStoragePlugin { ...@@ -21,9 +21,10 @@ public class TestSLUBStoragePlugin {
SLUBStoragePlugin mock = new SLUBStoragePlugin(); SLUBStoragePlugin mock = new SLUBStoragePlugin();
HashMap<String, String> map = new HashMap<String,String> (); HashMap<String, String> map = new HashMap<String,String> ();
map.put("DIR_ROOT", "./"); map.put("DIR_ROOT", "./");
map.put("DIR_PREFIX", "./"); map.put("BLOCK_SIZE", "8192");
map.put("FILES_HANDLING_METHOD", "move"); map.put("FILES_HANDLING_METHOD", "move");
mock.setParameters( map ); mock.setParameters( map );
mock.init(map);
// TODO: // TODO:
File calced_path = mock.getStreamDirectory("foo", "bar"); File calced_path = mock.getStreamDirectory("foo", "bar");
//System.out.println("getStreamDirectory:"+ calced_path.getName()+ "\n"); //System.out.println("getStreamDirectory:"+ calced_path.getName()+ "\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment