Skip to content

Instantly share code, notes, and snippets.

Created February 5, 2010 13:06
Show Gist options
  • Save anonymous/295767 to your computer and use it in GitHub Desktop.
Save anonymous/295767 to your computer and use it in GitHub Desktop.
public class GaedoPageTester extends PageTester {
private final static String APP_PACKAGE = "com.dooapp.ecomaison";
private final static String APP_NAME = "App";
public GaedoPageTester() {
super(APP_PACKAGE, APP_NAME);
ApiProxy.setEnvironmentForCurrentThread(new TestEnvironment());
ApiProxy.setDelegate(new ApiProxyLocalImpl(new File(".")) {
});
ApiProxyLocalImpl proxy = (ApiProxyLocalImpl) ApiProxy.getDelegate();
proxy.setProperty(LocalDatastoreService.NO_STORAGE_PROPERTY,
Boolean.TRUE.toString());
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment