Permalink
Browse files

Added a couple of additional property checks in the clone test.

  • Loading branch information...
1 parent 5058b89 commit f90b2f19f4fb158ca25dcf4928b7f7bb36c0563c @mikechambers committed Sep 21, 2009
Showing with 10 additions and 2 deletions.
  1. +10 −2 tests/src/com/adobe/webapis/events/ServiceEventTest.as
View
12 tests/src/com/adobe/webapis/events/ServiceEventTest.as
@@ -51,8 +51,16 @@ package com.adobe.webapis.events
var clone:ServiceEvent = ServiceEvent(original.clone());
assertTrue("original != clone", original != clone);
- assertTrue("clone.type == original.type", clone.type == original.type);
- assertTrue("clone.type == original.type", clone.data == original.data);
+
+ trace(clone.bubbles, original.bubbles);
+ assertTrue("clone.bubbles == original.bubbles",
+ clone.bubbles == original.bubbles);
+ assertTrue("clone.cancelable == original.cancelable",
+ clone.cancelable == original.cancelable);
+ assertTrue("clone.type == original.type",
+ clone.type == original.type);
+ assertTrue("clone.data == original.data",
+ clone.data == original.data);
}
}

0 comments on commit f90b2f1

Please sign in to comment.