Package limelight.styles.abstrstyling

Source Code of limelight.styles.abstrstyling.StyleCompilerTest

//- Copyright © 2008-2011 8th Light, Inc. All Rights Reserved.
//- Limelight and all included source files are distributed under terms of the MIT License.

package limelight.styles.abstrstyling;

import limelight.util.FakeKeyword;
import org.junit.Test;
import static org.junit.Assert.*;

public class StyleCompilerTest
{

  @Test
  public void stringifyingObjects() throws Exception
  {
    assertEquals("foo", StyleCompiler.stringify("foo"));
    assertEquals("42", StyleCompiler.stringify(42));
    assertEquals("foo", StyleCompiler.stringify(":foo"));
    assertEquals("foo", StyleCompiler.stringify(new FakeKeyword("foo")));
  }
}
TOP

Related Classes of limelight.styles.abstrstyling.StyleCompilerTest

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.