Remove some duplicate tests
authorAryeh Gregor <ayg@aryeh.name>
Thu, 06 Aug 2015 15:31:47 +0300
changeset 741 8a714e9a314c
parent 740 773795d36f50
child 742 982a10003f0d
Remove some duplicate tests
conformancetest/data/bold.js
conformancetest/data/formatblock.js
tests.js
--- a/conformancetest/data/bold.js	Thu Aug 06 15:31:35 2015 +0300
+++ b/conformancetest/data/bold.js	Thu Aug 06 15:31:47 2015 +0300
@@ -364,16 +364,6 @@
 	"foo[bar]baz",
 	[true],
 	{"bold":[false,true,"",false,false,""]}],
-["foo<span style=\"font-weight: bold\">[bar]</span>baz",
-	[["stylewithcss","true"],["bold",""]],
-	"foo[bar]baz",
-	[true,true],
-	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
-["foo<span style=\"font-weight: bold\">[bar]</span>baz",
-	[["stylewithcss","false"],["bold",""]],
-	"foo[bar]baz",
-	[true,true],
-	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
 ["foo[<span style=\"font-weight: bold\">bar</span>]baz",
 	[["stylewithcss","true"],["bold",""]],
 	"foo[bar]baz",
@@ -939,26 +929,6 @@
 	"foo<b>ba</b>[r]baz",
 	[true,true],
 	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
-["foo[<b>bar</b>]baz",
-	[["stylewithcss","true"],["bold",""]],
-	"foo[bar]baz",
-	[true,true],
-	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
-["foo[<b>bar</b>]baz",
-	[["stylewithcss","false"],["bold",""]],
-	"foo[bar]baz",
-	[true,true],
-	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
-["foo<b>[bar]</b>baz",
-	[["stylewithcss","true"],["bold",""]],
-	"foo[bar]baz",
-	[true,true],
-	{"stylewithcss":[false,false,"",false,true,""],"bold":[false,true,"",false,false,""]}],
-["foo<b>[bar]</b>baz",
-	[["stylewithcss","false"],["bold",""]],
-	"foo[bar]baz",
-	[true,true],
-	{"stylewithcss":[false,true,"",false,false,""],"bold":[false,true,"",false,false,""]}],
 ["foo{<b>bar</b>}baz",
 	[["stylewithcss","true"],["bold",""]],
 	"foo{bar}baz",
--- a/conformancetest/data/formatblock.js	Thu Aug 06 15:31:35 2015 +0300
+++ b/conformancetest/data/formatblock.js	Thu Aug 06 15:31:47 2015 +0300
@@ -855,21 +855,6 @@
 	[false],
 	{"formatblock":[false,false,"div",false,false,"div"]}],
 ["<div>[foobar]</div>",
-	[["defaultparagraphseparator","div"],["formatblock","<p>"]],
-	"<p>[foobar]</p>",
-	[true,true],
-	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"p"]}],
-["<div>[foobar]</div>",
-	[["defaultparagraphseparator","p"],["formatblock","<p>"]],
-	"<p>[foobar]</p>",
-	[true,true],
-	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"div",false,false,"p"]}],
-["<div>[foobar]</div>",
-	[["defaultparagraphseparator","div"],["formatblock","<pre>"]],
-	"<pre>[foobar]</pre>",
-	[true,true],
-	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"div",false,false,"pre"]}],
-["<div>[foobar]</div>",
 	[["defaultparagraphseparator","p"],["formatblock","<pre>"]],
 	"<pre>[foobar]</pre>",
 	[true,true],
@@ -940,16 +925,6 @@
 	[false],
 	{"formatblock":[false,false,"p",false,false,"p"]}],
 ["<p>[foobar]</p>",
-	[["defaultparagraphseparator","div"],["formatblock","<div>"]],
-	"<div>[foobar]</div>",
-	[true,true],
-	{"defaultparagraphseparator":[false,false,"p",false,false,"div"],"formatblock":[false,false,"p",false,false,"div"]}],
-["<p>[foobar]</p>",
-	[["defaultparagraphseparator","p"],["formatblock","<div>"]],
-	"<div>[foobar]</div>",
-	[true,true],
-	{"defaultparagraphseparator":[false,false,"div",false,false,"p"],"formatblock":[false,false,"p",false,false,"div"]}],
-["<p>[foobar]</p>",
 	[["formatblock","<dl>"]],
 	"<p>[foobar]</p>",
 	[false],
@@ -1105,11 +1080,6 @@
 	[false],
 	{"formatblock":[false,false,"p",false,false,"p"]}],
 ["<p>[foobar]</p>",
-	[["formatblock","<p>"]],
-	"<p>[foobar]</p>",
-	[true],
-	{"formatblock":[false,false,"p",false,false,"p"]}],
-["<p>[foobar]</p>",
 	[["formatblock","<plaintext>"]],
 	"<p>[foobar]</p>",
 	[false],
--- a/tests.js	Thu Aug 06 15:31:35 2015 +0300
+++ b/tests.js	Thu Aug 06 15:31:47 2015 +0300
@@ -135,7 +135,6 @@
 		'foo[<strong>bar</strong>]baz',
 		'foo[<strong>bar]</strong>baz',
 		'foo<strong>[bar</strong>]baz',
-		'foo<span style="font-weight: bold">[bar]</span>baz',
 		'foo[<span style="font-weight: bold">bar</span>]baz',
 		'foo[<span style="font-weight: bold">bar]</span>baz',
 		'foo<span style="font-weight: bold">[bar</span>]baz',
@@ -208,8 +207,6 @@
 		'fo[o<b>bar</b>b]az',
 		'foo[<b>b]ar</b>baz',
 		'foo<b>ba[r</b>]baz',
-		'foo[<b>bar</b>]baz',
-		'foo<b>[bar]</b>baz',
 		'foo{<b>bar</b>}baz',
 		'fo[o<span style=font-weight:bold>b]ar</span>baz',
 		'<span style=font-weight:800>fo[o</span><span style=font-weight:900>b]ar</span>',
@@ -1097,7 +1094,6 @@
 		['<ins>', '<div>[foobar]</div>'],
 		['<li>', '<div>[foobar]</div>'],
 		['<ol>', '<div>[foobar]</div>'],
-		['<p>', '<div>[foobar]</div>'],
 		['<pre>', '<div>[foobar]</div>'],
 		['<ul>', '<div>[foobar]</div>'],
 		['<quasit>', '<div>[foobar]</div>'],
@@ -1111,7 +1107,6 @@
 		['<del>', '<p>[foobar]</p>'],
 		['<details>', '<p>[foobar]</p>'],
 		['<dir>', '<p>[foobar]</p>'],
-		['<div>', '<p>[foobar]</p>'],
 		['<dl>', '<p>[foobar]</p>'],
 		['<dt>', '<p>[foobar]</p>'],
 		['<fieldset>', '<p>[foobar]</p>'],
@@ -1136,7 +1131,6 @@
 		['<menu>', '<p>[foobar]</p>'],
 		['<nav>', '<p>[foobar]</p>'],
 		['<ol>', '<p>[foobar]</p>'],
-		['<p>', '<p>[foobar]</p>'],
 		['<plaintext>', '<p>[foobar]</p>'],
 		['<pre>', '<p>[foobar]</p>'],
 		['<section>', '<p>[foobar]</p>'],