From 00f34df469506f27923247657278c2d14f4e83cf Mon Sep 17 00:00:00 2001 From: Curtis D'Entremont Date: Tue, 28 Mar 2006 00:04:08 +0000 Subject: 132251 New: NOT function on filters --- .../data/help/context/contexts.xml | 35 +----- .../data/help/context/contexts_expected.txt | 30 ++++++ .../context/contexts_serialized_linux_gtk_x86.txt | 42 -------- .../contexts_serialized_macosx_carbon_ppc.txt | 42 -------- .../contexts_serialized_win32_win32_x86.txt | 42 -------- .../data/help/producer/dynamic.xhtml | 22 +++- .../data/help/producer/dynamicInZip_expected.txt | 22 ++++ .../data/help/producer/dynamicInZip_serialized.txt | 22 ---- .../data/help/producer/dynamic_expected.txt | 34 ++++++ .../data/help/producer/dynamic_serialized.txt | 20 ---- .../data/help/toc/extraContent/toc2_expected.txt | 61 +++++++++++ .../data/help/toc/extraContent/toc2_serialized.txt | 61 ----------- .../data/help/toc/extraContent/toc_expected.txt | 49 +++++++++ .../data/help/toc/extraContent/toc_serialized.txt | 49 --------- .../data/help/toc/filteredToc/filter.xml | 81 -------------- .../data/help/toc/filteredToc/toc_expected.txt | 69 ++++++++++++ .../filteredToc/toc_serialized_linux_gtk_x86.txt | 117 --------------------- .../toc_serialized_macosx_carbon_ppc.txt | 117 --------------------- .../filteredToc/toc_serialized_win32_win32_x86.txt | 117 --------------------- 19 files changed, 289 insertions(+), 743 deletions(-) create mode 100644 org.eclipse.ua.tests/data/help/context/contexts_expected.txt delete mode 100644 org.eclipse.ua.tests/data/help/context/contexts_serialized_linux_gtk_x86.txt delete mode 100644 org.eclipse.ua.tests/data/help/context/contexts_serialized_macosx_carbon_ppc.txt delete mode 100644 org.eclipse.ua.tests/data/help/context/contexts_serialized_win32_win32_x86.txt create mode 100644 org.eclipse.ua.tests/data/help/producer/dynamicInZip_expected.txt delete mode 100644 org.eclipse.ua.tests/data/help/producer/dynamicInZip_serialized.txt create mode 100644 org.eclipse.ua.tests/data/help/producer/dynamic_expected.txt delete mode 100644 org.eclipse.ua.tests/data/help/producer/dynamic_serialized.txt create mode 100644 org.eclipse.ua.tests/data/help/toc/extraContent/toc2_expected.txt delete mode 100644 org.eclipse.ua.tests/data/help/toc/extraContent/toc2_serialized.txt create mode 100644 org.eclipse.ua.tests/data/help/toc/extraContent/toc_expected.txt delete mode 100644 org.eclipse.ua.tests/data/help/toc/extraContent/toc_serialized.txt create mode 100644 org.eclipse.ua.tests/data/help/toc/filteredToc/toc_expected.txt delete mode 100644 org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_linux_gtk_x86.txt delete mode 100644 org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_macosx_carbon_ppc.txt delete mode 100644 org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_win32_win32_x86.txt (limited to 'org.eclipse.ua.tests/data/help') diff --git a/org.eclipse.ua.tests/data/help/context/contexts.xml b/org.eclipse.ua.tests/data/help/context/contexts.xml index ed1c0fe00..19963f40c 100644 --- a/org.eclipse.ua.tests/data/help/context/contexts.xml +++ b/org.eclipse.ua.tests/data/help/context/contexts.xml @@ -5,52 +5,23 @@ This is a test context. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + + diff --git a/org.eclipse.ua.tests/data/help/context/contexts_expected.txt b/org.eclipse.ua.tests/data/help/context/contexts_expected.txt new file mode 100644 index 000000000..fbd2fd71f --- /dev/null +++ b/org.eclipse.ua.tests/data/help/context/contexts_expected.txt @@ -0,0 +1,30 @@ + + + + This is a test context. + + + + + + + + + + + + + + \ No newline at end of file diff --git a/org.eclipse.ua.tests/data/help/context/contexts_serialized_linux_gtk_x86.txt b/org.eclipse.ua.tests/data/help/context/contexts_serialized_linux_gtk_x86.txt deleted file mode 100644 index 1d86c68e4..000000000 --- a/org.eclipse.ua.tests/data/help/context/contexts_serialized_linux_gtk_x86.txt +++ /dev/null @@ -1,42 +0,0 @@ - - - - This is a test context. - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.ua.tests/data/help/context/contexts_serialized_macosx_carbon_ppc.txt b/org.eclipse.ua.tests/data/help/context/contexts_serialized_macosx_carbon_ppc.txt deleted file mode 100644 index 76f03d888..000000000 --- a/org.eclipse.ua.tests/data/help/context/contexts_serialized_macosx_carbon_ppc.txt +++ /dev/null @@ -1,42 +0,0 @@ - - - - This is a test context. - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.ua.tests/data/help/context/contexts_serialized_win32_win32_x86.txt b/org.eclipse.ua.tests/data/help/context/contexts_serialized_win32_win32_x86.txt deleted file mode 100644 index c61019fe6..000000000 --- a/org.eclipse.ua.tests/data/help/context/contexts_serialized_win32_win32_x86.txt +++ /dev/null @@ -1,42 +0,0 @@ - - - - This is a test context. - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.ua.tests/data/help/producer/dynamic.xhtml b/org.eclipse.ua.tests/data/help/producer/dynamic.xhtml index c855300b7..17c02c356 100644 --- a/org.eclipse.ua.tests/data/help/producer/dynamic.xhtml +++ b/org.eclipse.ua.tests/data/help/producer/dynamic.xhtml @@ -18,8 +18,28 @@ This page contains filtered content.

