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

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

      
    
Rootfs path

      
    
Size
3205 (3.1 KB)
MD5
9f5625141a7c68242aa343c26a4970da
SHA1
bb4cc7ca127ba0146198e836255e01370ce393c5
SHA256
982b79b5df5cd7cf07a8c5040e746542bc5d1aec64fe34c10cdd395f379fe395
SHA512

      
    
SHA1_git
85d25af3d0a2b28be4f70024fed99909a704c1a6
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
TestHostConfigAutomaticDeploymentDir.java | 3.1 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 TestHostConfigAutomaticDeploymentDir extends HostConfigAutomaticDeploymentBaseTest { /* * Expected behaviour for deployment of a DIR without an embedded XML file. * deployXML copyXML unpackWARs XML WAR DIR * Y/N Y/N Y/N N N Y */ @Test public void testDeploymentDirFFF() throws Exception { createDirInAppbase(false); doTestDeployment(false, false, false, LifecycleState.STARTED, null, false, false, true); } @Test public void testDeploymentDirFFT() throws Exception { createDirInAppbase(false); doTestDeployment(false, false, true, LifecycleState.STARTED, null, false, false, true); } @Test public void testDeploymentDirFTF() throws Exception { createDirInAppbase(false); doTestDeployment(false, true, false, LifecycleState.STARTED, null, false, false, true); } @Test public void testDeploymentDirFTT() throws Exception { createDirInAppbase(false); doTestDeployment(false, true, true, LifecycleState.STARTED, null, false, false, true); } @Test public void testDeploymentDirTFF() throws Exception { createDirInAppbase(false); doTestDeployment(true, false, false, LifecycleState.STARTED, null, false, false, true); } @Test public void testDeploymentDirTFT() throws Exception { createDirInAppbase(false); doTestDeployment(true, false, true, LifecycleState.STARTED, null, false, false, true); } @Test public void testDeploymentDirTTF() throws Exception { createDirInAppbase(false); doTestDeployment(true, true, false, LifecycleState.STARTED, null, false, false, true); } @Test public void testDeploymentDirTTT() throws Exception { createDirInAppbase(false); doTestDeployment(true, true, true, LifecycleState.STARTED, null, false, false, true); } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
36.84
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