ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/test/org/apache/catalina/startup/TestHostConfigAutomaticDeploymentWar.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/test/org/apache/catalina/startup/TestHostConfigAutomaticDeploymentWar.java
Status
scanned
Type
file
Name
TestHostConfigAutomaticDeploymentWar.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
3274 (3.2 KB)
MD5
ca69a9ec3eb2d652d1db537d9c5a8676
SHA1
53e458ba15ca8db8051b3d1920982d19fcfffb6e
SHA256
908c34513f7a2071abe4cfac276fd6eb7ce7a40d74ae10a0c416e3d4938b53d6
SHA512

      
    
SHA1_git
cd98606dd70bd37f18ef18b037bef7163350ed01
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
TestHostConfigAutomaticDeploymentWar.java | 3.2 KB |

/* * 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. */ package org.apache.catalina.startup; import org.junit.Test; import org.apache.catalina.LifecycleState; /** * The purpose of this class is to test the automatic deployment features of the * {@link HostConfig} implementation. */ public class TestHostConfigAutomaticDeploymentWar extends HostConfigAutomaticDeploymentBaseTest { /* * Expected behaviour for deployment of a WAR without an embedded XML file. * deployXML copyXML unpackWARs XML WAR DIR * Y/N Y/N N N Y N * Y/N Y/N Y N Y Y */ @Test public void testDeploymentWarFFF() throws Exception { createWar(WAR_SOURCE, true); doTestDeployment(false, false, false, LifecycleState.STARTED, null, false, true, false); } @Test public void testDeploymentWarFFT() throws Exception { createWar(WAR_SOURCE, true); doTestDeployment(false, false, true, LifecycleState.STARTED, null, false, true, true); } @Test public void testDeploymentWarFTF() throws Exception { createWar(WAR_SOURCE, true); doTestDeployment(false, true, false, LifecycleState.STARTED, null, false, true, false); } @Test public void testDeploymentWarFTT() throws Exception { createWar(WAR_SOURCE, true); doTestDeployment(false, true, true, LifecycleState.STARTED, null, false, true, true); } @Test public void testDeploymentWarTFF() throws Exception { createWar(WAR_SOURCE, true); doTestDeployment(true, false, false, LifecycleState.STARTED, null, false, true, false); } @Test public void testDeploymentWarTFT() throws Exception { createWar(WAR_SOURCE, true); doTestDeployment(true, false, true, LifecycleState.STARTED, null, false, true, true); } @Test public void testDeploymentWarTTF() throws Exception { createWar(WAR_SOURCE, true); doTestDeployment(true, true, false, LifecycleState.STARTED, null, false, true, false); } @Test public void testDeploymentWarTTT() throws Exception { createWar(WAR_SOURCE, true); doTestDeployment(true, true, true, LifecycleState.STARTED, null, false, true, true); } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
34.39
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9