Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: experimental/conways_life/events/event_test.html

Issue 10928195: First round of dead file removal (Closed) Base URL: https://github.com/samclegg/nativeclient-sdk.git@master
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/conways_life/events/event.js ('k') | experimental/conways_life/events/eventtype.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/conways_life/events/event_test.html
diff --git a/experimental/conways_life/events/event_test.html b/experimental/conways_life/events/event_test.html
deleted file mode 100644
index 458e681edd89965fbfddf101b77ace9c0a2f82d7..0000000000000000000000000000000000000000
--- a/experimental/conways_life/events/event_test.html
+++ /dev/null
@@ -1,58 +0,0 @@
-<!DOCTYPE html>
-<html>
-<!--
-Copyright (c) 2011 The Native Client Authors. All rights reserved.
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
--->
-<head>
- <title>Life Event Tests</title>
- <link rel="stylesheet" type="text/css" href="jsunit/css/jsUnitStyle.css">
- <link rel="stylesheet" type="text/css" href="life.css" />
- <script src="closure/closure/goog/base.js"></script>
- <script src="jsunit/app/jsUnitCore.js"></script>
- <script type="text/javascript">
- goog.require('goog.events.Event');
- goog.require('goog.testing.events');
- goog.require('goog.testing.jsunit');
- </script>
- <script type="text/javascript" src="events/event.js"></script>
- <script type="text/javascript" src="events/eventtype.js"></script>
- <script type="text/javascript">
- /**
- * @fileoverview These unit tests are for the Life Event object.
- */
-
- /**
- * Test the default Event constructor.
- */
- function testContructor() {
- var event = new uikit.events.Event(ginsu.events.EventType.ACTION);
- assertEquals(uikit.events.Event.DEFAULT_EVENT_ID, event.eventId());
- assertEquals(uikit.events.EventType.ACTION, event.type);
- }
-
- /**
- * Test the extended constructor that set the event id.
- */
- function testEventIdContructor() {
- var event = new uikit.events.Event(uikit.events.EventType.ACTION,
- document, 'my_event_id');
- assertEquals(uikit.events.EventType.ACTION, event.type);
- assertEquals('my_event_id', event.eventId());
- }
-
- /**
- * Test for the event id accessor/mutator.
- */
- function testEventId() {
- var event = new uikit.events.Event(uikit.events.EventType.ACTION);
- assertEquals(uikit.events.EventType.ACTION, event.type);
- assertEquals(uikit.events.Event.DEFAULT_EVENT_ID, event.eventId());
- event.setEventId('my_event_id');
- assertEquals('my_event_id', event.eventId());
- }
-
- </script>
-</head>
-</html>
« no previous file with comments | « experimental/conways_life/events/event.js ('k') | experimental/conways_life/events/eventtype.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698