Package org.springframework.binding.value.swing

Examples of org.springframework.binding.value.swing.TestableFormComponentInterceptor


        }
    }

    public void testSetIncludedFormModelIds() throws Exception {
        TestableConfigurableFormComponentInterceptorFactory factory = new TestableConfigurableFormComponentInterceptorFactory();
        factory.setCreateThis( new TestableFormComponentInterceptor() );

        factory.setIncludedFormModelIds( new String[] { "included-0", "included-1" } );
        factory.afterPropertiesSet();

        assertTrue( Arrays.equals( new String[] { "included-0", "included-1" }, factory.getIncludedFormModelIds() ) );
View Full Code Here


        assertNull( "FormModel is not included", factory.getInterceptor( excluded ) );
    }

    public void testSetExcludedFormModelIds() throws Exception {
        TestableConfigurableFormComponentInterceptorFactory factory = new TestableConfigurableFormComponentInterceptorFactory();
        factory.setCreateThis( new TestableFormComponentInterceptor() );

        factory.setExcludedFormModelIds( new String[] { "excluded-0", "excluded-1" } );
        factory.afterPropertiesSet();

        assertTrue( Arrays.equals( new String[] { "excluded-0", "excluded-1" }, factory.getExcludedFormModelIds() ) );
View Full Code Here

TOP

Related Classes of org.springframework.binding.value.swing.TestableFormComponentInterceptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.