Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 5,653 for classe (0.04 seconds)

  1. cmd/utils.go

    	}
    
    	switch minioErr.Code {
    	case "SlowDownWrite":
    		err = InsufficientWriteQuorum{Bucket: bucket, Object: object}
    	case "SlowDownRead":
    		err = InsufficientReadQuorum{Bucket: bucket, Object: object}
    	case "PreconditionFailed":
    		err = PreConditionFailed{}
    	case "InvalidRange":
    		err = InvalidRange{}
    	case "BucketAlreadyOwnedByYou":
    		err = BucketAlreadyOwnedByYou{}
    	case "BucketNotEmpty":
    		err = BucketNotEmpty{}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 33K bytes
    - Click Count (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsolutePath(), source.getLocation());
        }
    
        @Test
        void testGetFile() {
            File txtFile = new File("target/test-classes/source.txt");
            FileSource source = new FileSource(txtFile);
            assertEquals(txtFile.getAbsoluteFile(), source.getFile());
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

        class HappyPath {
            @Test
            void acceptWithMockedFile() throws Exception {
                SmbFile mockFile = mock(SmbFile.class);
                when(mockFile.getPath()).thenReturn("/share/file.txt");
                assertTrue(ALWAYSACTIVE.accept(mockFile));
            }
        }
    
        @Nested
        @DisplayName("Invalid input – null file handling")
        class InvalidPath {
            @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/TestExceptions.java

    /** Exception classes for use in tests. */
    @GwtCompatible
    final class TestExceptions {
      static final class SomeError extends Error {}
    
      static final class SomeCheckedException extends Exception {}
    
      static final class SomeOtherCheckedException extends Exception {}
    
      static final class YetAnotherCheckedException extends Exception {}
    
      static final class SomeUncheckedException extends RuntimeException {}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/TestExceptions.java

    /** Exception classes for use in tests. */
    @GwtCompatible
    @NullUnmarked
    final class TestExceptions {
      static class SomeError extends Error {}
    
      static class SomeCheckedException extends Exception {}
    
      static class SomeOtherCheckedException extends Exception {}
    
      static class YetAnotherCheckedException extends Exception {}
    
      static class SomeUncheckedException extends RuntimeException {}
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/BaseTest.java

    import org.mockito.junit.jupiter.MockitoExtension;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Base test class providing common test infrastructure and utilities.
     * All test classes should extend this to ensure consistent test setup.
     */
    @ExtendWith(MockitoExtension.class)
    public abstract class BaseTest {
    
        protected final Logger logger = LoggerFactory.getLogger(getClass());
    
        @BeforeEach
        void baseSetUp() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  7. native-image-tests/src/test/kotlin/okhttp3/nativeimage/WithArgumentSourceTest.kt

    /**
     * This enforces us having the params classes on the classpath to workaround
     * https://github.com/graalvm/native-build-tools/issues/745
     */
    class WithArgumentSourceTest {
      @ParameterizedTest
      @ArgumentsSource(FakeArgumentsProvider::class)
      fun passingTest(value: Int) {
        assertThat(value).isGreaterThan(0)
      }
    }
    
    internal class FakeArgumentsProvider : ArgumentsProvider {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 22 20:31:49 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  8. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    /**
     * Verifies that subclasses from generated model classes are possible.
     */
    class ExtendedPluginDescriptorTest {
    
        /**
         * A subclass of the generated class {@link PluginDescriptor} that adds an additional field.
         */
        static class ExtendedPluginDescriptor extends PluginDescriptor {
    
            private final String additionalField;
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/mdo/profiles.mdo

            </field>
          </fields>
        </class>
        <class>
          <name>ActivationProperty</name>
          <version>1.0.0</version>
          <description><![CDATA[
            This is the property specification used to activate a profile. If the value field is empty,
            then the existence of the named property will activate the profile, otherwise it does a case-sensitive
            match against the property value as well.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Manages the class realms used by Maven. <strong>Warning:</strong> This is an internal utility class that is only
     * public for technical reasons, it is not part of the public API. In particular, this class can be changed or deleted
     * without prior notice.
     *
     */
    @Named
    @Singleton
    public class DefaultClassRealmManager implements ClassRealmManager {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top