Skip to content

Commit

Permalink
FORGE-1781: Added test case to reproduce issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gastaldi committed May 5, 2014
1 parent d4016cf commit add6e13
Showing 1 changed file with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public static ForgeArchive getDeployment()
}

@Inject
@WithAttributes(defaultValue="true", label = "")
@WithAttributes(defaultValue = "true", label = "")
UIInput<Boolean> enabled;

@Inject
Expand All @@ -80,6 +80,17 @@ public static ForgeArchive getDeployment()
@Inject
UISelectOne<Gender> gender;

@SuppressWarnings("rawtypes")
@Inject
UIInput noParameter;

@Test
public void testNoParameterInput()
{
Assert.assertNotNull(noParameter);
Assert.assertEquals(String.class, noParameter.getValueType());
}

@Test
public void testEnumValuesAvailability() throws Exception
{
Expand Down

0 comments on commit add6e13

Please sign in to comment.