|
Revision 6724, 480 bytes
(checked in by euzuro, 9 months ago)
|
fix up tests, remove _01_. (Closes #1387)
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
<html> |
|---|
| 2 |
<head> |
|---|
| 3 |
<script src="../../lib/OpenLayers.js"></script> |
|---|
| 4 |
<script type="text/javascript"> |
|---|
| 5 |
|
|---|
| 6 |
function test_Surface_constructor (t) { |
|---|
| 7 |
t.plan( 2 ); |
|---|
| 8 |
|
|---|
| 9 |
var g = new OpenLayers.Geometry.Surface(); |
|---|
| 10 |
|
|---|
| 11 |
t.eq(g.CLASS_NAME, "OpenLayers.Geometry.Surface", "correct CLASS_NAME") |
|---|
| 12 |
t.ok(OpenLayers.String.startsWith(g.id, "OpenLayers.Geometry.Surface_"), |
|---|
| 13 |
"id correctly set"); |
|---|
| 14 |
} |
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
</script> |
|---|
| 19 |
</head> |
|---|
| 20 |
<body> |
|---|
| 21 |
</body> |
|---|
| 22 |
</html> |
|---|