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

Unified Diff: sky/tests/styles/border-parsing.sky

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « sky/tests/resources/run-after-display.sky ('k') | sky/tests/styles/border-parsing-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/tests/styles/border-parsing.sky
diff --git a/sky/tests/styles/border-parsing.sky b/sky/tests/styles/border-parsing.sky
index c9ffcbd03d05eb2b4512f432450ff92b55f8d3f6..8f00996bbef3816fc8b16ddd7680e41411592f86 100644
--- a/sky/tests/styles/border-parsing.sky
+++ b/sky/tests/styles/border-parsing.sky
@@ -1,14 +1,19 @@
<html>
-<import src="../resources/mocha.sky" />
-<import src="../resources/chai.sky" />
<foo />
<script>
-describe('Border', function() {
- it('should render', function() {
+import "../resources/third_party/unittest/unittest.dart";
+import "../resources/unit.dart";
+
+import "dart:sky";
+
+void main() {
+ initUnit();
+
+ test('should render', () {
var foo = document.querySelector('foo');
foo.setAttribute('style', 'border: 1px solid red');
- assert.equal(foo.style.border, '1px solid rgb(255, 0, 0)');
+ expect(foo.style.getPropertyValue("border"), equals('1px solid rgb(255, 0, 0)'));
});
-});
+}
</script>
</html>
« no previous file with comments | « sky/tests/resources/run-after-display.sky ('k') | sky/tests/styles/border-parsing-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698