Package org.drools.workbench.models.testscenarios.shared

Examples of org.drools.workbench.models.testscenarios.shared.FixtureList


    }

    private void accumulateCallMethod( final Map<String, FixtureList> dataInput,
                                       final CallMethod fd ) {
        if ( !dataInput.containsKey( fd.getVariable() ) ) {
            dataInput.put( fd.getVariable(), new FixtureList() );
        }
        dataInput.get( fd.getVariable() ).add( fd );

    }
View Full Code Here


                        scenarioWidgetComponentCreator.createCallMethodOnGivenPanel(listExecutionTrace,
                                executionTraceLine,
                                (CallFixtureMap) fixture)
                );
            } else {
                FixtureList fixturesList = (FixtureList) fixture;
                Fixture first = fixturesList.get(0);

                if (first instanceof VerifyFact) {
                    createWidgetForEditorLayout(editorLayout,
                            layoutRow,
                            1,
View Full Code Here

                       final Scenario scenario,
                       final AsyncPackageDataModelOracle oracle,
                       final ScenarioParentWidget parent ) {

        for ( Map.Entry<String, FixtureList> e : given.entrySet() ) {
            FixtureList itemList = given.get( e.getKey() );
            if ( e.getKey().equals( ScenarioHelper.RETRACT_KEY ) ) {
                add( new RetractWidget( itemList,
                                        scenario,
                                        parent ) );
            } else if ( e.getKey().equals( ScenarioHelper.ACTIVATE_RULE_FLOW_GROUP ) ) {
                add( new ActivateRuleFlowWidget( itemList,
                                                 scenario,
                                                 parent ) );
            } else {
                if ( itemList.getFirstFactData().isModify() ) {
                    add( new ModifyFactWidget( e.getKey(),
                                               itemList,
                                               scenario,
                                               oracle,
                                               parent,
View Full Code Here

                                  final Scenario scenario,
                                  final ScenarioParentWidget parent,
                                  PackageDataModelOracle dmo) {

        for (Map.Entry<String, FixtureList> e : given.entrySet()) {
            FixtureList itemList = given.get(e.getKey());
            for (Fixture f : itemList) {
                CallMethod mCall = (CallMethod) f;
                add(new CallMethodWidget(e.getKey(), parent, scenario, mCall,
                        listExecutionTrace.get(executionTraceLine), dmo));
            };
View Full Code Here

                      final Scenario scenario,
                      PackageDataModelOracle dmo,
                      final ScenarioParentWidget parent) {

        for (Map.Entry<String, FixtureList> e : given.entrySet()) {
            FixtureList itemList = given.get(e.getKey());
            if (e.getKey().equals(ScenarioHelper.RETRACT_KEY)) {
                add(new RetractWidget(
                        itemList,
                        scenario,
                        parent));
            } else if (e.getKey().equals(ScenarioHelper.ACTIVATE_RULE_FLOW_GROUP)) {
                add(new ActivateRuleFlowWidget(
                        itemList,
                        scenario,
                        parent));
            } else {
                if (itemList.getFirstFactData().isModify()) {
                    add(new ModifyFactWidget(
                            e.getKey(),
                            itemList,
                            scenario,
                            dmo,
View Full Code Here

                                             1,
                                             scenarioWidgetComponentCreator.createCallMethodOnGivenPanel( listExecutionTrace,
                                                                                                          executionTraceLine,
                                                                                                          (CallFixtureMap) fixture ) );
            } else {
                FixtureList fixturesList = (FixtureList) fixture;
                Fixture first = fixturesList.get( 0 );

                if ( first instanceof VerifyFact ) {
                    createWidgetForEditorLayout( editorLayout,
                                                 layoutRow,
                                                 1,
View Full Code Here

TOP

Related Classes of org.drools.workbench.models.testscenarios.shared.FixtureList

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.