Examples of SRApp


Examples of org.speakright.core.flows.SRApp

public class TestNumber extends BaseTest {

  @Test public void test1()
  {
        SRApp flow = createApp();
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
    ChkPage(PromptType.MAIN1, "How many bottles would you like?");
   
View Full Code Here

Examples of org.speakright.core.flows.SRApp

//    assertEquals("city", "yes", flow.M.city().get());
  }
 
  @Test public void test11()
  {
        SRApp flow = createApp();
    TrailWrapper wrap1 = new TrailWrapper(flow);
    TestNumber.m_sroNum.setMax(1000);
   
    SRInstance run = StartIt(wrap1);
    ChkPage(PromptType.MAIN1, "How many bottles would you like?");
View Full Code Here

Examples of org.speakright.core.flows.SRApp

  }
 
  @Test public void testMaxReexecute()
  {
    log("--------testMaxReexecute--------");
        SRApp flow = createApp();
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
    Proceed(run, "40");
    Proceed(run, "40");
View Full Code Here

Examples of org.speakright.core.flows.SRApp

  }

  @Test public void testConfirmYes()
  {
    log("--------testConfirmYes--------");
        SRApp flow = createApp(true, false);
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
    Proceed(run, "2", "num", 40); //quest
    Proceed(run, "yes");
View Full Code Here

Examples of org.speakright.core.flows.SRApp

  }
 
  @Test public void testConfirmNo()
  {
    log("--------testConfirmNo--------");
        SRApp flow = createApp(true, false);
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
    Proceed(run, "2", "num", 40); //quest
    Proceed(run, "no");
View Full Code Here

Examples of org.speakright.core.flows.SRApp

 
  @Test public void model()
  {
    log("--------model--------");
        SRApp flow = createApp(true, false);
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
    Proceed(run, "7", "num"); //quest
    Proceed(run, "");
View Full Code Here

Examples of org.speakright.core.flows.SRApp

  }
 
  @Test public void testConfirmNBestNoNBestResults()
  {
    log("--------testConfirmNBestNoNBestResults--------");
        SRApp flow = createApp(true, true);
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
    Proceed(run, "2", "num", 40); //quest
//    Proceed(run, "yes");
View Full Code Here

Examples of org.speakright.core.flows.SRApp

  }

  @Test public void testConfirmNBest()
  {
    log("--------testConfirmNBest--------");
        SRApp flow = createApp(true, true);
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
//    Proceed(run, "2", "num", 40); //quest
    Proceed(run, createNBestResults("5|||6"));
View Full Code Here

Examples of org.speakright.core.flows.SRApp

  }
 
  @Test public void testConfirmNBestNoYes()
  {
    log("--------testConfirmNBestNoYes--------");
        SRApp flow = createApp(true, true);
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
//    Proceed(run, "2", "num", 40); //quest
    Proceed(run, createNBestResults("5|||6"));
View Full Code Here

Examples of org.speakright.core.flows.SRApp

  }

  @Test public void testConfirmNBestNoNo()
  {
    log("--------testConfirmNBestNoNo--------");
        SRApp flow = createApp(true, true);
    TrailWrapper wrap1 = new TrailWrapper(flow);
   
    SRInstance run = StartIt(wrap1);
//    Proceed(run, "2", "num", 40); //quest
    Proceed(run, createNBestResults("5|||6"));
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.