Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for getPtype (2.73 sec)

  1. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            // Act
            lookupSids = new MsrpcLookupSids(mockPolicyHandle, testSids);
    
            // Assert
            assertNotNull(lookupSids);
            assertEquals(0, lookupSids.getPtype());
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, lookupSids.getFlags());
        }
    
        @Test
        void constructor_shouldHandleSingleSid() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

                assertEquals(entries1[i].getName(), entries2[i].getName());
                assertEquals(entries2[i].getName(), entries3[i].getName());
                assertEquals(entries1[i].getType(), entries2[i].getType());
                assertEquals(entries2[i].getType(), entries3[i].getType());
            }
        }
    
        @Test
        @DisplayName("Verify proper inheritance and interface implementation")
        void testInheritance() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/DcerpcBindTest.java

                // Then
                assertNotNull(bindWithParams, "Constructor should create instance");
                assertEquals(0, bindWithParams.getOpnum(), "Opnum should be 0");
                assertEquals(11, bindWithParams.getPtype(), "Ptype should be 11 for bind message");
                assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, bindWithParams.getFlags(),
                        "Flags should be set for first and last fragment");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfoTest.java

        }
    
        @Test
        void testConstructor() {
            // Verify constructor properly initializes the object
            assertNotNull(msrpcShareGetInfo);
            assertEquals(0, msrpcShareGetInfo.getPtype());
            assertEquals(DcerpcConstants.DCERPC_FIRST_FRAG | DcerpcConstants.DCERPC_LAST_FRAG, msrpcShareGetInfo.getFlags());
    
            // Verify parent class initialization
            assertNotNull(msrpcShareGetInfo.info);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

        @Nested
        @DisplayName("Getter Tests")
        class GetterTests {
    
            @Test
            @DisplayName("getPtype should return correct packet type")
            void testGetPtype() {
                message.ptype = DcerpcConstants.RPC_PT_REQUEST;
                assertEquals(DcerpcConstants.RPC_PT_REQUEST, message.getPtype());
            }
    
            @Test
            @DisplayName("getFlags should return correct flags")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

        public ClassMetaData(String className, String packageName, MetaType metaType, boolean isGroovy, String rawClassComment) {
            super(rawClassComment);
            this.className = className;
            this.packageName = packageName;
            this.metaType = metaType;
            this.isGroovy = isGroovy;
        }
    
        public ClassMetaData(String className) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java

            visitTypeDeclaration(annotationDeclaration, repository, MetaType.ANNOTATION, () -> {
                super.visit(annotationDeclaration, repository);
            });
        }
    
        private void visitTypeDeclaration(TypeDeclaration<?> typeDeclaration, ClassMetaDataRepository<ClassMetaData> repository, ClassMetaData.MetaType metaType, Runnable action) {
            if (!typeDeclaration.isPublic()) {
                return;
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Mon Aug 19 15:07:24 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains userResult = new PersistedToolchains();
            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
            props.put("key", "global_value");
            toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/testing/NullPointerTester.java

          Parameter param = params.get(i);
          if (i != indexOfParamToSetToNull) {
            args[i] = getDefaultValue(param.getType());
            Assert.assertTrue(
                "Can't find or create a sample instance for type '"
                    + param.getType()
                    + "'; please provide one using NullPointerTester.setDefault()",
                args[i] != null || isNullable(param));
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

          Parameter param = params.get(i);
          if (i != indexOfParamToSetToNull) {
            args[i] = getDefaultValue(param.getType());
            Assert.assertTrue(
                "Can't find or create a sample instance for type '"
                    + param.getType()
                    + "'; please provide one using NullPointerTester.setDefault()",
                args[i] != null || isNullable(param));
          }
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Jul 14 14:44:08 UTC 2025
    - 24.9K bytes
    - Viewed (0)
Back to top