Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 863 for verifyCn (0.14 sec)

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

            // Then
            assertNotNull(msrpcSamrOpenAlias, "MsrpcSamrOpenAlias object should not be null");
    
            // Verify that ptype and flags are set correctly using reflection
            try {
                java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype");
                ptypeField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/util/SMBUtilTest.java

            assertEquals(24, SMBUtil.SMB_HEADER.length);
    
            // Verify SMB header signature
            assertEquals((byte) 0xFF, SMBUtil.SMB_HEADER[0]);
            assertEquals((byte) 'S', SMBUtil.SMB_HEADER[1]);
            assertEquals((byte) 'M', SMBUtil.SMB_HEADER[2]);
            assertEquals((byte) 'B', SMBUtil.SMB_HEADER[3]);
    
            // Verify remaining bytes are zeros
            for (int i = 4; i < 24; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

    import java.util.concurrent.Executors;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.atomic.AtomicInteger;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Security-focused test cases for BufferCache to verify buffer overflow protection.
     */
    public class BufferCacheSecurityTest {
    
        /**
         * Test that buffer allocation validates size to prevent overflow.
         */
        @Test
        public void testBufferSizeValidation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. ci/official/debug_tfci.sh

    # limitations under the License.
    # ==============================================================================
    # This script dumps some information about the environment. It's most useful
    # for verifying changes to the TFCI scripts system, and most users won't need
    # to interact with it at all.
    source "${BASH_SOURCE%/*}/utilities/setup.sh"
    
    echo "==TFCI== env outside of tfrun:"
    env
    echo "==TFCI== env inside of tfrun:"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Wed Nov 01 19:54:25 UTC 2023
    - 1022 bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

        public void testAllFieldsArePublic() {
            // Get all declared fields
            Field[] fields = ServerData.class.getDeclaredFields();
    
            // Verify we have the expected number of fields
            assertEquals(19, fields.length);
    
            // Verify all fields are public
            for (Field field : fields) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/entity/PingResponseTest.java

        }
    
        public void test_getStatus_returnsCorrectValue() {
            // Since we cannot easily create a real ClusterHealthResponse without a running cluster,
            // we'll test the class behavior through unit tests that verify the logic
            // The actual integration with ClusterHealthResponse is tested in integration tests
    
            // Test that the constructor and getters work with proper setup
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

                field.setAccessible(true);
                long actualInterval = (Long) field.get(dataIndexHelper);
                assertEquals(interval, actualInterval);
            } catch (Exception e) {
                fail("Failed to verify crawlingExecutionInterval: " + e.getMessage());
            }
        }
    
        public void test_setCrawlerPriority() {
            int priority = Thread.NORM_PRIORITY; // Use normal priority for tests
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // Then
            assertNotNull(smbComTreeDisconnect);
            assertEquals(ServerMessageBlock.SMB_COM_TREE_DISCONNECT, smbComTreeDisconnect.getCommand());
            verify(mockConfig).getPid(); // Verify getPid was called
        }
    
        /**
         * Test writeParameterWordsWireFormat returns 0
         */
        @Test
        @DisplayName("Test writeParameterWordsWireFormat always returns 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

          Map<Integer, Integer> model = new HashMap<>();
          putModel(model, range, 1);
          RangeMap<Integer, Integer> test = TreeRangeMap.create();
          test.put(range, 1);
          verify(model, test);
        }
      }
    
      public void testAllRangePairs() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
            Map<Integer, Integer> model = new HashMap<>();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 30K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java

            assertNotNull(result);
    
            // Verify the result contains expected components
            assertTrue(result.startsWith("SmbComDelete["));
            assertTrue(result.contains("searchAttributes=0x"));
            assertTrue(result.contains("fileName=" + TEST_FILE_NAME));
    
            // Get private searchAttributes field to verify the hex value
            int searchAttributes = getSearchAttributes(smbComDelete);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top