Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_langtools
提交
a68f108c
D
dragonwell8_langtools
项目概览
openanolis
/
dragonwell8_langtools
通知
0
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_langtools
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a68f108c
编写于
4月 17, 2014
作者:
L
lana
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
53ba9f1f
4afa0930
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
171 addition
and
18 deletion
+171
-18
.hgtags
.hgtags
+17
-0
THIRD_PARTY_README
THIRD_PARTY_README
+2
-2
src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java
...com/sun/tools/doclets/formats/html/ConfigurationImpl.java
+2
-2
src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties
...sses/com/sun/tools/javac/resources/compiler_ja.properties
+0
-2
src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties
...s/com/sun/tools/javac/resources/compiler_zh_CN.properties
+0
-2
src/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties
...classes/com/sun/tools/jdeps/resources/jdeps_ja.properties
+3
-0
src/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties
...sses/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties
+3
-0
test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java
test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java
+144
-10
未找到文件。
.hgtags
浏览文件 @
a68f108c
...
...
@@ -253,6 +253,22 @@ ba24b63043626003929927f091e8b84190f39261 jdk8-b126
bb69217ed81202b1a490dc7150dc7cd073689341 jdk8-b127
09cdd3b493c0d13dc32206e5f12bb1a2f7465687 jdk8-b128
8fe7202d3c38784f3f14368e3954fc4e0394afa4 jdk8-b129
9d81ae1c417a4748f58921c1f8def7f3c401cecd jdk8-b130
196ab3dcbd28fac1578590684a337f1c7cf505c9 jdk8-b131
c8a87a58eb3efdd64055566b502c9d4a72ca0996 jdk8-b132
519557cab6d4a7fd77b33226e71f92303090420b jdk8u5-b01
9003a59a512e6b764d8a3f805aadc3996a58e5bd jdk8u5-b02
30e3dad0ebbdf3129bacd04a7f4cdecd3df92bb2 jdk8u5-b03
019dcdfffced0ca2026a0ad8c0e5fcb49d46116f jdk8u5-b04
c9db8c800797258540e0411e58b8f7d59273de5f jdk8u5-b05
b1920c0b701d5ff219c9f622db5cafc9bf00d5c8 jdk8u5-b06
180df7f2c078f1efaa6fcd8ca9f55dc5f81b182c jdk8u5-b07
9c3d7d1a70391bd772693dc5a838b53e1cad0761 jdk8u5-b08
169c8c1a2e8d1e80a4474d91f7809aa2a6b2249a jdk8u5-b09
026543c71810701de08cdfd906d1b8fdc69b89c0 jdk8u5-b10
a12055904afd9f951131804868215e724c71b684 jdk8u5-b11
2a7002626e7997e946b96530629e2787bc1864bb jdk8u5-b12
9beafb58fb99e8b5f7577b2f26b12743ef4d07e7 jdk8u5-b13
26b33a6ea08810853af37e81c9b435465b289c98 jdk8u20-b02
a07271bca831cf1bab35a2ffbcebd8e060b2734b jdk8u20-b03
613c1d9930c9f650e3fc6926215931a85b679c66 jdk8u20-b04
...
...
@@ -264,3 +280,4 @@ c6d0108aca9f8f45b9cddeb6e483d464509e0127 jdk8u20-b06
1a57c569cb811a897691e42049eca33da8f8d761 jdk8u20-b07
0f821eb7e92b242c878dca68ef63f9626643ee8f jdk8u20-b08
aa0cb3af23d376e012a142b0531c4f42032fdacf jdk8u20-b09
a0d9c18a1041c4217db9cda1817f0e348f1be885 jdk8u20-b10
THIRD_PARTY_README
浏览文件 @
a68f108c
...
...
@@ -1399,13 +1399,13 @@ THE SOFTWARE.
-------------------------------------------------------------------------------
%% This notice is provided with respect to Little CMS 2.
4
, which may be
%% This notice is provided with respect to Little CMS 2.
5
, which may be
included with JRE 8, JDK 8, and OpenJDK 8.
--- begin of LICENSE ---
Little CMS
Copyright (c) 1998-201
0
Marti Maria Saguer
Copyright (c) 1998-201
1
Marti Maria Saguer
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
...
...
src/share/classes/com/sun/tools/doclets/formats/html/ConfigurationImpl.java
浏览文件 @
a68f108c
/*
* Copyright (c) 1998, 201
3
, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 201
4
, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -247,7 +247,7 @@ public class ConfigurationImpl extends Configuration {
}
else
if
(
opt
.
equals
(
"-doctitle"
))
{
doctitle
=
os
[
1
];
}
else
if
(
opt
.
equals
(
"-windowtitle"
))
{
windowtitle
=
os
[
1
];
windowtitle
=
os
[
1
]
.
replaceAll
(
"\\<.*?>"
,
""
)
;
}
else
if
(
opt
.
equals
(
"-top"
))
{
top
=
os
[
1
];
}
else
if
(
opt
.
equals
(
"-bottom"
))
{
...
...
src/share/classes/com/sun/tools/javac/resources/compiler_ja.properties
浏览文件 @
a68f108c
...
...
@@ -419,8 +419,6 @@ compiler.err.intf.annotation.member.clash=\u6CE8\u91C8\u578B{1}\u3067\u30E1\u30B
compiler.err.intf.expected.here
=
\u3053\u3053\u
306B
\u
30A4
\u
30F3
\u
30BF
\u
30D5
\u
30A7
\u
30FC
\u
30B9
\u
304C
\u
5FC5
\u8981\u3067\u3059
compiler.err.intf.or.array.expected.here
=
\u3053\u3053\u
306B
\u
30A4
\u
30F3
\u
30BF
\u
30D5
\u
30A7
\u
30FC
\u
30B9
\u
307E
\u
305F
\u
306F
\u
914D
\u5217\u
578B
\u
304C
\u
5FC5
\u8981\u3067\u3059
compiler.err.intf.meth.cant.have.body
=
\u
30A4
\u
30F3
\u
30BF
\u
30D5
\u
30A7
\u
30FC
\u
30B9
\u
62BD
\u
8C61
\u
30E1
\u
30BD
\u
30C3
\u
30C9
\u
304C
\u
672C
\u
4F53
\u3092\u6301\u3064\u3053\u3068\u
306F
\u3067\u
304D
\u
307E
\u
305B
\u3093
# 0: symbol
...
...
src/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties
浏览文件 @
a68f108c
...
...
@@ -419,8 +419,6 @@ compiler.err.intf.annotation.member.clash=\u6CE8\u91CA\u7C7B\u578B{1}\u58F0\u660
compiler.err.intf.expected.here
=
\u
6B64
\u5904\u9700\u8981\u
63A5
\u
53E3
compiler.err.intf.or.array.expected.here
=
\u
6B64
\u5904\u9884\u
671F
\u
4E3A
\u
63A5
\u
53E3
\u6216\u6570\u
7EC4
\u
7C7B
\u
578B
compiler.err.intf.meth.cant.have.body
=
\u
63A5
\u
53E3
\u
62BD
\u
8C61
\u
65B9
\u
6CD5
\u
4E0D
\u
80FD
\u
5E26
\u6709\u
4E3B
\u
4F53
# 0: symbol
...
...
src/share/classes/com/sun/tools/jdeps/resources/jdeps_ja.properties
浏览文件 @
a68f108c
...
...
@@ -29,8 +29,11 @@ main.opt.apionly=\ -apionly \u5206\u6790\u3092API\u30
main.opt.dotoutput
=
\
-dotoutput <dir> DOT
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u
51FA
\u
529B
\u
306E
\u
5B9B
\u5148\u
30C7
\u
30A3
\u
30EC
\u
30AF
\u
30C8
\u
30EA
main.opt.jdkinternals
=
\
-jdkinternals JDK
\u5185\u
90E8API
\u
306E
\u
30AF
\u
30E9
\u
30B9
\u
30EC
\u
30D9
\u
30EB
\u
306E
\u
4F9D
\u
5B58
\u6027\u3092\u
691C
\u
51FA
\u3057\u
307E
\u3059\u3002\n
\u
30C7
\u
30D5
\u
30A9
\u
30EB
\u
30C8
\u3067\u
306F
\u3001
-include
\u
30AA
\u
30D7
\u
30B7
\u
30E7
\u
30F3
\u3092\u6307\u
5B9A
\u3057\u
306A
\u3044\u3068\u3001\n
-classpath
\u
306E
\u3059\u3079\u3066\u
306E
\u
30AF
\u
30E9
\u
30B9
\u3068\u5165\u
529B
\u
30D5
\u
30A1
\u
30A4
\u
30EB
\u3092\u5206\u6790\u3057\u
307E
\u3059\u3002\n
\u3053\u
306E
\u
30AA
\u
30D7
\u
30B7
\u
30E7
\u
30F3
\u
306F-p
\u3001
-e
\u
304A
\u3088\u3073
-s
\u
30AA
\u
30D7
\u
30B7
\u
30E7
\u
30F3
\u3068\u
4E00
\u
7DD2
\u
306B
\u
4F7F
\u7528\u3067\u
304D
\u
307E
\u
305B
\u3093\u3002\n
\u
8B66
\u
544A: JDK
\u5185\u
90E8API
\u
306F
\u3001\u
6B21
\u
306E
\u
30EA
\u
30EA
\u
30FC
\u
30B9
\u3067\u
30A2
\u
30AF
\u
30BB
\u
30B9
\u3067\u
304D
\u
306A
\u
304F
\u
306A
\u
308B
\u
53EF
\u
80FD
\u6027\u
304C
\n
\u3042\u
308A
\u
307E
\u3059\u3002
main.opt.depth
=
\
-depth=<depth>
\u
63A8
\u
79FB
\u7684\u
306A
\u
4F9D
\u
5B58
\u6027\u5206\u6790\u
306E
\u
6DF1
\u3055\u3092\n
\u6307\u
5B9A
\u3057\u
307E
\u3059
err.unknown.option
=
\u
4E0D
\u
660E
\u
306A
\u
30AA
\u
30D7
\u
30B7
\u
30E7
\u
30F3: {0}
err.missing.arg
=
{0}
\u
306B
\u5024\u
304C
\u6307\u
5B9A
\u3055\u
308C
\u3066\u3044\u
307E
\u
305B
\u3093
err.internal.error
=
\u5185\u
90E8
\u
30A8
\u
30E9
\u
30FC: {0} {1} {2}
...
...
src/share/classes/com/sun/tools/jdeps/resources/jdeps_zh_CN.properties
浏览文件 @
a68f108c
...
...
@@ -29,8 +29,11 @@ main.opt.apionly=\ -apionly \u901A\u8FC7\u516C\u5171\
main.opt.dotoutput
=
\
-dotoutput <dir> DOT
\u6587\u
4EF6
\u
8F93
\u
51FA
\u7684\u
76EE
\u6807\u
76EE
\u
5F55
main.opt.jdkinternals
=
\
-jdkinternals
\u5728
JDK
\u5185\u
90E8 API
\u
4E0A
\u
67E5
\u
627E
\u
7C7B
\u
7EA7
\u
522B
\u7684\u
88AB
\u
4F9D
\u
8D56
\u
5BF9
\u
8C61
\u3002\n
\u
9ED8
\u
8BA4
\u
60C5
\u
51B5
\u
4E0B,
\u
5B83
\u5206\u6790
-classpath
\u
4E0A
\u7684\u6240\u6709\u
7C7B
\n
\u
548C
\u
8F93
\u5165\u6587\u
4EF6,
\u9664\u
975E
\u6307\u
5B9A
\u
4E86 -include
\u9009\u9879\u3002\n
\u
6B64
\u9009\u9879\u
4E0D
\u
80FD
\u
4E0E -p, -e
\u
548C -s
\u9009\u9879\u
4E00
\u
8D77
\u
4F7F
\u7528\u3002\n
\u
8B66
\u
544A:
\u5728\u
4E0B
\u
4E00
\u
4E2A
\u
53D1
\u
884C
\u7248\u
4E2D
\u
53EF
\u
80FD
\u
65E0
\u
6CD5
\u
8BBF
\u
95EE
\n
JDK
\u5185\u
90E8 API
\u3002
main.opt.depth
=
\
-depth=<depth>
\u6307\u
5B9A
\u
8FC7
\u
6E21
\u
88AB
\u
4F9D
\u
8D56
\u
5BF9
\u
8C61
\u5206\u6790\n
\u7684\u
6DF1
\u
5EA6
err.unknown.option
=
\u
672A
\u
77E5
\u9009\u9879
: {0}
err.missing.arg
=
\u
6CA1
\u6709\u
4E3A{0}
\u6307\u
5B9A
\u
503C
err.internal.error
=
\u5185\u
90E8
\u9519\u
8BEF: {0} {1} {2}
...
...
test/com/sun/javadoc/testWindowTitle/TestWindowTitle.java
浏览文件 @
a68f108c
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2013,
2014,
Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
...
...
@@ -23,7 +23,7 @@
/*
* @test
* @bug 8016675
* @bug 8016675
8026736
* @summary Test for window title.
* @author Bhavesh Patel
* @library ../lib/
...
...
@@ -34,26 +34,153 @@
public
class
TestWindowTitle
extends
JavadocTester
{
private
static
final
String
BUG_ID
=
"8016675"
;
private
static
final
String
WIN_TITLE
=
//Window title with JavaScript special characters.
private
static
final
String
TITLE_JS_CHARS
=
"Testing \"Window 'Title'\" with a \\ backslash and a / "
+
"forward slash and a \u00e8 unicode char also a tab and also a "
+
"\t special character another \u0002 unicode)"
;
private
static
final
String
[][]
TEST
=
{
{
BUG_ID
+
FS
+
"overview-summary.html"
,
private
static
final
String
[]
ARGS_JS_CHARS
=
new
String
[]{
"-d"
,
BUG_ID
+
"-1"
,
"-windowtitle"
,
TITLE_JS_CHARS
,
"-sourcepath"
,
SRC_DIR
,
"p1"
,
"p2"
};
private
static
final
String
[][]
TEST_JS_CHARS
=
{
{
BUG_ID
+
"-1"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing \\\"Window \\\'Title\\\'\\\" "
+
"with a \\\\ backslash and a / forward slash and a \\u00E8 unicode char "
+
"also a tab and also a \\t special character another \\u0002 unicode))\";"
},
};
private
static
final
String
[][]
NEG_TEST
=
{
{
BUG_ID
+
FS
+
"overview-summary.html"
,
private
static
final
String
[][]
NEG_TEST
_JS_CHARS
=
{
{
BUG_ID
+
"-1"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing \"Window \'Title\'\" "
+
"with a \\ backslash and a / forward slash and a \u00E8 unicode char "
+
"also a tab and also a \t special character another \u0002 unicode))\";"
}
};
//Window title with a script tag.
private
static
final
String
TITLE_SCRIPT_TAG
=
"Testing script tag in title </title><script>alert(\"Should not pop up\")</script>."
;
private
static
final
String
[]
ARGS_SCRIPT_TAG
=
new
String
[]{
"-d"
,
BUG_ID
+
"-2"
,
"-windowtitle"
,
TITLE_SCRIPT_TAG
,
"-sourcepath"
,
SRC_DIR
,
"p1"
,
"p2"
};
private
static
final
String
[][]
TEST_SCRIPT_TAG
=
{
{
BUG_ID
+
"-2"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing script tag in title alert"
+
"(\\\"Should not pop up\\\").)\";"
},
{
BUG_ID
+
"-2"
+
FS
+
"p2"
+
FS
+
"C2.html"
,
"parent.document.title=\"C2 (Testing script tag in title alert"
+
"(\\\"Should not pop up\\\").)\";"
}
};
private
static
final
String
[][]
NEG_TEST_SCRIPT_TAG
=
{
{
BUG_ID
+
"-2"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing script tag in title </title><script>"
+
"alert(\\\"Should not pop up\\\")</script>.)\";"
},
{
BUG_ID
+
"-2"
+
FS
+
"p2"
+
FS
+
"C2.html"
,
"parent.document.title=\"C2 (Testing script tag in title </title><script>"
+
"alert(\\\"Should not pop up\\\")</script>.)\";"
}
};
//Window title with other HTML tags.
private
static
final
String
TITLE_HTML_TAGS
=
"Testing another <p>HTML</p> tag. Another <h1>tag</h1>. A "
+
"<span id=\"testTag\">tag with attributes</span>. <script and </p are not tags."
;
private
static
final
String
[]
ARGS_HTML_TAGS
=
new
String
[]{
"-d"
,
BUG_ID
+
"-3"
,
"-windowtitle"
,
TITLE_HTML_TAGS
,
"-sourcepath"
,
SRC_DIR
,
"p1"
,
"p2"
};
private
static
final
String
[][]
TEST_HTML_TAGS
=
{
{
BUG_ID
+
"-3"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing another HTML tag. Another tag. A "
+
"tag with attributes. <script and </p are not tags.)\";"
}
};
private
static
final
String
[][]
NEG_TEST_HTML_TAGS
=
{
{
BUG_ID
+
"-3"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing another <p>HTML</p> tag. Another "
+
"<h1>tag</h1>. A <span id=\"testTag\">tag with attributes</span>. <script and "
+
"</p are not tags.)\";"
}
};
//Window title using entities.
private
static
final
String
TITLE_HTML_ENTITIES
=
"Testing entities <script>alert(\"Should not pop up\")</script>."
;
private
static
final
String
[]
ARGS_HTML_ENTITIES
=
new
String
[]{
"-d"
,
BUG_ID
+
"-4"
,
"-windowtitle"
,
TITLE_HTML_ENTITIES
,
"-sourcepath"
,
SRC_DIR
,
"p1"
,
"p2"
};
private
static
final
String
[][]
TEST_HTML_ENTITIES
=
{
{
BUG_ID
+
"-4"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing entities <script>alert(\\\"Should "
+
"not pop up\\\")</script>.)\";"
}
};
private
static
final
String
[][]
NEG_TEST_HTML_ENTITIES
=
{
{
BUG_ID
+
"-4"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing entities alert(\\\"Should not pop up\\\").)\";"
}
};
//Window title with just empty HTML tags.
private
static
final
String
TITLE_EMPTY_TAGS
=
"</title><script></script>"
;
private
static
final
String
[]
ARGS_EMPTY_TAGS
=
new
String
[]{
"-d"
,
BUG_ID
+
"-5"
,
"-windowtitle"
,
TITLE_EMPTY_TAGS
,
"-sourcepath"
,
SRC_DIR
,
"p1"
,
"p2"
};
private
static
final
String
[][]
TEST_EMPTY_TAGS
=
{
{
BUG_ID
+
"-5"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview\";"
}
};
private
static
final
String
[][]
NEG_TEST_EMPTY_TAGS
=
{
{
BUG_ID
+
"-5"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (</title><script></script>)\";"
}
};
//Window title with unicode characters.
private
static
final
String
TITLE_UNICODE_CHARS
=
"Testing unicode \u003cscript\u003ealert(\"Should not pop up\")\u003c/script\u003e."
;
private
static
final
String
[]
ARGS_UNICODE_CHARS
=
new
String
[]{
"-d"
,
BUG_ID
+
"-6"
,
"-windowtitle"
,
TITLE_UNICODE_CHARS
,
"-sourcepath"
,
SRC_DIR
,
"p1"
,
"p2"
};
private
static
final
String
[][]
TEST_UNICODE_CHARS
=
{
{
BUG_ID
+
"-6"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing unicode alert(\\\"Should "
+
"not pop up\\\").)\";"
}
};
private
static
final
String
[]
ARGS
=
new
String
[]{
"-d"
,
BUG_ID
,
"-windowtitle"
,
WIN_TITLE
,
"-sourcepath"
,
SRC_DIR
,
"p1"
,
"p2"
private
static
final
String
[][]
NEG_TEST_UNICODE_CHARS
=
{
{
BUG_ID
+
"-6"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing unicode <script>alert(\\\"Should not pop up\\\")"
+
"</script>.)\";"
}
};
//An empty window title.
private
static
final
String
TITLE_EMPTY
=
""
;
private
static
final
String
[]
ARGS_EMPTY_TITLE
=
new
String
[]{
"-d"
,
BUG_ID
+
"-7"
,
"-windowtitle"
,
TITLE_EMPTY
,
"-sourcepath"
,
SRC_DIR
,
"p1"
,
"p2"
};
private
static
final
String
[][]
TEST_EMPTY
=
{
{
BUG_ID
+
"-7"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview\";"
}
};
//Test doctitle.
private
static
final
String
[]
ARGS_DOCTITLE
=
new
String
[]{
"-d"
,
BUG_ID
+
"-8"
,
"-doctitle"
,
TITLE_JS_CHARS
,
"-sourcepath"
,
SRC_DIR
,
"p1"
,
"p2"
};
private
static
final
String
[][]
NEG_TEST_DOCTITLE
=
{
{
BUG_ID
+
"-8"
+
FS
+
"overview-summary.html"
,
"parent.document.title=\"Overview (Testing \\\"Window \\\'Title\\\'\\\" "
+
"with a \\\\ backslash and a / forward slash and a \\u00E8 unicode char "
+
"also a tab and also a \\t special character another \\u0002 unicode)\";"
},
};
/**
...
...
@@ -62,7 +189,14 @@ public class TestWindowTitle extends JavadocTester {
*/
public
static
void
main
(
String
[]
args
)
{
TestWindowTitle
tester
=
new
TestWindowTitle
();
run
(
tester
,
ARGS
,
TEST
,
NEG_TEST
);
run
(
tester
,
ARGS_JS_CHARS
,
TEST_JS_CHARS
,
NEG_TEST_JS_CHARS
);
run
(
tester
,
ARGS_SCRIPT_TAG
,
TEST_SCRIPT_TAG
,
NEG_TEST_SCRIPT_TAG
);
run
(
tester
,
ARGS_HTML_TAGS
,
TEST_HTML_TAGS
,
NEG_TEST_HTML_TAGS
);
run
(
tester
,
ARGS_HTML_ENTITIES
,
TEST_HTML_ENTITIES
,
NEG_TEST_HTML_ENTITIES
);
run
(
tester
,
ARGS_EMPTY_TAGS
,
TEST_EMPTY_TAGS
,
NEG_TEST_EMPTY_TAGS
);
run
(
tester
,
ARGS_UNICODE_CHARS
,
TEST_UNICODE_CHARS
,
NEG_TEST_UNICODE_CHARS
);
run
(
tester
,
ARGS_EMPTY_TITLE
,
TEST_EMPTY
,
NO_TEST
);
run
(
tester
,
ARGS_DOCTITLE
,
NO_TEST
,
NEG_TEST_DOCTITLE
);
tester
.
printSummary
();
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录