test/touchevents/single-touch.html
changeset 50 c030af565635
parent 48 a217ab1b3f14
child 52 a3bdd103c7d9
--- a/test/touchevents/single-touch.html	Tue Apr 26 09:33:08 2011 -0700
+++ b/test/touchevents/single-touch.html	Tue Apr 26 10:09:28 2011 -0700
@@ -39,6 +39,12 @@
         var tt = ev.targetTouches[0];
 
         test(function() {
+          assert_true(ev instanceof TouchEvent, "Event is a TouchEvent.");
+          assert_true(ev.touches instanceof TouchList, "touches is a TouchList");
+          assert_true(t instanceof Touch, "touches[0] is a Touch");
+        }, "Interface names are correct.");
+
+        test(function() {
           assert_equals(t.identifier, 0, "touches identifier is 0.");
           assert_equals(ct.identifier, 0, "changedTouches identifier is 0.");
           assert_equals(tt.identifier, 0, "targetTouches identifier is 0.");