@Test public void testGetName() { Assert.assertEquals( "test", new Context( this.app, new File( "test" )).getName()); Assert.assertNull( new Context( this.app, null ).getName()); }
protected String getName() { return this.commandFile != null ? this.commandFile.getName() : null; }
Context { protected String getName() { return this.commandFile != null ? this.commandFile.getName() : null; } }
Context { protected String getName() { return this.commandFile != null ? this.commandFile.getName() : null; } Context( AbstractApplication app, File commandFile ); }
Context { protected String getName() { return this.commandFile != null ? this.commandFile.getName() : null; } Context( AbstractApplication app, File commandFile ); boolean instanceExists( String instancePath ); Instance resolveInstance( String instancePath ); }
Context { protected String getName() { return this.commandFile != null ? this.commandFile.getName() : null; } Context( AbstractApplication app, File commandFile ); boolean instanceExists( String instancePath ); Instance resolveInstance( String instancePath ); final Map<String,String> instancePathToComponentName; final Map<String,String> variables; final Set<String> disabledVariables; }