hi

I posted a sample with @BeforeClass and @AfterClass a few minutes ago.

FYI:
Somehow the setStoreDelayMs(1) leaves the data in the file, if you
call helper.tearDown().
http://groups.google.com/group/google-appengine-java/browse_thread/thread/68fa07d96fe929e8

==
  @Before
  public void setUp() {
    LocalDatastoreServiceTestConfig config = new
LocalDatastoreServiceTestConfig();
    config.setNoStorage(false);
    config.setStoreDelayMs(1);
    helper = new LocalServiceTestHelper(config);
    helper.setUp();
  }

  @After
  public void tearDown() {
    helper.tearDown();
//    ApiProxy.setDelegate(null);
//    ApiProxy.setEnvironmentForCurrentThread(null);
  }

==

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to