Examples of UndefinedLaunchConfigurationType


Examples of rabbit.ui.internal.util.UndefinedLaunchConfigurationType

*/
public class UndefinedLaunchConfigurationTypeTest {
 
  @Test(expected = NullPointerException.class)
  public void testConstructor_argumentNull() {
    new UndefinedLaunchConfigurationType(null);
  }
View Full Code Here

Examples of rabbit.ui.internal.util.UndefinedLaunchConfigurationType

  }

  @Test
  public void testGetIdentifier() {
    String id = "hello";
    assertEquals(id, new UndefinedLaunchConfigurationType(id).getIdentifier());
  }
View Full Code Here

Examples of rabbit.ui.internal.util.UndefinedLaunchConfigurationType

  }
 
  @Test
  public void testHashCode() {
    String id = "world";
    assertEquals(id.hashCode(), new UndefinedLaunchConfigurationType(id).hashCode());
  }
View Full Code Here

Examples of rabbit.ui.internal.util.UndefinedLaunchConfigurationType

    assertEquals(id.hashCode(), new UndefinedLaunchConfigurationType(id).hashCode());
  }
 
  @Test
  public void testEquals() {
    UndefinedLaunchConfigurationType d1 = new UndefinedLaunchConfigurationType("1");
    UndefinedLaunchConfigurationType d2 = new UndefinedLaunchConfigurationType("2");
    assertFalse(d1.equals(null));
    assertFalse(d1.equals(d2));
    assertTrue(d1.equals(d1));
   
    d2 = new UndefinedLaunchConfigurationType(d1.getIdentifier());
    assertTrue(d1.equals(d2));
  }
View Full Code Here

Examples of rabbit.ui.internal.util.UndefinedLaunchConfigurationType

  }
 
  @Test
  public void testGetName() {
    String id = "hello";
    assertEquals(id, new UndefinedLaunchConfigurationType(id).getName());
  }
View Full Code Here

Examples of rabbit.ui.internal.util.UndefinedLaunchConfigurationType

        }
        case LAUNCH_TYPE: {
          String id = d.getLaunchTypeId();
          ILaunchConfigurationType t = manager.getLaunchConfigurationType(id);
          if (t == null) {
            t = new UndefinedLaunchConfigurationType(id);
          }
          segments.add(t);
          break;
        }
        case DATE:
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.