-This paragraph should always be filtered out. +This paragraph, which has filter attribute "os=invalid" should always be filtered out.

+

+This paragraph, which has filter attribute "os!=invalid" should never be filtered out. +

+

+This paragraph, which has filter attribute "plugin=my.invalid.plugin.id.012345" should always be filtered out. +

+

+This paragraph, which has filter attribute "plugin!=my.invalid.plugin.id.012345" should never be filtered out. +

+

+ + This paragraph, which has filter element name="plugin", value="my.invalid.plugin.id.012345", + should always be filtered out. +

+

+ + This paragraph, which has filter element name="plugin", value="!my.invalid.plugin.id.012345", + should never be filtered out. +

+ diff --git a/org.eclipse.ua.tests/data/help/producer/dynamicInZip_expected.txt b/org.eclipse.ua.tests/data/help/producer/dynamicInZip_expected.txt new file mode 100644 index 000000000..4259491ce --- /dev/null +++ b/org.eclipse.ua.tests/data/help/producer/dynamicInZip_expected.txt @@ -0,0 +1,22 @@ + + + + +dynamicInZip.xhtml + + + +

dynamicInZip.xhtml

+

+This file is located in the doc.zip in the root of the test plugin. It is used to test whether +or not dynamic content producers are being called properly for files in doc.zip. The paragraph +below should always be filtered out by the dynamic content producer. +

+ + + + \ No newline at end of file diff --git a/org.eclipse.ua.tests/data/help/producer/dynamicInZip_serialized.txt b/org.eclipse.ua.tests/data/help/producer/dynamicInZip_serialized.txt deleted file mode 100644 index c82bdaaa0..000000000 --- a/org.eclipse.ua.tests/data/help/producer/dynamicInZip_serialized.txt +++ /dev/null @@ -1,22 +0,0 @@ - - - - -dynamicInZip.xhtml - - - -

dynamicInZip.xhtml

-

