Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QUnit をサブモジュールとして追加し, 複数テスト実行用の HTML ファイルを追加
- Loading branch information
Showing
3 changed files
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "chrome/content/tests/submodule-qunit"] | ||
path = chrome/content/tests/submodule-qunit | ||
url = git://github.com/jquery/qunit.git |
Submodule submodule-qunit
added at
c342ab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>Hatena Bookmark - Tests</title> | ||
|
||
<link rel="stylesheet" href="submodule-qunit/qunit/qunit.css" type="text/css" media="screen"> | ||
<link rel="stylesheet" href="submodule-qunit/addons/composite/qunit-composite.css"> | ||
|
||
<script src="submodule-qunit/qunit/qunit.js"></script> | ||
<script src="submodule-qunit/addons/composite/qunit-composite.js"></script> | ||
|
||
<script> | ||
QUnit.testSuites([ | ||
// ここにテスト用の HTML ファイルのパスを記述する | ||
]); | ||
</script> | ||
</head> | ||
<body> | ||
<div id="qunit"></div> | ||
<div id="qunit-fixture"></div> | ||
</body> | ||
</html> |