Package com.google.gwt.resources.client.TestResources

Examples of com.google.gwt.resources.client.TestResources.ExternalClasses


  /**
   * Test that style classes mentioned as external are not obfuscated.
   */
  public void testExternalClasses() {
    ExternalClasses externalClasses = res().externalClasses();

    // external at-rule shouldn't be printed
    assertFalse(externalClasses.getText().contains("@external"));

    assertNotSame("obfuscatedClass", externalClasses.obfuscatedClass());

    assertEquals("externalClass", externalClasses.externalClass());
    assertEquals("externalClass2", externalClasses.externalClass2());
    assertEquals("unobfuscated", externalClasses.unobfuscated());
    assertEquals("unobfuscated2", externalClasses.unobfuscated2());
  }
View Full Code Here

TOP

Related Classes of com.google.gwt.resources.client.TestResources.ExternalClasses

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.