Examples of renamedClass()


Examples of com.google.gwt.resources.client.TestResources.ClassNameAnnotation.renamedClass()

    return "com.google.gwt.resources.Debug";
  }

  public void testClassesRenaming() {
    ClassNameAnnotation classNameAnnotation = res().classNameAnnotation();
    String renamedClass = classNameAnnotation.renamedClass();
    String nonRenamedClass = classNameAnnotation.nonRenamedClass();

    assertTrue(renamedClass.matches(OBFUSCATION_PATTERN + "-TestResources-ClassNameAnnotation-renamed-class"));
    assertTrue(nonRenamedClass.matches(OBFUSCATION_PATTERN + "-TestResources-ClassNameAnnotation-nonRenamedClass"));
  }
View Full Code Here

Examples of com.google.gwt.resources.client.TestResources.ClassNameAnnotation.renamedClass()

    return "com.google.gwt.resources.Stable";
  }

  public void testClassesRenaming() {
    ClassNameAnnotation classNameAnnotation = res().classNameAnnotation();
    String renamedClass = classNameAnnotation.renamedClass();
    String nonRenamedClass = classNameAnnotation.nonRenamedClass();

    assertEquals("com-google-gwt-resources-client-TestResources-ClassNameAnnotation-renamed-class",
      renamedClass);
    assertEquals("com-google-gwt-resources-client-TestResources-ClassNameAnnotation" +
View Full Code Here

Examples of com.google.gwt.resources.client.TestResources.ClassNameAnnotation.renamedClass()

  public void testClassesRenaming() {
    ClassNameAnnotation classNameAnnotation = GWT.<TestResources>create(TestResources.class)
        .classNameAnnotation();

    String renamedClass = classNameAnnotation.renamedClass();
    String nonRenamedClass = classNameAnnotation.nonRenamedClass();

    assertEquals("renamed-class",renamedClass);
    assertEquals("nonRenamedClass", nonRenamedClass);
  }
View Full Code Here

Examples of com.google.gwt.resources.client.TestResources.ClassNameAnnotation.renamedClass()

    return "com.google.gwt.resources.Pretty";
  }

  public void testClassesRenaming() {
    ClassNameAnnotation classNameAnnotation = res().classNameAnnotation();
    String renamedClass = classNameAnnotation.renamedClass();
    String nonRenamedClass = classNameAnnotation.nonRenamedClass();

    assertTrue(renamedClass.matches(OBFUSCATION_PATTERN +
        "-com-google-gwt-resources-client-TestResources-ClassNameAnnotation-renamed-class"));
    assertTrue(nonRenamedClass.matches(OBFUSCATION_PATTERN +
View Full Code Here

Examples of com.google.gwt.resources.client.TestResources.ClassNameAnnotation.renamedClass()

    return "com.google.gwt.resources.StableShortType";
  }

  public void testClassesRenaming() {
    ClassNameAnnotation classNameAnnotation = res().classNameAnnotation();
    String renamedClass = classNameAnnotation.renamedClass();
    String nonRenamedClass = classNameAnnotation.nonRenamedClass();

    assertEquals("TestResources-ClassNameAnnotation-renamed-class", renamedClass);
    assertEquals("TestResources-ClassNameAnnotation-nonRenamedClass", nonRenamedClass);
  }
View Full Code Here

Examples of com.google.gwt.resources.client.TestResources.ClassNameAnnotation.renamedClass()

  }

  @Override
  public void testClassesRenaming() {
    ClassNameAnnotation classNameAnnotation = res().classNameAnnotation();
    String renamedClass = classNameAnnotation.renamedClass();
    String nonRenamedClass = classNameAnnotation.nonRenamedClass();

    assertTrue(renamedClass.matches(OBFUSCATION_PATTERN));
    assertTrue(nonRenamedClass.matches(OBFUSCATION_PATTERN));
View Full Code Here

Examples of com.google.gwt.resources.client.TestResources.ClassNameAnnotation.renamedClass()

  }

  public void testClassNameAnnotation() {
    ClassNameAnnotation css = res().classNameAnnotation();

    String expectedCss = "." + css.renamedClass() + "{color:black}." + css.nonRenamedClass()
        + "{color:white}";
    assertEquals(expectedCss, css.getText());
  }

  public void testConstants() {
View Full Code Here

Examples of com.google.gwt.resources.client.gss.TestResources.ClassNameAnnotation.renamedClass()

    return "com.google.gwt.resources.GssStableShortTypeStyle";
  }

  public void testClassesRenaming() {
    ClassNameAnnotation classNameAnnotation = res().classNameAnnotation();
    String renamedClass = classNameAnnotation.renamedClass();
    String nonRenamedClass = classNameAnnotation.nonRenamedClass();

    assertEquals("TestResources-ClassNameAnnotation-renamed-class", renamedClass);
    assertEquals("TestResources-ClassNameAnnotation-nonRenamedClass", nonRenamedClass);
  }
View Full Code Here

Examples of com.google.gwt.resources.client.gss.TestResources.ClassNameAnnotation.renamedClass()

  }

  @Override
  public void testClassesRenaming() {
    ClassNameAnnotation classNameAnnotation = res().classNameAnnotation();
    String renamedClass = classNameAnnotation.renamedClass();
    String nonRenamedClass = classNameAnnotation.nonRenamedClass();

    assertTrue(renamedClass.matches(OBFUSCATION_PATTERN));
    assertTrue(nonRenamedClass.matches(OBFUSCATION_PATTERN));
  }
View Full Code Here

Examples of com.google.gwt.resources.client.gss.TestResources.ClassNameAnnotation.renamedClass()

  }

  public void testClassNameAnnotation() {
    ClassNameAnnotation css = res().classNameAnnotation();

    String expectedCss = "." + css.renamedClass() + "{color:black}." + css.nonRenamedClass()
        + "{color:white}";
    assertEquals(expectedCss, css.getText());
  }

  public void testConstants() {
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.