Package org.springframework.ide.eclipse.quickfix.proposals

Examples of org.springframework.ide.eclipse.quickfix.proposals.AddConfigSetQuickFixProposal.apply()


    IBeansConfigSet configSet = beanProject.getConfigSet("AddConfigSetTest");
    assertNull("Expects no config set", configSet);

    AddConfigSetQuickFixProposal proposal = new AddConfigSetQuickFixProposal(offset, length, false, importBean,
        file, "AddConfigSetTest");
    proposal.apply(document);

    configSet = beanProject.getConfigSet("AddConfigSetTest");
    assertNotNull("Expects config set to be created", configSet);
    assertTrue("Expects config-set-proposal-test.xml to be added to config set",
        configSet.getConfigs().contains(beanProject.getConfig(file)));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.