Esempio n. 1
0
 @Test
 public void testCreateUIInputManyWithShortName() throws Exception {
   UIInputMany<String> input = factory.createInputMany("foo", 'f', String.class);
   Assert.assertNotNull(input);
   Assert.assertTrue(input.hasFacet(HintsFacet.class));
   Assert.assertEquals('f', input.getShortName());
 }
Esempio n. 2
0
 @Test
 public void testCreateUIInputMany() throws Exception {
   UIInputMany<String> input = factory.createInputMany("foo", String.class);
   Assert.assertNotNull(input);
   Assert.assertTrue(input.hasFacet(HintsFacet.class));
   Assert.assertEquals(InputComponents.DEFAULT_SHORT_NAME, input.getShortName());
 }