Search Options

Results per page
Sort
Preferred Languages
Advance

Results 361 - 370 of 2,990 for Shouldn (0.05 sec)

  1. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

            // Test Unicode configuration is enabled by default
            assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default");
        }
    
        @Test
        public void testAsciiConfiguration() throws Exception {
            Configuration asciiCfg = new OffUnicodeConfig();
            assertFalse(asciiCfg.isUseUnicode(), "Unicode should be disabled in ASCII config");
        }
    
        @Test
        public void testUnicodeEncoding() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/ndr/NdrLongTest.java

            assertEquals(positiveValue, ndrLongPositive.value, "Constructor should correctly initialize with a positive value.");
    
            // Test case 2: Negative value
            int negativeValue = -54321;
            NdrLong ndrLongNegative = new NdrLong(negativeValue);
            assertEquals(negativeValue, ndrLongNegative.value, "Constructor should correctly initialize with a negative value.");
    
            // Test case 3: Zero value
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java

            assertEquals(2, problems.size(), "Should collect both problems");
            assertEquals(Problem.Severity.ERROR, problems.get(0).getSeverity(), "First problem should be ERROR");
            assertEquals("Error message", problems.get(0).getMessage(), "First problem should have correct message");
            assertEquals(Problem.Severity.WARNING, problems.get(1).getSeverity(), "Second problem should be WARNING");
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jul 20 20:19:43 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/transport/MessageTest.java

        }
    
        @Test
        void testRetainPayload() {
            // Initially, retainPayload should be false
            assertFalse(message.isRetainPayload(), "isRetainPayload should be false initially");
    
            // Call retainPayload and check if it becomes true
            message.retainPayload();
            assertTrue(message.isRetainPayload(), "isRetainPayload should be true after calling retainPayload");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractService.java

      /**
       * This method should be used to initiate service shutdown. The invocation of this method should
       * cause a call to {@link #notifyStopped()}, either during this method's run, or after it has
       * returned. If shutdown fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
       * <p>This method should return promptly; prefer to do work on a different thread where it is
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNTCreateAndXTest.java

        }
    
        @Test
        @DisplayName("addFlags0 combines flags correctly")
        void addFlags0() {
            SmbComNTCreateAndX req = createRequest(0, 0);
            req.addFlags0(0x10);
            int flags0 = (int) getPrivateField(req, "flags0");
            assertTrue((flags0 & 0x10) != 0, "flag should be set after addFlags0");
            // Calling again should combine rather than overwrite
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // -1 as unsigned short should be 65535
                assertEquals((short) -1, bb.getShort());
                assertEquals(65535, Short.toUnsignedInt((short) -1));
            }
        }
    
        @Nested
        @DisplayName("Integration Tests with SMBUtil")
        class SMBUtilIntegrationTests {
    
            @Test
            @DisplayName("Should use SMBUtil.writeInt2 for referral level")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractIteratorTest.java

                  case 0:
                    return 0;
                  case 1:
                    return 1;
                  case 2:
                    return endOfData();
                  default:
                    throw new AssertionError("Should not have been invoked again");
                }
              }
            };
    
        assertTrue(iter.hasNext());
        assertEquals(0, (int) iter.next());
    
        // verify idempotence of hasNext()
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  9. tests/query_test.go

    	if result.ID != 0 {
    		t.Errorf("Should not have ID because only selected name, %+v", result.ID)
    	}
    
    	if user.Name != result.Name {
    		t.Errorf("Should have user Name when selected it")
    	}
    
    	var result2 User
    	DB.Where("name = ?", user.Name).Select("name as name").Find(&result2)
    	if result2.ID != 0 {
    		t.Errorf("Should not have ID because only selected name, %+v", result2.ID)
    	}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java

            protocolHelper.addWebProtocol("http");
            assertEquals(2, protocolHelper.getWebProtocols().length); // Should not increase
    
            protocolHelper.addWebProtocol("https");
            assertEquals(2, protocolHelper.getWebProtocols().length); // Should not increase
        }
    
        public void test_addFileProtocol_newProtocol() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 21.5K bytes
    - Viewed (0)
Back to top