hey dude, Gimme a Proxy , A service that gives you up to date proxies, it is mainly gets those proxies data by crawling "hideMyAss.com" (those guys are doing great job in their home page to make it hard to scrap it :) )
Gimme a proxy |
hey dude, Gimme a Proxy , A service that gives you up to date proxies, it is mainly gets those proxies data by crawling "hideMyAss.com" (those guys are doing great job in their home page to make it hard to scrap it :) )
Gimme a proxy |
<
inherits
name
=
"com.smartgwt.SmartGwt"
/>
3. In the HTML, be sure to include this:
<
script
>var isomorphicDir="smartgwtintroproject/sc/";</
script
>
${SDK_ROOT}/lib/impl/appengine-api.jar
${SDK_ROOT}/lib/impl/appengine-api-labs.jar
${SDK_ROOT}/lib/impl/appengine-api-stubs.jar
${SDK_ROOT}/lib/testing/appengine-testing.jar
import com.google.appengine.api.datastore.DatastoreService; import com.google.appengine.api.datastore.DatastoreServiceFactory; import com.google.appengine.api.datastore.Entity; import static com.google.appengine.api.datastore.FetchOptions.Builder.withLimit; import com.google.appengine.api.datastore.Query; import com.google.appengine.tools.development.testing.LocalDatastoreServiceTestConfig; import com.google.appengine.tools.development.testing.LocalServiceTestHelper; import org.junit.After; import org.junit.Before; import org.junit.Test; import static org.junit.Assert.*; public class LocalDatastoreTest { private final LocalServiceTestHelper helper = new LocalServiceTestHelper(new LocalDatastoreServiceTestConfig()); @Before public void setUp() { helper.setUp(); } @After public void tearDown() { helper.tearDown(); } // run this test twice to prove we're not leaking any state across tests private void doTest() { DatastoreService ds = DatastoreServiceFactory.getDatastoreService(); assertEquals(0, ds.prepare(new Query("yam")).countEntities(withLimit(10))); ds.put(new Entity("yam")); ds.put(new Entity("yam")); assertEquals(2, ds.prepare(new Query("yam")).countEntities(withLimit(10))); } @Test public void testInsert1() { doTest(); } @Test public void testInsert2() { doTest(); } }