create testing file for Popup
git-svn-id: http://svn.openlayers.org/trunk/openlayers@222 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
<li>test_LonLat.html</li>
|
||||
<li>test_Icon.html</li>
|
||||
<li>test_Marker.html</li>
|
||||
<li>test_Popup.html</li>
|
||||
<li>test_Feature.html</li>
|
||||
<li>test_Bounds.html</li>
|
||||
<li>test_Events.html</li>
|
||||
|
||||
19
tests/test_Popup.html
Normal file
19
tests/test_Popup.html
Normal file
@@ -0,0 +1,19 @@
|
||||
<html>
|
||||
<head>
|
||||
<script src="../lib/OpenLayers.js"></script>
|
||||
<script type="text/javascript"><!--
|
||||
var popup;
|
||||
|
||||
function test_01_Popup_constructor (t) {
|
||||
t.plan( 1 );
|
||||
popup = new OpenLayers.Popup();
|
||||
t.ok( popup instanceof OpenLayers.Popup, "new OpenLayers.Popup returns Popup object" );
|
||||
}
|
||||
|
||||
|
||||
// -->
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user