Examples of LaunchName


Examples of rabbit.ui.internal.util.LaunchName

    assertThat(provider.getImage(type), notNullValue());
  }

  @Test
  public void getImageShouldReturnAnImageForALaunchNameWithAValidLaunchConfigurationTypeId() {
    LaunchName launch = new LaunchName("abc",
        manager.getLaunchConfigurationTypes()[0].getIdentifier());
    assertThat(provider.getImage(launch), notNullValue());
  }
View Full Code Here

Examples of rabbit.ui.internal.util.LaunchName

  @Test
  public void getTextShouldReturnTheNameOfALaunchNameObject() {
    String expectedName = "Hello";

    LaunchName name = new LaunchName(expectedName, "not important");
    given(name.getLaunchName()).willReturn(expectedName);

    assertThat(provider.getText(name), equalTo(expectedName));
  }
View Full Code Here

Examples of rabbit.ui.internal.util.LaunchName

        }

        LaunchConfigurationDescriptor d = data.get(ILaunchData.LAUNCH_CONFIG);
        switch ((Category) category) {
        case LAUNCH:
          segments.add(new LaunchName(d.getLaunchName(), d.getLaunchTypeId()));
          break;
        case LAUNCH_MODE: {
          String id = d.getLaunchModeId();
          ILaunchMode mode = manager.getLaunchMode(id);
          if (mode == null) {
View Full Code Here

Examples of rabbit.ui.internal.util.LaunchName

    mode = manager.getLaunchModes()[0];

    count = 10;
    date = new LocalDate().minusDays(1);
    duration = new Duration(101);
    launch = new LaunchName("hello", type.getIdentifier());
    ws = new WorkspaceStorage(new Path("/a"), new Path(".a"));
    fileHasParent = root.getFile(new Path("/project/folder/folder1/file.txt"));
    fileHasNoParent = root.getFile(new Path("/project/file.txt"));
    configDes = new LaunchConfigurationDescriptor(
        launch.getLaunchName(), mode.getIdentifier(), type.getIdentifier());
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.