compile just once
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 16 Oct 2012 17:40:51 +0200
changeset 1131b6410322d6e
parent 112 30eaae00f967
child 114 a0505844750a
compile just once
vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java
     1.1 --- a/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java	Tue Oct 16 17:24:43 2012 +0200
     1.2 +++ b/vm/src/test/java/org/apidesign/vm4brwsr/InstanceTest.java	Tue Oct 16 17:40:51 2012 +0200
     1.3 @@ -22,7 +22,6 @@
     1.4  import org.testng.annotations.Test;
     1.5  import static org.testng.Assert.*;
     1.6  import org.testng.annotations.BeforeClass;
     1.7 -import org.testng.annotations.BeforeTest;
     1.8  
     1.9  /**
    1.10   *
    1.11 @@ -118,7 +117,7 @@
    1.12      private static CharSequence codeSeq;
    1.13      private static Invocable code;
    1.14      
    1.15 -    @BeforeTest 
    1.16 +    @BeforeClass
    1.17      public void compileTheCode() throws Exception {
    1.18          if (codeSeq == null) {
    1.19              StringBuilder sb = new StringBuilder();