@@ -0,0 +1,1416 @@
+package com.a.eye.skywalking.trace.tag;%0A%0Aimport com.a.eye.skywalking.trace.Span;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0A/**%0A * @author wusheng%0A */%0Apublic class TagsTest %7B%0A    @Test%0A    public void testLayer()%7B%0A        Span span = new Span(1, %22/test%22);%0A        Tags.SPAN_LAYER.asDB(span);%0A        Assert.assertEquals(%22db%22, span.getTag(%22span.layer%22));%0A%0A        Tags.SPAN_LAYER.asRPCFramework(span);%0A        Assert.assertEquals(%22rpc%22, span.getTag(%22span.layer%22));%0A%0A        Tags.SPAN_LAYER.asHttp(span);%0A        Assert.assertEquals(%22http%22, span.getTag(%22span.layer%22));%0A    %7D%0A%0A    @Test%0A    public void testBooleanTag()%7B%0A        BooleanTag tag = new BooleanTag(%22test.key%22, false);%0A        Span span = new Span(1, %22/test%22);%0A        Assert.assertFalse(tag.get(span));%0A%0A        tag.set(span, true);%0A        Assert.assertTrue(tag.get(span));%0A    %7D%0A%0A    @Test%0A    public void testIntTag()%7B%0A        IntTag tag = new IntTag(%22test.key%22);%0A        Span span = new Span(1, %22/test%22);%0A        Assert.assertNull(tag.get(span));%0A%0A        tag.set(span, 123);%0A        Assert.assertEquals(123, tag.get(span).intValue());%0A    %7D%0A%0A    @Test%0A    public void testShortTag()%7B%0A        ShortTag tag = new ShortTag(%22test.key%22);%0A        Span span = new Span(1, %22/test%22);%0A        Assert.assertNull(tag.get(span));%0A%0A        short value = 123;%0A        tag.set(span, value);%0A        Assert.assertEquals(value, tag.get(span).intValue());%0A    %7D%0A%7D%0A

Add tags test case.