Examples of include()


Examples of org.jbehave.core.embedder.MetaFilter.DefaultMetaMatcher.include()

        MetaFilter filter = filter(filterAsString);
        assertThat(filter.asString(), equalTo(filterAsString));
        MetaMatcher metaMatcher = filter.metaMatcher();
        assertThat(metaMatcher, Matchers.instanceOf(DefaultMetaMatcher.class));
        DefaultMetaMatcher defaultMetaMatcher = (DefaultMetaMatcher)metaMatcher;
        assertThat(defaultMetaMatcher.include().toString(), equalTo("{author=Mauro, map=*API}"));
        assertThat(defaultMetaMatcher.exclude().toString(), equalTo("{skip=, theme=smoke testing}"));
    }

    @Test
    public void shouldFilterByNameAndValue() {
View Full Code Here

Examples of org.jboss.errai.reflections.util.FilterBuilder.include()

          }
        }

        final FilterBuilder filter = new FilterBuilder();
        for (String prefix : prefixes) {
          filter.include(FilterBuilder.prefix(prefix));
        }
        filterInputsBy(filter);

        if (scanners != null && scanners.length != 0) {
          for (Scanner scanner : scanners) {
View Full Code Here

Examples of org.jquantlib.math.optimization.ProjectedCostFunction.include()

        final NoConstraint constraint = new NoConstraint();
        final Problem problem = new Problem(constrainedSABRError, constraint, projectedGuess);
        itsCoeffs.SABREndCriteria_ = optMethod_.minimize(problem, endCriteria_);
        final Array projectedResult = new Array(problem.currentValue());
        final Array transfResult = new Array(constrainedSABRError.include(projectedResult));

        final Array result = transformation_.direct(transfResult);
        itsCoeffs.alpha_ = result.get(0);
        itsCoeffs.beta_ = result.get(1);
        itsCoeffs.nu_ = result.get(2);
View Full Code Here

Examples of org.jruby.RubyClass.include()

                            throw context.getRuntime().newTypeError("append_features called with non-class");
                        }
                        RubyClass target = (RubyClass)arg;
                        RubyArray javaInterfaceMods = (RubyArray)self.getInstanceVariables().fastGetInstanceVariable("@java_interface_mods");

                        target.include(javaInterfaceMods.toJavaArray());

                        return RuntimeHelpers.invokeAs(context, clazz.getSuperClass(), self, name, arg, block);
                    }
                });
            } else {
View Full Code Here

Examples of org.opengis.geometry.BoundingBox.include()

                    merged = rbounds;
                } else if (rbounds.isEmpty()) {
                    merged = lbounds;
                } else {
                    merged = new ReferencedEnvelope(lbounds);
                    merged.include(rbounds);
                }
                this.result = new DiffSummary<BoundingBox, BoundingBox>(lbounds, rbounds, merged);
            }
        }
View Full Code Here

Examples of org.reflections.util.FilterBuilder.include()

   
    ConfigurationBuilder cfgBldr = new ConfigurationBuilder();
    FilterBuilder filterBuilder = new FilterBuilder();
    for (String basePkg : basePackages) {
      cfgBldr.addUrls(ClasspathHelper.forPackage(basePkg));
      filterBuilder.include(FilterBuilder.prefix(basePkg));
    }

    cfgBldr.filterInputsBy(filterBuilder).setScanners(
        new SubTypesScanner(), new TypeAnnotationsScanner());
    this.reflections = new Reflections(cfgBldr);
View Full Code Here

Examples of org.springframework.boot.config.SimpleConfigMetadataRepository.include()

    }

    SimpleConfigMetadataRepository repository = new SimpleConfigMetadataRepository();
    for (Resource resource : resources) {
      ConfigMetadataRepository repo = load(resource);
      repository.include(repo);
    }
    return repository;
  }

  private ConfigMetadataRepository load(Resource resource) throws IOException {
View Full Code Here

Examples of org.uguess.birt.report.engine.spreadsheet.model.MergeBlock.include()

        if (element.isMerged()) {
            Iterator<MergeBlock> it = modelSheet.mergesIterator();
            while (it.hasNext()) {
                MergeBlock merge = it.next();
                if (merge.include(y, x)) {
                    if (x == merge.getStartColumn() && y == merge.getStartRow()) {
                        x2 = (short) (x + merge.getColumnSpan());
                        y2 = (short) (y + merge.getRowSpan());
                        xlsSheet.addMergedRegion(new Region(y, x, y2, x2));
View Full Code Here

Examples of org.zkoss.zk.ui.Execution.include()

    final Execution exec = getExecution();
    final String src = exec.toAbsoluteURI(_src, false);
    final Map old = setupDynams(exec);
    ComponentRedraws.beforeRedraw(true); //starting a new page
    try {
      exec.include(out, src, null, 0);
    } catch (Throwable err) {
      setChildPage(null);
    //though DHtmlLayoutServlet handles exception, we still have to
    //handle it because src might not be ZUML
      final String errpg =
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.