Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 152 for isInherited (0.06 sec)

  1. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

    import org.junit.jupiter.params.provider.MethodSource;
    import org.mockito.Mock;
    import org.mockito.Mockito;
    import org.mockito.junit.jupiter.MockitoExtension;
    
    /**
     * Tests for SmbAuthException covering all constructors and inherited behavior.
     */
    @ExtendWith(MockitoExtension.class)
    public class SmbAuthExceptionTest {
    
        /**
         * Provide representative error codes for the int constructor.
         * - NT status code (high bits set)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * "inherited" from superclasses of the same package.
       */
      public void testAllPublicStaticMethods(Class<?> c) {
        testStaticMethods(c, Visibility.PUBLIC);
      }
    
      /**
       * Runs {@link #testMethod} on every instance method of the class of {@code instance} with at
       * least {@code minimalVisibility}, including those inherited from superclasses of the same
       * package.
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

                    }
                }
            }
    
            private void visit(Plugin plugin) {
                if (plugin != null) {
                    String org, val;
                    // Inherited
                    org = plugin.getInherited();
                    val = interpolate(org);
                    if (org != val) {
                        plugin.setInherited(val);
                    }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 43.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java

                // Arrange
                SamrPolicyHandle ph = createMockPolicyHandle();
                MsrpcSamrConnect2 msg = new MsrpcSamrConnect2("\\\\server", 0x000F0000, ph);
    
                // Act & Assert - getOpnum is inherited from SamrConnect2
                assertDoesNotThrow(() -> msg.getOpnum());
                assertEquals(0x39, msg.getOpnum(), "getOpnum should return 0x39 as defined in SamrConnect2");
            }
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        }
    
        /**
         * @return <code>true</code> if the Mojo is inherited, <code>false</code> otherwise.
         */
        public boolean isInheritedByDefault() {
            return inheritedByDefault;
        }
    
        /**
         * @param inheritedByDefault <code>true</code> if the Mojo is inherited, <code>false</code> otherwise.
         */
        public void setInheritedByDefault(boolean inheritedByDefault) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

            Artifact b = (Artifact) map.get("maven-test:t10-b");
            Artifact c = (Artifact) map.get("maven-test:t10-c");
    
            assertNotNull(a);
            assertNotNull(b);
            assertNotNull(c);
    
            // inherited from depMgmt
            System.out.println(a.getScope());
            assertTrue(a.getScope().equals("test"), "Incorrect scope for " + a.getDependencyConflictId());
    
            // transitive dep, overridden b depMgmt
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java

        void testConstructorInitialisesFields() throws Exception {
            int level = 42;
            Trans2QueryFSInformation cmd = new Trans2QueryFSInformation(level);
            // constants are defined on SmbComTransaction, inherited via
            // ServerMessageBlock.
            assertEquals(SmbComTransaction.SMB_COM_TRANSACTION2, cmd.command, "command should be TRANSACTION2");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

            } else if (Artifact.SCOPE_COMPILE.equals(originalScope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile scope. Remove if you want to compile inherited as runtime
                effectiveScope = Artifact.SCOPE_COMPILE;
            } else if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
                effectiveScope = Artifact.SCOPE_TEST;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Apr 05 11:52:05 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

              parentBuilder) {
        List<TestSuite> derivedSuites = new ArrayList<>(super.createDerivedSuites(parentBuilder));
    
        if (!parentBuilder.getFeatures().contains(SUBSET_VIEW)) {
          // Other combinations are inherited from SortedSetTestSuiteBuilder.
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.INCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.EXCLUSIVE, Bound.NO_BOUND));
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/AllocInfoTest.java

            @DisplayName("Should inherit getFileSystemInformationClass from FileSystemInformation")
            void shouldInheritGetFileSystemInformationClass() throws NoSuchMethodException {
                // Verify method is inherited
                assertNotNull(AllocInfo.class.getMethod("getFileSystemInformationClass"));
                assertEquals(byte.class, AllocInfo.class.getMethod("getFileSystemInformationClass").getReturnType());
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.8K bytes
    - Viewed (0)
Back to top