mirror of
https://github.com/apache/cordova-android.git
synced 2026-04-04 00:02:03 +08:00
Rethinking the URI helper
This commit is contained in:
@@ -59,9 +59,9 @@ public class CordovaActivityTest extends ActivityInstrumentationTestCase2<Cordov
|
||||
}
|
||||
|
||||
|
||||
public void testForCordovaView() {
|
||||
public void testForAndroidWebView() {
|
||||
String className = testView.getClass().getSimpleName();
|
||||
assertTrue(className.equals("CordovaWebView"));
|
||||
assertTrue(className.equals("AndroidWebView"));
|
||||
}
|
||||
|
||||
public void testForLinearLayout() {
|
||||
|
||||
@@ -49,11 +49,11 @@ public class CordovaTest extends
|
||||
assertNotNull(testView);
|
||||
}
|
||||
|
||||
public void testForCordovaView() {
|
||||
public void testForAndroidWebView() {
|
||||
//Sleep for no reason!!!!
|
||||
sleep();
|
||||
sleep();
|
||||
String className = testView.getClass().getSimpleName();
|
||||
assertTrue(className.equals("CordovaWebView"));
|
||||
assertTrue(className.equals("AndroidWebView"));
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -59,9 +59,9 @@ public class GapClientTest extends ActivityInstrumentationTestCase2<CordovaWebVi
|
||||
assertNotNull(testView);
|
||||
}
|
||||
|
||||
public void testForCordovaView() {
|
||||
public void testForAndroidWebView() {
|
||||
String className = testView.getClass().getSimpleName();
|
||||
assertTrue(className.equals("CordovaWebView"));
|
||||
assertTrue(className.equals("AndroidWebView"));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -22,7 +22,6 @@ import android.os.Bundle;
|
||||
import android.webkit.WebView;
|
||||
|
||||
import org.apache.cordova.*;
|
||||
import org.apache.cordova.LOG;
|
||||
|
||||
public class whitelist extends CordovaActivity {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user