<!DOCTYPE html>
<!--
Copyright (C) 2016 The Android Open Source Project

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, user-scalable=yes">
<title>gr-message</title>

<script src="../../../bower_components/webcomponentsjs/webcomponents-lite.min.js"></script>
<script src="../../../bower_components/web-component-tester/browser.js"></script>
<script src="../../../scripts/util.js"></script>

<link rel="import" href="../../../bower_components/iron-test-helpers/iron-test-helpers.html">
<link rel="import" href="gr-message.html">

<test-fixture id="basic">
  <template>
    <gr-message></gr-message>
  </template>
</test-fixture>

<script>
  suite('gr-message tests', function() {
    var element;

    setup(function() {
      element = fixture('basic');
    });

    test('reply event', function(done) {
      element.message = {
        'id': '47c43261_55aa2c41',
        'author': {
          '_account_id': 1115495,
          'name': 'Andrew Bonventre',
          'email': 'andybons@chromium.org',
        },
        'date': '2016-01-12 20:24:49.448000000',
        'message': 'Uploaded patch set 1.',
        '_revision_number': 1
      };

      element.addEventListener('reply', function(e) {
        assert.deepEqual(e.detail.message, element.message);
        done();
      });
      MockInteractions.tap(element.$$('.replyContainer gr-button'));
    });

  });
</script>
