Skip to content

Commit

Permalink
[test] Rebuild test suites with no template i18n-dom-bind
Browse files Browse the repository at this point in the history
  • Loading branch information
t2ym committed Nov 6, 2016
1 parent bd92954 commit 0d87dc3
Show file tree
Hide file tree
Showing 18 changed files with 90 additions and 18 deletions.
2 changes: 1 addition & 1 deletion test/minify2-min/basic-test-imports.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/minify2-min/basic-test.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/minify2-min/sourcemaps/basic-test-imports.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/minify2-min/sourcemaps/basic-test.html.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/minify2/basic-test-imports.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion test/minify2/basic-test.html

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions test/preprocess2-min/basic-test-suites.html
Original file line number Diff line number Diff line change
Expand Up @@ -1298,5 +1298,18 @@
parent.appendChild(p);
});
});

suite('no template i18n-dom-bind', function () {
test('connect', function (done) {
var container = document.createElement('div');
var el = document.createElement('i18n-dom-bind');
el.id = 'no-template-dom-bind';
assert.throws(function () {
container.appendChild(el);
el.render();
}, 'i18n-dom-bind requires a <template> child');
done();
});
});
});
</script>
3 changes: 1 addition & 2 deletions test/preprocess2-min/basic-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,7 @@ <h1><i18n-format lang="{{effectiveLang}}"><span>{{text.h1_3.0}}</span><span slot
</i18n-dom-bind>
</div>

<div class="test-container">
<i18n-dom-bind id="no-template-dom-bind"></i18n-dom-bind>
<div class="test-container" id="no-template-dom-bind-container">
</div>


Expand Down
13 changes: 13 additions & 0 deletions test/preprocess2-raw/basic-test-suites.html
Original file line number Diff line number Diff line change
Expand Up @@ -1298,5 +1298,18 @@
parent.appendChild(p);
});
});

suite('no template i18n-dom-bind', function () {
test('connect', function (done) {
var container = document.createElement('div');
var el = document.createElement('i18n-dom-bind');
el.id = 'no-template-dom-bind';
assert.throws(function () {
container.appendChild(el);
el.render();
}, 'i18n-dom-bind requires a <template> child');
done();
});
});
});
</script>
3 changes: 1 addition & 2 deletions test/preprocess2-raw/basic-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,7 @@ <h1><i18n-format lang="{{effectiveLang}}"><span>{{text.h1_3.0}}</span><span slot
</i18n-dom-bind>
</div>

<div class="test-container">
<i18n-dom-bind id="no-template-dom-bind"></i18n-dom-bind>
<div class="test-container" id="no-template-dom-bind-container">
</div>


Expand Down
13 changes: 13 additions & 0 deletions test/preprocess2/basic-test-suites.html
Original file line number Diff line number Diff line change
Expand Up @@ -1298,5 +1298,18 @@
parent.appendChild(p);
});
});

suite('no template i18n-dom-bind', function () {
test('connect', function (done) {
var container = document.createElement('div');
var el = document.createElement('i18n-dom-bind');
el.id = 'no-template-dom-bind';
assert.throws(function () {
container.appendChild(el);
el.render();
}, 'i18n-dom-bind requires a <template> child');
done();
});
});
});
</script>
3 changes: 1 addition & 2 deletions test/preprocess2/basic-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,7 @@ <h1><i18n-format lang="{{effectiveLang}}"><span>{{text.h1_3.0}}</span><span slot
</i18n-dom-bind>
</div>

<div class="test-container">
<i18n-dom-bind id="no-template-dom-bind"></i18n-dom-bind>
<div class="test-container" id="no-template-dom-bind-container">
</div>


Expand Down
13 changes: 13 additions & 0 deletions test/src2-min/basic-test-suites.html
Original file line number Diff line number Diff line change
Expand Up @@ -1298,5 +1298,18 @@
parent.appendChild(p);
});
});

suite('no template i18n-dom-bind', function () {
test('connect', function (done) {
var container = document.createElement('div');
var el = document.createElement('i18n-dom-bind');
el.id = 'no-template-dom-bind';
assert.throws(function () {
container.appendChild(el);
el.render();
}, 'i18n-dom-bind requires a <template> child');
done();
});
});
});
</script>
3 changes: 1 addition & 2 deletions test/src2-min/basic-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,7 @@ <h1>outermost header 1 with {{param1}} and {{param2}} variables</h1>
</i18n-dom-bind>
</div>

<div class="test-container">
<i18n-dom-bind id="no-template-dom-bind"></i18n-dom-bind>
<div class="test-container" id="no-template-dom-bind-container">
</div>

</body>
Expand Down
13 changes: 13 additions & 0 deletions test/vulcanize2-min/basic-test-imports.html
Original file line number Diff line number Diff line change
Expand Up @@ -18811,6 +18811,19 @@ <h1>{{text.h1_3}}</h1>{{text.text_4}}<span>{{text.span_5}}</span>
parent.appendChild(p);
});
});

suite('no template i18n-dom-bind', function () {
test('connect', function (done) {
var container = document.createElement('div');
var el = document.createElement('i18n-dom-bind');
el.id = 'no-template-dom-bind';
assert.throws(function () {
container.appendChild(el);
el.render();
}, 'i18n-dom-bind requires a <template> child');
done();
});
});
});
</script>
</div></body></html>
3 changes: 1 addition & 2 deletions test/vulcanize2-min/basic-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,7 @@ <h1><i18n-format lang="{{effectiveLang}}"><span>{{text.h1_3.0}}</span><span slot
</i18n-dom-bind>
</div>

<div class="test-container">
<i18n-dom-bind id="no-template-dom-bind"></i18n-dom-bind>
<div class="test-container" id="no-template-dom-bind-container">
</div>


Expand Down
13 changes: 13 additions & 0 deletions test/vulcanize2/basic-test-imports.html
Original file line number Diff line number Diff line change
Expand Up @@ -18811,6 +18811,19 @@ <h1>{{text.h1_3}}</h1>{{text.text_4}}<span>{{text.span_5}}</span>
parent.appendChild(p);
});
});

suite('no template i18n-dom-bind', function () {
test('connect', function (done) {
var container = document.createElement('div');
var el = document.createElement('i18n-dom-bind');
el.id = 'no-template-dom-bind';
assert.throws(function () {
container.appendChild(el);
el.render();
}, 'i18n-dom-bind requires a <template> child');
done();
});
});
});
</script>
</div></body></html>
3 changes: 1 addition & 2 deletions test/vulcanize2/basic-test.html
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,7 @@ <h1><i18n-format lang="{{effectiveLang}}"><span>{{text.h1_3.0}}</span><span slot
</i18n-dom-bind>
</div>

<div class="test-container">
<i18n-dom-bind id="no-template-dom-bind"></i18n-dom-bind>
<div class="test-container" id="no-template-dom-bind-container">
</div>


Expand Down

0 comments on commit 0d87dc3

Please sign in to comment.