@Test public void testEntryName() { dialog = mock( JobEntryTransDialog.class ); doCallRealMethod().when( dialog ).getEntryName( any() ); assertEquals( dialog.getEntryName( FILE_NAME ), "${Internal.Entry.Current.Directory}/" + FILE_NAME ); }
String getEntryName( String name ) { return "${" + Const.INTERNAL_VARIABLE_ENTRY_CURRENT_DIRECTORY + "}/" + name; }
JobEntryTransDialog extends JobEntryBaseDialog implements JobEntryDialogInterface { String getEntryName( String name ) { return "${" + Const.INTERNAL_VARIABLE_ENTRY_CURRENT_DIRECTORY + "}/" + name; } }
JobEntryTransDialog extends JobEntryBaseDialog implements JobEntryDialogInterface { String getEntryName( String name ) { return "${" + Const.INTERNAL_VARIABLE_ENTRY_CURRENT_DIRECTORY + "}/" + name; } JobEntryTransDialog( Shell parent, JobEntryInterface jobEntryInt, Repository rep, JobMeta jobMeta ); }
JobEntryTransDialog extends JobEntryBaseDialog implements JobEntryDialogInterface { String getEntryName( String name ) { return "${" + Const.INTERNAL_VARIABLE_ENTRY_CURRENT_DIRECTORY + "}/" + name; } JobEntryTransDialog( Shell parent, JobEntryInterface jobEntryInt, Repository rep, JobMeta jobMeta ); JobEntryInterface open(); void dispose(); void getData(); }
JobEntryTransDialog extends JobEntryBaseDialog implements JobEntryDialogInterface { String getEntryName( String name ) { return "${" + Const.INTERNAL_VARIABLE_ENTRY_CURRENT_DIRECTORY + "}/" + name; } JobEntryTransDialog( Shell parent, JobEntryInterface jobEntryInt, Repository rep, JobMeta jobMeta ); JobEntryInterface open(); void dispose(); void getData();  }