Package com.google.gwt.core.ext.linker.impl

Examples of com.google.gwt.core.ext.linker.impl.StandardScriptReference


* Tests for {@link ArtifactSet}.
*/
public class ArtifactSetTest extends TestCase {

  public void testScriptOrder() {
    StandardScriptReference fooScript = new StandardScriptReference("foo", 0);
    StandardScriptReference barScript = new StandardScriptReference("bar", 1);
    assertTrue(fooScript.compareTo(barScript) < 0);
    assertTrue(barScript.compareTo(fooScript) > 0);
    assertTrue(fooScript.compareTo(fooScript) == 0);
    assertTrue(barScript.compareTo(barScript) == 0);

    {
      ArtifactSet set = new ArtifactSet();
      // Add in order.
      set.add(fooScript);
View Full Code Here

TOP

Related Classes of com.google.gwt.core.ext.linker.impl.StandardScriptReference

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.