-This file is located in the doc.zip in the root of the test plugin. It is used to test whether -or not dynamic content producers are being called properly for files in doc.zip. The paragraph -below should always be filtered out by the dynamic content producer. -

- - - - \ No newline at end of file diff --git a/org.eclipse.ua.tests/data/help/producer/dynamic_expected.txt b/org.eclipse.ua.tests/data/help/producer/dynamic_expected.txt new file mode 100644 index 000000000..005f29040 --- /dev/null +++ b/org.eclipse.ua.tests/data/help/producer/dynamic_expected.txt @@ -0,0 +1,34 @@ + + + + +dynamic.xhtml + + + +

dynamic.xhtml

+

+This page contains filtered content. +

+ +

+This paragraph, which has filter attribute "os!=invalid" should never be filtered out. +

+ +

+This paragraph, which has filter attribute "plugin!=my.invalid.plugin.id.012345" should never be filtered out. +

+ +

+ + This paragraph, which has filter element name="plugin", value="!my.invalid.plugin.id.012345", + should never be filtered out. +

+ + + + \ No newline at end of file diff --git a/org.eclipse.ua.tests/data/help/producer/dynamic_serialized.txt b/org.eclipse.ua.tests/data/help/producer/dynamic_serialized.txt deleted file mode 100644 index f839440a4..000000000 --- a/org.eclipse.ua.tests/data/help/producer/dynamic_serialized.txt +++ /dev/null @@ -1,20 +0,0 @@ - - - - -dynamic.xhtml - - - -

dynamic.xhtml

-

-This page contains filtered content. -

- - - - \ No newline at end of file diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc2_expected.txt b/org.eclipse.ua.tests/data/help/toc/extraContent/toc2_expected.txt new file mode 100644 index 000000000..e7b25dca4 --- /dev/null +++ b/org.eclipse.ua.tests/data/help/toc/extraContent/toc2_expected.txt @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc2_serialized.txt b/org.eclipse.ua.tests/data/help/toc/extraContent/toc2_serialized.txt deleted file mode 100644 index e7b25dca4..000000000 --- a/org.eclipse.ua.tests/data/help/toc/extraContent/toc2_serialized.txt +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc_expected.txt b/org.eclipse.ua.tests/data/help/toc/extraContent/toc_expected.txt new file mode 100644 index 000000000..e35bbb632 --- /dev/null +++ b/org.eclipse.ua.tests/data/help/toc/extraContent/toc_expected.txt @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.ua.tests/data/help/toc/extraContent/toc_serialized.txt b/org.eclipse.ua.tests/data/help/toc/extraContent/toc_serialized.txt deleted file mode 100644 index e35bbb632..000000000 --- a/org.eclipse.ua.tests/data/help/toc/extraContent/toc_serialized.txt +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/filter.xml b/org.eclipse.ua.tests/data/help/toc/filteredToc/filter.xml index 2d1115349..bcbfe497a 100644 --- a/org.eclipse.ua.tests/data/help/toc/filteredToc/filter.xml +++ b/org.eclipse.ua.tests/data/help/toc/filteredToc/filter.xml @@ -8,67 +8,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -115,42 +65,11 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_expected.txt b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_expected.txt new file mode 100644 index 000000000..72cb7236f --- /dev/null +++ b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_expected.txt @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_linux_gtk_x86.txt b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_linux_gtk_x86.txt deleted file mode 100644 index 70112dd80..000000000 --- a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_linux_gtk_x86.txt +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_macosx_carbon_ppc.txt b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_macosx_carbon_ppc.txt deleted file mode 100644 index a62416e5c..000000000 --- a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_macosx_carbon_ppc.txt +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_win32_win32_x86.txt b/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_win32_win32_x86.txt deleted file mode 100644 index 97066bf6e..000000000 --- a/org.eclipse.ua.tests/data/help/toc/filteredToc/toc_serialized_win32_win32_x86.txt +++ /dev/null @@ -1,117 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3