From ada00373fa611d0992311be638f856ac4cac09d9 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Thu, 15 Mar 2012 11:13:13 +0000 Subject: [PATCH] Go the whole hog and split the future tests down to one test per file. Move the future tests to the mdx folder. Extend the future test system to 10 possible files, so that we don't need to change configuration when we add or remove minor tests. Add a simple test for md:*/@Binding values. This will need to be more closely targeted on individual elements before being promoted to production. --- .../check_future_0.xsl | 15 +--- {build => mdx}/check_future_1.xsl | 24 +---- {build => mdx}/check_future_2.xsl | 12 +-- mdx/check_future_3.xsl | 44 +++++++++ mdx/check_future_4.xsl | 47 ++++++++++ mdx/check_future_5.xsl | 49 ++++++++++ mdx/check_future_6.xsl | 25 ++++++ mdx/check_future_7.xsl | 25 ++++++ mdx/check_future_8.xsl | 25 ++++++ mdx/check_future_9.xsl | 25 ++++++ mdx/validation-beans.xml | 90 ++++++++++++++++++- 11 files changed, 332 insertions(+), 49 deletions(-) rename build/check_future.xsl => mdx/check_future_0.xsl (75%) rename {build => mdx}/check_future_1.xsl (66%) rename {build => mdx}/check_future_2.xsl (86%) create mode 100644 mdx/check_future_3.xsl create mode 100644 mdx/check_future_4.xsl create mode 100644 mdx/check_future_5.xsl create mode 100644 mdx/check_future_6.xsl create mode 100644 mdx/check_future_7.xsl create mode 100644 mdx/check_future_8.xsl create mode 100644 mdx/check_future_9.xsl diff --git a/build/check_future.xsl b/mdx/check_future_0.xsl similarity index 75% rename from build/check_future.xsl rename to mdx/check_future_0.xsl index 7e8a167a..d28ab49b 100644 --- a/build/check_future.xsl +++ b/mdx/check_future_0.xsl @@ -1,7 +1,7 @@ - + - - - - URL-encoded Location attribute; should be entity-encoded - - - diff --git a/build/check_future_1.xsl b/mdx/check_future_1.xsl similarity index 66% rename from build/check_future_1.xsl rename to mdx/check_future_1.xsl index 0a7ba737..3881e88e 100644 --- a/build/check_future_1.xsl +++ b/mdx/check_future_1.xsl @@ -27,17 +27,9 @@ - + - - - - - IdP excludes SAML 2 transient name identifier format - - - diff --git a/build/check_future_2.xsl b/mdx/check_future_2.xsl similarity index 86% rename from build/check_future_2.xsl rename to mdx/check_future_2.xsl index a4689377..cc55ec0b 100644 --- a/build/check_future_2.xsl +++ b/mdx/check_future_2.xsl @@ -1,7 +1,7 @@ - + - - + + + + + + + + + + + URL-encoded Location attribute; should be entity-encoded + + + + diff --git a/mdx/check_future_4.xsl b/mdx/check_future_4.xsl new file mode 100644 index 00000000..3783f7ce --- /dev/null +++ b/mdx/check_future_4.xsl @@ -0,0 +1,47 @@ + + + + + + + + + + + + IdP excludes SAML 2 transient name identifier format + + + + diff --git a/mdx/check_future_5.xsl b/mdx/check_future_5.xsl new file mode 100644 index 00000000..5a00a3d2 --- /dev/null +++ b/mdx/check_future_5.xsl @@ -0,0 +1,49 @@ + + + + + + + + + + + + invalid @Binding=' + + ' on + + + + + + diff --git a/mdx/check_future_6.xsl b/mdx/check_future_6.xsl new file mode 100644 index 00000000..f4133d4b --- /dev/null +++ b/mdx/check_future_6.xsl @@ -0,0 +1,25 @@ + + + + + + + + + diff --git a/mdx/check_future_7.xsl b/mdx/check_future_7.xsl new file mode 100644 index 00000000..93e26e70 --- /dev/null +++ b/mdx/check_future_7.xsl @@ -0,0 +1,25 @@ + + + + + + + + + diff --git a/mdx/check_future_8.xsl b/mdx/check_future_8.xsl new file mode 100644 index 00000000..a93b13de --- /dev/null +++ b/mdx/check_future_8.xsl @@ -0,0 +1,25 @@ + + + + + + + + + diff --git a/mdx/check_future_9.xsl b/mdx/check_future_9.xsl new file mode 100644 index 00000000..63df1060 --- /dev/null +++ b/mdx/check_future_9.xsl @@ -0,0 +1,25 @@ + + + + + + + + + diff --git a/mdx/validation-beans.xml b/mdx/validation-beans.xml index 376e9a90..34398c12 100644 --- a/mdx/validation-beans.xml +++ b/mdx/validation-beans.xml @@ -53,7 +53,7 @@ - + @@ -64,7 +64,7 @@ - + @@ -75,7 +75,84 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -91,6 +168,13 @@ + + + + + + +