From: markt Date: Tue, 9 Mar 2010 21:56:36 +0000 (+0000) Subject: Move the 48nnn bugs X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2d5e68c5327bfd85ffa887e241634fa4a862de2a;p=tomcat7.0 Move the 48nnn bugs git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@921150 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/test/org/apache/el/TestELInJsp.java b/test/org/apache/el/TestELInJsp.java index 8e25d0072..27d8034f5 100644 --- a/test/org/apache/el/TestELInJsp.java +++ b/test/org/apache/el/TestELInJsp.java @@ -304,7 +304,7 @@ public class TestELInJsp extends TomcatBaseTest { tomcat.start(); ByteChunk res = getUrl("http://localhost:" + getPort() + - "/test/bug48112.jsp"); + "/test/bug48nnn/bug48112.jsp"); String result = res.toString(); assertEcho(result, "{OK}"); } diff --git a/test/org/apache/jasper/compiler/TestGenerator.java b/test/org/apache/jasper/compiler/TestGenerator.java index ac0d630de..7f090e841 100644 --- a/test/org/apache/jasper/compiler/TestGenerator.java +++ b/test/org/apache/jasper/compiler/TestGenerator.java @@ -100,7 +100,7 @@ public class TestGenerator extends TomcatBaseTest { Exception e = null; try { - getUrl("http://localhost:" + getPort() + "/test/bug48701-fail.jsp"); + getUrl("http://localhost:" + getPort() + "/test/bug48nnn/bug48701-fail.jsp"); } catch (IOException ioe) { e = ioe; } @@ -110,19 +110,19 @@ public class TestGenerator extends TomcatBaseTest { } public void testBug48701UseBean() throws Exception { - testBug48701("bug48701-UseBean.jsp"); + testBug48701("bug48nnn/bug48701-UseBean.jsp"); } public void testBug48701VariableInfo() throws Exception { - testBug48701("bug48701-VI.jsp"); + testBug48701("bug48nnn/bug48701-VI.jsp"); } public void testBug48701TagVariableInfoNameGiven() throws Exception { - testBug48701("bug48701-TVI-NG.jsp"); + testBug48701("bug48nnn/bug48701-TVI-NG.jsp"); } public void testBug48701TagVariableInfoNameFromAttribute() throws Exception { - testBug48701("bug48701-TVI-NFA.jsp"); + testBug48701("bug48nnn/bug48701-TVI-NFA.jsp"); } private void testBug48701(String jsp) throws Exception { diff --git a/test/org/apache/jasper/compiler/TestJspDocumentParser.java b/test/org/apache/jasper/compiler/TestJspDocumentParser.java index c1c493d6f..08b636c7d 100644 --- a/test/org/apache/jasper/compiler/TestJspDocumentParser.java +++ b/test/org/apache/jasper/compiler/TestJspDocumentParser.java @@ -58,7 +58,7 @@ public class TestJspDocumentParser extends TomcatBaseTest { Exception e = null; try { - getUrl("http://localhost:" + getPort() + "/test/bug48827.jspx"); + getUrl("http://localhost:" + getPort() + "/test/bug48nnn/bug48827.jspx"); } catch (IOException ioe) { e = ioe; } diff --git a/test/org/apache/jasper/compiler/TestParser.java b/test/org/apache/jasper/compiler/TestParser.java index 6c3eebdaa..4675fe2a7 100644 --- a/test/org/apache/jasper/compiler/TestParser.java +++ b/test/org/apache/jasper/compiler/TestParser.java @@ -36,7 +36,7 @@ public class TestParser extends TomcatBaseTest { tomcat.start(); ByteChunk res = getUrl("http://localhost:" + getPort() + - "/test/bug48627.jsp"); + "/test/bug48nnn/bug48627.jsp"); String result = res.toString(); // Beware of the differences between escaping in JSP attributes and @@ -56,7 +56,7 @@ public class TestParser extends TomcatBaseTest { tomcat.start(); ByteChunk res = getUrl("http://localhost:" + getPort() + - "/test/bug48668a.jsp"); + "/test/bug48nnn/bug48668a.jsp"); String result = res.toString(); assertEcho(result, "00-Hello world

#{foo.bar}"); assertEcho(result, "01-Hello world

${foo.bar}"); @@ -101,7 +101,7 @@ public class TestParser extends TomcatBaseTest { tomcat.start(); ByteChunk res = getUrl("http://localhost:" + getPort() + - "/test/bug48668b.jsp"); + "/test/bug48nnn/bug48668b.jsp"); String result = res.toString(); assertEcho(result, "00-Hello world

#{foo.bar}"); assertEcho(result, "01-Hello world

#{foo2"); diff --git a/test/org/apache/jasper/compiler/TestScriptingVariabler.java b/test/org/apache/jasper/compiler/TestScriptingVariabler.java index 8b372c3e4..c031d8d64 100644 --- a/test/org/apache/jasper/compiler/TestScriptingVariabler.java +++ b/test/org/apache/jasper/compiler/TestScriptingVariabler.java @@ -84,7 +84,7 @@ public class TestScriptingVariabler extends TomcatBaseTest { Exception e = null; try { - getUrl("http://localhost:" + getPort() + "/test/bug48616.jsp"); + getUrl("http://localhost:" + getPort() + "/test/bug48nnn/bug48616.jsp"); } catch (IOException ioe) { e = ioe; } @@ -105,7 +105,7 @@ public class TestScriptingVariabler extends TomcatBaseTest { Exception e = null; try { - getUrl("http://localhost:" + getPort() + "/test/bug48616b.jsp"); + getUrl("http://localhost:" + getPort() + "/test/bug48nnn/bug48616b.jsp"); } catch (IOException ioe) { e = ioe; } diff --git a/test/webapp-3.0/bug48112.jsp b/test/webapp-3.0/bug48112.jsp deleted file mode 100644 index 356e680f4..000000000 --- a/test/webapp-3.0/bug48112.jsp +++ /dev/null @@ -1,24 +0,0 @@ -<%@ taglib uri="http://tomcat.apache.org/testerFunctions" prefix="fn" %> -<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> - - Bug 48112 test case - - - - \ No newline at end of file diff --git a/test/webapp-3.0/bug48616.jsp b/test/webapp-3.0/bug48616.jsp deleted file mode 100644 index efc77cb58..000000000 --- a/test/webapp-3.0/bug48616.jsp +++ /dev/null @@ -1,21 +0,0 @@ -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> -<%@ taglib prefix="bugs" uri="http://tomcat.apache.org/bugs" %> - - - - \ No newline at end of file diff --git a/test/webapp-3.0/bug48616b.jsp b/test/webapp-3.0/bug48616b.jsp deleted file mode 100644 index 31476ce6b..000000000 --- a/test/webapp-3.0/bug48616b.jsp +++ /dev/null @@ -1,28 +0,0 @@ -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> -<%@ taglib prefix="bugs" uri="http://tomcat.apache.org/bugs" %> -<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> -<%-- - Tries to place the classic tag that defines a variable - into a simple tag ---%> - - - - - - diff --git a/test/webapp-3.0/bug48627.jsp b/test/webapp-3.0/bug48627.jsp deleted file mode 100644 index 54a79fac4..000000000 --- a/test/webapp-3.0/bug48627.jsp +++ /dev/null @@ -1,24 +0,0 @@ -<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> - - Bug 46596 test case - - - - - \ No newline at end of file diff --git a/test/webapp-3.0/bug48668a.jsp b/test/webapp-3.0/bug48668a.jsp deleted file mode 100644 index dd8bb7c03..000000000 --- a/test/webapp-3.0/bug48668a.jsp +++ /dev/null @@ -1,60 +0,0 @@ -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> -<%@ page isELIgnored="true" %> -<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> - - Bug 48668a test case - -

#{foo.bar}

-

${foo.bar}

- -

10-

-

11-Hello

-

12-

-

13-Hello

- -

14-}

-

15-Hello }

-

16-}

-

17-Hello }

- -

18-Hello ${'foo.bar}

-

19-Hello ${'foo.bar}

-

20-Hello #{'foo.bar}

-

21-Hello #{'foo.bar}

- -

30-

-

31-Hello

-

32-

-

33-Hello

-

34-Hello ${'foo}

-

35-Hello ${'foo}

-

36-Hello #{'foo}

-

37-Hello #{'foo}

- -

40-Hello ${'foo}

-

41-Hello ${'foo}

-

42-Hello #{'foo}

-

43-Hello #{'foo}

- -

50-Hello ${'foo}

-

51-Hello ${'foo}

-

52-Hello #{'foo}

-

53-Hello #{'foo}

- - - diff --git a/test/webapp-3.0/bug48668b.jsp b/test/webapp-3.0/bug48668b.jsp deleted file mode 100644 index ebdb58b63..000000000 --- a/test/webapp-3.0/bug48668b.jsp +++ /dev/null @@ -1,26 +0,0 @@ -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> -<%@ page deferredSyntaxAllowedAsLiteral="true" %> -<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> - - Bug 48668b test case - -

#{foo.bar}

-

#{foo${1 + 1}

- - - diff --git a/test/webapp-3.0/bug48701-TVI-NFA.jsp b/test/webapp-3.0/bug48701-TVI-NFA.jsp deleted file mode 100644 index dd00f5761..000000000 --- a/test/webapp-3.0/bug48701-TVI-NFA.jsp +++ /dev/null @@ -1,20 +0,0 @@ -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> -<%@ taglib uri="http://tomcat.apache.org/bugs" prefix="bugs" %> - - -

00-PASS

diff --git a/test/webapp-3.0/bug48701-TVI-NG.jsp b/test/webapp-3.0/bug48701-TVI-NG.jsp deleted file mode 100644 index 2b4096213..000000000 --- a/test/webapp-3.0/bug48701-TVI-NG.jsp +++ /dev/null @@ -1,20 +0,0 @@ -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> -<%@ taglib uri="http://tomcat.apache.org/bugs" prefix="bugs" %> - - -

00-PASS

diff --git a/test/webapp-3.0/bug48701-UseBean.jsp b/test/webapp-3.0/bug48701-UseBean.jsp deleted file mode 100644 index a64214e61..000000000 --- a/test/webapp-3.0/bug48701-UseBean.jsp +++ /dev/null @@ -1,19 +0,0 @@ -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> - - -

00-PASS

\ No newline at end of file diff --git a/test/webapp-3.0/bug48701-VI.jsp b/test/webapp-3.0/bug48701-VI.jsp deleted file mode 100644 index 7f042cadb..000000000 --- a/test/webapp-3.0/bug48701-VI.jsp +++ /dev/null @@ -1,20 +0,0 @@ -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> -<%@ taglib uri="http://tomcat.apache.org/bugs" prefix="bugs" %> - - -

00-PASS

diff --git a/test/webapp-3.0/bug48701-fail.jsp b/test/webapp-3.0/bug48701-fail.jsp deleted file mode 100644 index 5b04d4a58..000000000 --- a/test/webapp-3.0/bug48701-fail.jsp +++ /dev/null @@ -1,19 +0,0 @@ -<%-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---%> -<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> - - diff --git a/test/webapp-3.0/bug48827.jspx b/test/webapp-3.0/bug48827.jspx deleted file mode 100644 index a6c760ea0..000000000 --- a/test/webapp-3.0/bug48827.jspx +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - 00-Hello World - - - - - - \ No newline at end of file diff --git a/test/webapp-3.0/bug48nnn/bug48112.jsp b/test/webapp-3.0/bug48nnn/bug48112.jsp new file mode 100644 index 000000000..356e680f4 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48112.jsp @@ -0,0 +1,24 @@ +<%@ taglib uri="http://tomcat.apache.org/testerFunctions" prefix="fn" %> +<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> + + Bug 48112 test case + + + + \ No newline at end of file diff --git a/test/webapp-3.0/bug48nnn/bug48616.jsp b/test/webapp-3.0/bug48nnn/bug48616.jsp new file mode 100644 index 000000000..efc77cb58 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48616.jsp @@ -0,0 +1,21 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> +<%@ taglib prefix="bugs" uri="http://tomcat.apache.org/bugs" %> + + + + \ No newline at end of file diff --git a/test/webapp-3.0/bug48nnn/bug48616b.jsp b/test/webapp-3.0/bug48nnn/bug48616b.jsp new file mode 100644 index 000000000..31476ce6b --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48616b.jsp @@ -0,0 +1,28 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> +<%@ taglib prefix="bugs" uri="http://tomcat.apache.org/bugs" %> +<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> +<%-- + Tries to place the classic tag that defines a variable + into a simple tag +--%> + + + + + + diff --git a/test/webapp-3.0/bug48nnn/bug48627.jsp b/test/webapp-3.0/bug48nnn/bug48627.jsp new file mode 100644 index 000000000..54a79fac4 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48627.jsp @@ -0,0 +1,24 @@ +<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> + + Bug 46596 test case + + + + + \ No newline at end of file diff --git a/test/webapp-3.0/bug48nnn/bug48668a.jsp b/test/webapp-3.0/bug48nnn/bug48668a.jsp new file mode 100644 index 000000000..dd8bb7c03 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48668a.jsp @@ -0,0 +1,60 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> +<%@ page isELIgnored="true" %> +<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> + + Bug 48668a test case + +

#{foo.bar}

+

${foo.bar}

+ +

10-

+

11-Hello

+

12-

+

13-Hello

+ +

14-}

+

15-Hello }

+

16-}

+

17-Hello }

+ +

18-Hello ${'foo.bar}

+

19-Hello ${'foo.bar}

+

20-Hello #{'foo.bar}

+

21-Hello #{'foo.bar}

+ +

30-

+

31-Hello

+

32-

+

33-Hello

+

34-Hello ${'foo}

+

35-Hello ${'foo}

+

36-Hello #{'foo}

+

37-Hello #{'foo}

+ +

40-Hello ${'foo}

+

41-Hello ${'foo}

+

42-Hello #{'foo}

+

43-Hello #{'foo}

+ +

50-Hello ${'foo}

+

51-Hello ${'foo}

+

52-Hello #{'foo}

+

53-Hello #{'foo}

+ + + diff --git a/test/webapp-3.0/bug48nnn/bug48668b.jsp b/test/webapp-3.0/bug48nnn/bug48668b.jsp new file mode 100644 index 000000000..ebdb58b63 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48668b.jsp @@ -0,0 +1,26 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> +<%@ page deferredSyntaxAllowedAsLiteral="true" %> +<%@ taglib prefix="tags" tagdir="/WEB-INF/tags" %> + + Bug 48668b test case + +

#{foo.bar}

+

#{foo${1 + 1}

+ + + diff --git a/test/webapp-3.0/bug48nnn/bug48701-TVI-NFA.jsp b/test/webapp-3.0/bug48nnn/bug48701-TVI-NFA.jsp new file mode 100644 index 000000000..dd00f5761 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48701-TVI-NFA.jsp @@ -0,0 +1,20 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> +<%@ taglib uri="http://tomcat.apache.org/bugs" prefix="bugs" %> + + +

00-PASS

diff --git a/test/webapp-3.0/bug48nnn/bug48701-TVI-NG.jsp b/test/webapp-3.0/bug48nnn/bug48701-TVI-NG.jsp new file mode 100644 index 000000000..2b4096213 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48701-TVI-NG.jsp @@ -0,0 +1,20 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> +<%@ taglib uri="http://tomcat.apache.org/bugs" prefix="bugs" %> + + +

00-PASS

diff --git a/test/webapp-3.0/bug48nnn/bug48701-UseBean.jsp b/test/webapp-3.0/bug48nnn/bug48701-UseBean.jsp new file mode 100644 index 000000000..a64214e61 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48701-UseBean.jsp @@ -0,0 +1,19 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> + + +

00-PASS

\ No newline at end of file diff --git a/test/webapp-3.0/bug48nnn/bug48701-VI.jsp b/test/webapp-3.0/bug48nnn/bug48701-VI.jsp new file mode 100644 index 000000000..7f042cadb --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48701-VI.jsp @@ -0,0 +1,20 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> +<%@ taglib uri="http://tomcat.apache.org/bugs" prefix="bugs" %> + + +

00-PASS

diff --git a/test/webapp-3.0/bug48nnn/bug48701-fail.jsp b/test/webapp-3.0/bug48nnn/bug48701-fail.jsp new file mode 100644 index 000000000..5b04d4a58 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48701-fail.jsp @@ -0,0 +1,19 @@ +<%-- + Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--%> +<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + + diff --git a/test/webapp-3.0/bug48nnn/bug48827.jspx b/test/webapp-3.0/bug48nnn/bug48827.jspx new file mode 100644 index 000000000..a6c760ea0 --- /dev/null +++ b/test/webapp-3.0/bug48nnn/bug48827.jspx @@ -0,0 +1,30 @@ + + + + + + + 00-Hello World + + + + + + \ No newline at end of file