Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
3bacd760
Commit
3bacd760
authored
Dec 21, 2009
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 22, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Added JavaScript tests architecture and simple tests.
parent
4e6e9089
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
42 additions
and
0 deletions
+42
-0
Makefile.in
dlls/mshtml/tests/Makefile.in
+2
-0
jstest.html
dlls/mshtml/tests/jstest.html
+20
-0
rsrc.rc
dlls/mshtml/tests/rsrc.rc
+20
-0
script.c
dlls/mshtml/tests/script.c
+0
-0
No files found.
dlls/mshtml/tests/Makefile.in
View file @
3bacd760
...
...
@@ -14,6 +14,8 @@ CTESTS = \
protocol.c
\
script.c
RC_SRCS
=
rsrc.rc
@MAKE_TEST_RULES@
@DEPENDENCIES@
# everything below this line is overwritten by make depend
dlls/mshtml/tests/jstest.html
0 → 100644
View file @
3bacd760
<html>
<head>
<script>
function
ok
(
b
,
m
)
{
return
external
.
ok
(
b
,
m
);
}
function
runTest
()
{
obj
=
new
Object
();
ok
(
obj
===
window
.
obj
,
"obj !== window.obj"
);
ok
(
typeof
(
divid
)
===
"object"
,
"typeof(divid) = "
+
typeof
(
divid
));
external
.
reportSuccess
();
}
</script>
<body
onload=
"runTest();"
>
<div
id=
"divid"
></div>
</body>
</html>
dlls/mshtml/tests/rsrc.rc
0 → 100644
View file @
3bacd760
/*
* Copyright 2009 Jacek Caban
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
/* @makedep: jstest.html */
jstest.html HTML "jstest.html"
dlls/mshtml/tests/script.c
View file @
3bacd760
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment