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

Side by Side Diff: polymer_1.0.4/bower_components/iron-meta/test/basic.html

Issue 1205703007: Add polymer 1.0 to npm_modules (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Renamed folder to 1.0.4 Created 5 years, 6 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <!--
3 @license
4 Copyright (c) 2015 The Polymer Project Authors. All rights reserved.
5 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
6 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
7 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
8 Code distributed by Google as part of the polymer project is also
9 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
10 -->
11
12 <html>
13 <head>
14
15 <title>iron-meta-basic</title>
16 <meta charset="utf-8">
17 <meta name="viewport" content="width=device-width, initial-scale=1.0">
18
19 <script src="../../webcomponentsjs/webcomponents-lite.js"></script>
20 <script src="../../web-component-tester/browser.js"></script>
21
22 <link rel="import" href="../iron-meta.html">
23
24 </head>
25 <body>
26
27 <iron-meta key="info" value="foo/bar"></iron-meta>
28
29 <script>
30
31 suite('basic', function() {
32
33 test('byKey', function() {
34 var meta = document.createElement('iron-meta');
35 assert.equal(meta.byKey('info'), 'foo/bar');
36 });
37
38 test('list', function() {
39 var meta = document.createElement('iron-meta');
40 assert.equal(meta.list.length, 1);
41 });
42
43 });
44
45 </script>
46
47 </body>
48 </html>
OLDNEW
« no previous file with comments | « polymer_1.0.4/bower_components/iron-meta/iron-meta.html ('k') | polymer_1.0.4/bower_components/iron-meta/test/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698