Package tests.jfun.yan.benchmark.models

Examples of tests.jfun.yan.benchmark.models.Foo.noop()


    final jfun.yan.factory.Factory factory = yan.getFactory("foo");
     Benchmark bench = new Benchmark("Nuts: Constructor Injection with Factory", LOOP){
     
      public void run() throws Exception {
        final Foo foo = (Foo)factory.create();
        foo.noop();
      }
    };
    bench.start(true);
  }
  public void testSetterFactory() throws Exception{
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.