View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.eclipse.aether.transport.jetty;
20  
21  import java.util.stream.Stream;
22  
23  import org.eclipse.aether.internal.test.util.http.HttpTransporterTest;
24  import org.eclipse.aether.spi.io.PathProcessorSupport;
25  import org.junit.jupiter.api.Disabled;
26  import org.junit.jupiter.api.Test;
27  
28  /**
29   * Jetty transporter UT.
30   */
31  class JettyTransporterTest extends HttpTransporterTest {
32  
33      @Override
34      protected Stream<String> supportedCompressionAlgorithms() {
35          return Stream.of("gzip", "deflate", "br", "zstd");
36      }
37  
38      @Override
39      @Disabled
40      @Test
41      protected void testAuthSchemeReuse() {}
42  
43      @Override
44      @Disabled
45      @Test
46      protected void testPut_ProxyUnauthenticated() {}
47  
48      @Override
49      @Disabled
50      @Test
51      protected void testPut_Unauthenticated() {}
52  
53      @Override
54      @Disabled
55      @Test
56      protected void testRetryHandler_defaultCount_positive() {}
57  
58      @Override
59      @Disabled
60      @Test
61      protected void testRetryHandler_explicitCount_positive() {}
62  
63      @Override
64      @Disabled
65      @Test
66      protected void testRetryHandler_tooManyRequests_explicitCount_positive() {}
67  
68      @Override
69      @Disabled
70      @Test
71      protected void testRetryHandler_tooManyRequests_explicitCount_negative() {}
72  
73      @Override
74      @Disabled
75      @Test
76      protected void testPut_Authenticated_ExpectContinueRejected_ExplicitlyConfiguredHeader() {}
77  
78      public JettyTransporterTest() {
79          super(() -> new JettyTransporterFactory(standardChecksumExtractor(), new PathProcessorSupport()));
80      }
81  }