add missing test file for #2947, no functional test

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11151 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2011-02-20 15:25:24 +00:00
parent a736a44955
commit 39e9728696

View File

@@ -0,0 +1,27 @@
<html>
<head>
<script type="text/javascript">
window.OpenLayers = new Array(
"OpenLayers/Util.js",
"OpenLayers/BaseTypes.js"
);
</script>
<script src="../lib/OpenLayers.js"></script>
<script type="text/javascript">
function test_OpenLayers(t) {
t.plan(1);
var s = document.getElementsByTagName("script");
var src, count = 0;
for(var i=0, len=s.length; i<len; i++) {
src = s[i].getAttribute('src');
if(src) {
count++;
}
}
t.eq(count, 3, "Three OpenLayers scripts loaded.");
}
</script>
</head>
<body>
</body>
</html>