Package org.waveprotocol.box.server.robots.testing

Examples of org.waveprotocol.box.server.robots.testing.OperationServiceHelper


  private String rootBlipId;

  @Override
  protected void setUp() throws Exception {
    service = DocumentModifyService.create();
    helper = new OperationServiceHelper(WAVELET_NAME, ALEX);

    ObservableConversationBlip rootBlip = getRootBlip();
    rootBlipId = rootBlip.getId();
    LineContainers.appendToLastLine(
        rootBlip.getContent(), XmlStringBuilder.createText(INITIAL_CONTENT));
View Full Code Here


  private OperationServiceHelper helper;

  @Override
  protected void setUp() throws Exception {
    service = FetchWaveService.create();
    helper = new OperationServiceHelper(WAVELET_NAME, ALEX);
  }
View Full Code Here

  private BlipData blipData;

  @Override
  protected void setUp() {
    service = BlipOperationServices.create();
    helper = new OperationServiceHelper(WAVELET_NAME, ALEX);
    // BlipData constructor is broken, it doesn't set the blipId passed in the
    // constructor
    blipData = new BlipData(s(WAVE_ID), s(WAVELET_ID), TEMP_BLIP_ID, NEW_BLIP_CONTENT);
    blipData.setBlipId(TEMP_BLIP_ID);
  }
View Full Code Here

  private OperationServiceHelper helper;

  @Override
  protected void setUp() throws Exception {
    service = WaveletSetTitleService.create();
    helper = new OperationServiceHelper(WAVELET_NAME, ALEX);

    ObservableConversationBlip rootBlip = getRootBlip();
    LineContainers.appendToLastLine(
        rootBlip.getContent(), XmlStringBuilder.createText(INITIAL_CONTENT));
  }
View Full Code Here

  private BlipData blipData;

  @Override
  protected void setUp() {
    service = ParticipantServices.create();
    helper = new OperationServiceHelper(WAVELET_NAME, ROBOT);
    // BlipData constructor is broken, it doesn't set the blipId passed in the
    // constructor
    blipData = new BlipData(s(WAVE_ID), s(WAVELET_ID), TEMP_BLIP_ID, NEW_BLIP_CONTENT);
    blipData.setBlipId(TEMP_BLIP_ID);
  }
View Full Code Here

TOP

Related Classes of org.waveprotocol.box.server.robots.testing.OperationServiceHelper

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.