Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Ctor (0.29 sec)

  1. guava-testlib/src/com/google/common/testing/NullPointerTester.java

        }
      }
    
      /**
       * Verifies that {@code ctor} produces a {@link NullPointerException} or {@link
       * UnsupportedOperationException} whenever <i>any</i> of its non-nullable parameters are null.
       */
      public void testConstructor(Constructor<?> ctor) {
        Class<?> declaringClass = ctor.getDeclaringClass();
        checkArgument(
            Modifier.isStatic(declaringClass.getModifiers())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

            v.add(new DERTaggedObject(true, 2, new DERBitString(new byte[] { apOptions }))); // first byte read by impl
            return new DERSequence(v);
        }
    
        @Test
        @DisplayName("byte[] ctor: empty token throws PACDecodingException with clear message")
        void byteArrayConstructor_emptyToken_throws() {
            // Arrange
            byte[] empty = new byte[0];
    
            // Act + Assert
    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. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        }
      }
    
      /**
       * Verifies that {@code ctor} produces a {@link NullPointerException} or {@link
       * UnsupportedOperationException} whenever <i>any</i> of its non-nullable parameters are null.
       */
      public void testConstructor(Constructor<?> ctor) {
        Class<?> declaringClass = ctor.getDeclaringClass();
        checkArgument(
            Modifier.isStatic(declaringClass.getModifiers())
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy

                    errors << "Nullability breaking change"
                }
    
            } else if (member instanceof JApiConstructor) {
    
                JApiConstructor ctor = (JApiConstructor) member
                inspectParametersNullabilityOf(ctor.oldConstructor.get(), ctor.newConstructor.get())
    
            } else if (member instanceof JApiMethod) {
    
                JApiMethod method = (JApiMethod) member
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Oct 27 09:26:32 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbEnumerationUtilTest.java

            try {
                Class<?> cls = Class.forName("jcifs.smb.SmbEnumerationUtil$" + simpleName);
                Constructor<?> ctor = cls.getDeclaredConstructor(paramTypes);
                ctor.setAccessible(true);
                return ctor.newInstance(args);
            } catch (ClassNotFoundException | NoSuchMethodException | InstantiationException | IllegalAccessException
                    | InvocationTargetException e) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

            this.lifecycleDebugLogger = lifecycleDebugLogger;
            this.lifeCycleExecutionPlanCalculator = lifeCycleExecutionPlanCalculator;
            this.eventCatapult = eventCatapult;
        }
    
        /**
         * Ctor needed for UT.
         */
        BuilderCommon(
                LifecycleDebugLogger lifecycleDebugLogger,
                LifecycleExecutionPlanCalculator lifeCycleExecutionPlanCalculator,
                ExecutionEventCatapult eventCatapult,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jan 10 08:42:00 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            SmbTreeHandleImpl t2 = h.getTree();
    
            assertSame(tree, t1, "Expected same mocked tree");
            assertSame(tree, t2, "Expected same mocked tree");
    
            // acquire is called once in ctor + once per getTree() call
            verify(tree, times(3)).acquire();
        }
    
        @Test
        @DisplayName("isValid() true when open, same tree id, connected")
        void isValid_true_whenOpenSameTreeConnected() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. cmd/data-scanner_test.go

    	}
    
    	expiryWorker := func(wg *sync.WaitGroup, readyCh chan<- struct{}, taskCh <-chan expiryOp, gotExpired *[]ObjectToDelete) {
    		defer wg.Done()
    		// signal the calling goroutine that the worker is ready tor receive tasks
    		close(readyCh)
    		var expired []ObjectToDelete
    		for t := range taskCh {
    			switch v := t.(type) {
    			case noncurrentVersionsTask:
    				expired = append(expired, v.versions...)
    			case expiryTask:
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  9. CHANGELOG.md

    [Gradle module metadata]: https://docs.gradle.org/current/userguide/publishing_gradle_module_metadata.html
    [HTTP 101]: https://httpwg.org/specs/rfc9110.html#status.101
    [JPMS]: https://openjdk.org/projects/jigsaw/spec/
    [Ktor]: https://ktor.io/
    [Retrofit]: https://square.github.io/retrofit/
    [ZSTD-KMP]: https://github.com/square/zstd-kmp
    [androidx_startup]: https://developer.android.com/jetpack/androidx/releases/startup
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  10. .github/workflows/build.yml

          - name: Run Tests
            run: ./gradlew test allTests -Dtest.java.version=24
    
      testopenjdkearlyaccess:
        runs-on: ubuntu-latest
        if: false # https://youtrack.jetbrains.com/issue/KTOR-8489
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 12 04:49:37 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top