| Index: third_party/polymer/polymer-selection/test/html/polymer-selection.html | 
| diff --git a/third_party/polymer/polymer-selection/test/html/polymer-selection.html b/third_party/polymer/polymer-selection/test/html/polymer-selection.html | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..c0f67b46191a7db0161577681adc8ad5af30b3ed | 
| --- /dev/null | 
| +++ b/third_party/polymer/polymer-selection/test/html/polymer-selection.html | 
| @@ -0,0 +1,42 @@ | 
| +<!doctype html> | 
| +<html> | 
| +<head> | 
| +  <title>polymer-selection</title> | 
| +  <script src="../../../platform/platform.js"></script> | 
| +  <script src="../../../tools/test/htmltest.js"></script> | 
| +  <script src="../../../tools/test/chai/chai.js"></script> | 
| +  <link rel="import" href="../../polymer-selection.html"> | 
| +</head> | 
| +<body> | 
| + | 
| +  <polymer-selection></polymer-selection> | 
| + | 
| +  <script> | 
| +    var assert = chai.assert; | 
| +    document.addEventListener('WebComponentsReady', function() { | 
| +      var s = document.querySelector('polymer-selection'); | 
| +      s.addEventListener("polymer-select", function(event) { | 
| +        if (test === 1) { | 
| +          // check test1 | 
| +          assert.isTrue(event.detail.isSelected); | 
| +          assert.equal(event.detail.item, '(item)'); | 
| +          assert.isTrue(s.isSelected(event.detail.item)); | 
| +          assert.isFalse(s.isSelected('(some_item_not_selected)')); | 
| +          // test2 | 
| +          test++; | 
| +          s.select(null); | 
| +        } else if (test === 2) { | 
| +          // check test2 | 
| +          assert.isFalse(event.detail.isSelected); | 
| +          assert.equal(event.detail.item, '(item)'); | 
| +          assert.isFalse(s.isSelected(event.detail.item)); | 
| +          done(); | 
| +        } | 
| +      }); | 
| +      // test1 | 
| +      var test = 1; | 
| +      s.select('(item)'); | 
| +    }); | 
| +  </script> | 
| +</body> | 
| +</html> | 
|  |