Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1021 - 1030 of 3,254 for createG (0.04 sec)

  1. src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java

            // Since we can't directly verify the internal state, we create a new request to test
            Smb2CloseRequest newRequest = new Smb2CloseRequest(mockConfig, testFileId);
            assertNotNull(newRequest, "Should create request with new file ID");
        }
    
        @Test
        @DisplayName("Should handle null file ID")
        void testSetNullFileId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { 0x01 })));
    
            // Create a custom APPLICATION tagged object that throws IOException when encoding
            // We need to create a proper ASN1TaggedObject with APPLICATION tag class
            // Create a custom base object that throws IOException
            ASN1Encodable badBase = new ASN1Encodable() {
                @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            // Configure OEM encoding to avoid NullPointerException
            when(mockConfig.getOemEncoding()).thenReturn("UTF-8");
        }
    
        @Test
        @DisplayName("Constructor with Configuration only should create empty Name instances")
        void testConstructorWithConfigOnly() {
            SessionRequestPacket packet = new SessionRequestPacket(mockConfig);
    
            assertNotNull(packet);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/HandlerTest.java

            // Create mock HTTP handler
            URLStreamHandler httpHandler = new URLStreamHandler() {
                @Override
                protected URLConnection openConnection(URL u) throws IOException {
                    return mock(HttpURLConnection.class);
                }
            };
    
            // Create mock HTTPS handler
            URLStreamHandler httpsHandler = new URLStreamHandler() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      }
    
      @CollectionFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        E[] array = createSamplesArray();
        array[1] = e0();
        assertThrows(
            IllegalArgumentException.class, () -> collection = getSubjectGenerator().create(array));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

      }
    
      @CollectionFeature.Require(REJECTS_DUPLICATES_AT_CREATION)
      @CollectionSize.Require(absent = {ZERO, ONE})
      public void testCreateWithDuplicates_nonNullDuplicatesRejected() {
        E[] array = createSamplesArray();
        array[1] = e0();
        assertThrows(
            IllegalArgumentException.class, () -> collection = getSubjectGenerator().create(array));
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

            errorPoms = Set.copyOf(errorPoms);
        }
    
        /**
         * Creates a successful result with the specified processed and modified POMs.
         */
        public static UpgradeResult success(Set<Path> processedPoms, Set<Path> modifiedPoms) {
            return new UpgradeResult(processedPoms, modifiedPoms, Collections.emptySet());
        }
    
        /**
         * Creates a failure result with the specified processed POMs and error POMs.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/version/DefaultPluginVersionRequest.java

        private Model pom;
    
        private List<RemoteRepository> repositories = Collections.emptyList();
    
        private RepositorySystemSession session;
    
        /**
         * Creates an empty request.
         */
        public DefaultPluginVersionRequest() {}
    
        /**
         * Creates a request for the specified plugin by copying settings from the specified build session. If the session
         * has a current project, its plugin repositories will be used as well.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/TestEnumMultisetGenerator.java

        return new Enums();
      }
    
      @Override
      public Multiset<AnEnum> create(Object... elements) {
        AnEnum[] array = new AnEnum[elements.length];
        int i = 0;
        for (Object e : elements) {
          array[i++] = (AnEnum) e;
        }
        return create(array);
      }
    
      protected abstract Multiset<AnEnum> create(AnEnum[] elements);
    
      @Override
      public AnEnum[] createArray(int length) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/BuildFailure.java

     *
     */
    public class BuildFailure extends BuildSummary {
    
        /**
         * The cause of the build failure.
         */
        private final Throwable cause;
    
        /**
         * Creates a new build summary for the specified project.
         *
         * @param project The project being summarized, must not be {@code null}.
         * @param time The build time of the project in milliseconds.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Dec 12 11:02:17 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top