Examples of generate()


Examples of org.xrace.view.admin.evenements.course.inscriptions.reports.InscriptionsImprimableReport.generate()

  public void testGenerate1() throws Exception
  {
    InscriptionsImprimableReport report = new InscriptionsImprimableReport(
        courseXc1, getDossierInscriptionService());
    HSSFWorkbook wb = report.generate();
    Assert.assertEquals(4, wb.getSheetAt(0).getLastRowNum());
  }

  public void testGenerate2() throws Exception
  {
View Full Code Here

Examples of org.xrace.view.admin.evenements.course.inscriptions.reports.InscriptionsSommaireReport.generate()

  public void testGenerate1() throws Exception
  {
    InscriptionsSommaireReport report = new InscriptionsSommaireReport(
        courseXc1, getDossierInscriptionService());
    HSSFWorkbook wb = report.generate();
    Assert.assertEquals(6, wb.getSheetAt(0).getLastRowNum());
  }

  public void testGenerate2() throws Exception
  {
View Full Code Here

Examples of org.xrace.view.admin.evenements.evenement.inscriptions.InscriptionsEvenementAbregeReport.generate()

  public void testGenerate1() throws Exception
  {
    InscriptionsEvenementAbregeReport report = new InscriptionsEvenementAbregeReport(
        evenement1, getDossierInscriptionService());
    HSSFWorkbook wb = report.generate();
    Assert.assertEquals(6, wb.getSheetAt(0).getLastRowNum());
  }

  public void testGenerate2() throws Exception
  {
View Full Code Here

Examples of org.xrace.view.admin.evenements.evenement.inscriptions.InscriptionsEvenementCompleteReport.generate()

  public void testGenerate1() throws Exception
  {
    InscriptionsEvenementCompleteReport report = new InscriptionsEvenementCompleteReport(
        evenement1, getDossierInscriptionService());
    HSSFWorkbook wb = report.generate();
    Assert.assertEquals(6, wb.getSheetAt(0).getLastRowNum());
  }

  public void testGenerate2() throws Exception
  {
View Full Code Here

Examples of org.xrace.view.admin.transactions.TransactionsReport.generate()

    options.setDateDebut(dateDebut.getTime());
    options.setDateFin(dateFin.getTime());

    TransactionsReport report = new TransactionsReport(options,
        getSecteurService(), getTransactionService());
    HSSFWorkbook wb = report.generate();
    assertEquals(12, wb.getSheetAt(0).getLastRowNum());
  }
}
View Full Code Here

Examples of org.zeroturnaround.jrebel.gradle.RebelGenerateTask.generate()

    log.info("defaultResourcesDir: " + defaultResourcesDir.getAbsolutePath());
   
    // Get and execute the rebel task
    RebelGenerateTask task = (RebelGenerateTask) project.getTasks().getByName(RebelPlugin.GENERATE_REBEL_TASK_NAME);
    task.skipWritingRebelXml();
    task.generate();
   
    RebelMainModel model = task.getRebelModel();
   
    // Check the classpath directories
    List<RebelClasspathResource> classpathDirs = model.getClasspathDirs();
View Full Code Here

Examples of ptolemy.backtrack.test.ptolemy.backtrack.test.random1.RandomTest1.generate()

     * @param args
     */
    public static void main(String[] args) {
        RandomTest1 test = new RandomTest1();
        long handle = test.$GET$CHECKPOINT().createCheckpoint();
        int[] buffer1 = test.generate();
        test.$GET$CHECKPOINT().rollback(handle, true);

        int[] buffer2 = test.generate();

        for (int i = 0; i < buffer1.length; i++) {
View Full Code Here

Examples of railo.runtime.img.MarpleCaptcha.generate()

   
    // create destination
    if(StringUtil.isEmpty(name))path=touchDestination();
   
    MarpleCaptcha c=new MarpleCaptcha();
    source=new railo.runtime.img.Image(c.generate(text, Caster.toIntValue(width),Caster.toIntValue(height), fonts, true,
        Color.BLACK,fontsize,
        difficulty));
   
    // link destination
    if ( doRenderHtmlTag )
View Full Code Here

Examples of rinde.sim.pdptw.generator.tw.ProportionateUniformTWGenerator.generate()

        depotLocation, endTime, serviceTime, 30, vehicleSpeed);
    final RandomGenerator rng = new MersenneTwister(123);
    for (int i = 0; i < 10000; i++) {
      final Point p1 = new Point(6, 6);
      final Point p2 = new Point(4, 4);
      final List<TimeWindow> tws = twg.generate(DoubleMath.roundToLong(rng
          .nextDouble() * 120, RoundingMode.HALF_DOWN), p1, p2, rng);
      assertTrue(tws.toString(), tws.get(0).end <= tws.get(1).end
          + travelTime(p1, p2, vehicleSpeed) + serviceTime);
      assertTrue(tws.toString() + " tt: " + travelTime(p1, p2, vehicleSpeed), tws.get(0).begin
          + travelTime(p1, p2, vehicleSpeed) + serviceTime <= tws.get(1).begin);
View Full Code Here

Examples of sample.SimpleDomainObjGenerator.generate()

            for(long i = rangeStart;  i < rangeFinish; i += 100) {
                if (i % 100000 == 0) {
                    println("Done " + (i - rangeStart));
                }
                long j = Math.min(rangeFinish, i + 100);
                cache.putAll(generator.generate(i, j));
            }          
           
        }
  }
 
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.