Package org.nutz.lang.segment

Examples of org.nutz.lang.segment.Segment.clearAll()


  @Test
  public void testClearAll() {
    Segment seg = Segments.create("A${1}B${1}C${2}D");
    seg.set("1", "T1");
    seg.set("2", "T2");
    seg.clearAll();
    assertEquals("ABCD", seg.toString());
  }

  @Test
  public void testCloseDynamicMark_E1() {
View Full Code Here


    @Test
    public void testClearAll() {
        Segment seg = Segments.create("A${1}B${1}C${2}D");
        seg.set("1", "T1");
        seg.set("2", "T2");
        seg.clearAll();
        assertEquals("ABCD", seg.toString());
    }

    @Test
    public void testCloseDynamicMark_E1() {
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.