src/test/java/edu/ucla/library/bucketeer/converters/KakaduConverterTest.java
@Test
    public final void testGetExecutable() {
        // We can test this without having Kakadu actually installed
        final KakaduConverter converter = new KakaduConverter();

        System.clearProperty(KakaduConverter.KAKADU_HOME);
        assertEquals(EXEC, converter.getExecutable());

        System.setProperty(KakaduConverter.KAKADU_HOME, EXEC_LOCATION);
        assertEquals(EXEC_LOCATION + EXEC, converter.getExecutable());
    }
/**
     * Tests being able to get the executable.
     */
Tests being able to get the executable.
Tests being able to get the executable .
@Test
    public final void testGetExecutable() {
        final KakaduConverter converter = new KakaduConverter();
        System.clearProperty(KakaduConverter.KAKADU_HOME);
        assertEquals(EXEC, converter.getExecutable());
        System.setProperty(KakaduConverter.KAKADU_HOME, EXEC_LOCATION);
        assertEquals(EXEC_LOCATION + EXEC, converter.getExecutable());
    }
@ Test public final void testGetExecutable ( ) { final KakaduConverter converter = new KakaduConverter ( ) ; System . clearProperty ( KakaduConverter . KAKADU_HOME ) ; assertEquals ( EXEC , converter . getExecutable ( ) ) ; System . setProperty ( KakaduConverter . KAKADU_HOME , EXEC_LOCATION ) ; assertEquals ( EXEC_LOCATION + EXEC , converter . getExecutable ( ) ) ; }
Tests being able to get the executable.
Tests being able to get the executable .
// We can test this without having Kakadu actually installed