Search in sources :

Example 1 with HopVariablesList

use of org.apache.hop.core.HopVariablesList in project hop by apache.

the class HopVariablesListTest method testInit.

@Test
public void testInit() throws Exception {
    HopVariablesList variablesList = HopVariablesList.getInstance();
    variablesList.init();
    DescribedVariable describedVariable = variablesList.findEnvironmentVariable(Const.HOP_PASSWORD_ENCODER_PLUGIN);
    assertNotNull(describedVariable);
    boolean actual = Boolean.valueOf(describedVariable.getValue());
    assertEquals(false, actual);
    assertEquals("Specifies the password encoder plugin to use by ID (Hop is the default).", describedVariable.getDescription());
}
Also used : DescribedVariable(org.apache.hop.core.config.DescribedVariable) HopVariablesList(org.apache.hop.core.HopVariablesList) Test(org.junit.Test)

Aggregations

HopVariablesList (org.apache.hop.core.HopVariablesList)1 DescribedVariable (org.apache.hop.core.config.DescribedVariable)1 Test (org.junit.Test)1