Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NullPointer (0.31 sec)

  1. src/test/java/org/codelibs/fess/score/ScoreUpdaterTest.java

            scoreUpdater.addScoreBooster(booster);
    
            String result = scoreUpdater.execute();
            // NullPointerException message should be captured
            assertTrue(result.contains("null") || result.contains("NullPointer"));
        }
    
        // Test with negative priority
        public void test_addScoreBooster_negativePriority() {
            PriorityTrackingBooster booster1 = new PriorityTrackingBooster(-1, 100L);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            // Arrange - use non-transact, non-call pipe type
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(SmbPipeResource.PIPE_TYPE_RDWR, "\\\\pipe\\\\x");
    
            // Setup for ensureOpen to avoid NullPointer
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(false); // Set to SMB1 to avoid SMB2 ioctl path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
Back to top