diff options
author | gjoranv <gv@verizonmedia.com> | 2022-07-13 11:38:09 +0200 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2022-07-13 11:39:09 +0200 |
commit | 3ad0117c5ec96bb3d32495a222409df074cfd7d9 (patch) | |
tree | 3f2d0024cbf719b8cd38365016e1dd49754b5a48 /vespajlib/src/test/java/com/yahoo/yolean/trace/TraceVisitorTestCase.java | |
parent | 0781a0b3ce6b7433f442d3a1bc3097272971f0ba (diff) |
Move yolean code into vespajlib.
Diffstat (limited to 'vespajlib/src/test/java/com/yahoo/yolean/trace/TraceVisitorTestCase.java')
-rw-r--r-- | vespajlib/src/test/java/com/yahoo/yolean/trace/TraceVisitorTestCase.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vespajlib/src/test/java/com/yahoo/yolean/trace/TraceVisitorTestCase.java b/vespajlib/src/test/java/com/yahoo/yolean/trace/TraceVisitorTestCase.java new file mode 100644 index 00000000000..4eaa5b0241e --- /dev/null +++ b/vespajlib/src/test/java/com/yahoo/yolean/trace/TraceVisitorTestCase.java @@ -0,0 +1,21 @@ +// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.yolean.trace; + +import org.junit.Test; + +/** + * @author Simon Thoresen Hult + */ +public class TraceVisitorTestCase { + + @Test + public void requireThatTraceVisitorCompilesWithOnlyVisitImplemented() { + new TraceNode(null, 0).accept(new TraceVisitor() { + + @Override + public void visit(TraceNode node) { + + } + }); + } +} |