Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 3,771 for test (0.11 sec)

  1. guava-tests/test/com/google/common/math/BigIntegerMathTest.java

        new RoundToDoubleTester(BigInteger.ZERO).setExpectation(0.0, RoundingMode.values()).test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
      public void testRoundToDouble_smallPositive() {
        new RoundToDoubleTester(BigInteger.valueOf(16))
            .setExpectation(16.0, RoundingMode.values())
            .test();
      }
    
      @J2ktIncompatible
      @GwtIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Nov 19 01:35:24 UTC 2025
    - 27.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

        }
    
        @Test
        void testConstructor() {
            // Test if the offsets are initialized correctly by the constructor.
            assertEquals(69, smbComNtTransaction.primarySetupOffset, "primarySetupOffset should be initialized to 69");
            assertEquals(51, smbComNtTransaction.secondaryParameterOffset, "secondaryParameterOffset should be initialized to 51");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

        }
    
        @Test
        public void testWriteParameterWordsWireFormat() {
            assertEquals(0, response.writeParameterWordsWireFormat(new byte[0], 0));
        }
    
        @Test
        public void testWriteBytesWireFormat() {
            assertEquals(0, response.writeBytesWireFormat(new byte[0], 0));
        }
    
        @Test
        public void testReadBytesWireFormat() {
            assertEquals(0, response.readBytesWireFormat(new byte[0], 0));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/fscc/BasicFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test FileBasicInfo size method")
        void testFileBasicInfoSize() {
            // Given
            FileBasicInfo info = new FileBasicInfo();
    
            // When & Then
            assertEquals(40, info.size());
        }
    
        @Test
        @DisplayName("Test FileBasicInfo toString method")
        void testFileBasicInfoToString() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/StringUtilTest.java

    import static org.junit.Assert.assertThat;
    import static org.junit.Assert.assertTrue;
    
    import java.lang.reflect.Method;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class StringUtilTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testReplace() throws Exception {
            assertEquals("1", "1bc45", StringUtil.replace("12345", "23", "bc"));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/entity/ElevateWordTest.java

    import java.util.List;
    
    import org.junit.Before;
    import org.junit.Test;
    
    public class ElevateWordTest {
    
        private ElevateWord elevateWord;
    
        @Before
        public void setUp() {
            // Setup for each test
        }
    
        @Test
        public void testConstructorWithAllParameters() {
            // Test constructor with all parameters
            String word = "test word";
            float boost = 2.5f;
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 16K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/resources/poms/validation/bad-plugin-version.xml

      <build>
        <plugins>
          <plugin>
            <groupId>test</groupId>
            <artifactId>good</artifactId>
            <version>1.0</version>
          </plugin>
          <plugin>
            <groupId>test</groupId>
            <artifactId>mip</artifactId>
            <version>${missing.property}</version>
          </plugin>
          <plugin>
            <groupId>test</groupId>
            <artifactId>rmv</artifactId>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/SecureCredentialStorageTest.java

    import javax.security.auth.DestroyFailedException;
    
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.TestInstance;
    import org.junit.jupiter.api.TestInstance.Lifecycle;
    
    /**
     * Test cases for SecureCredentialStorage
     */
    @TestInstance(Lifecycle.PER_METHOD)
    public class SecureCredentialStorageTest {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/ResourceIncludeTest.java

            // Add an include - this should work now
            resource.addInclude("test");
    
            // Verify the include was added
            assertEquals(1, resource.getIncludes().size(), "Should have one include");
            assertEquals("test", resource.getIncludes().get(0), "Include should be 'test'");
    
            // Verify that getting resources again still shows the include
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 07 13:11:07 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/dcerpc/ndr/NdrHyperTest.java

         */
        @Test
        @DisplayName("Encode with null buffer throws NullPointerException")
        public void testEncodeNullBuffer() throws NdrException {
            NdrHyper hyper = new NdrHyper(5L);
            assertThrows(NullPointerException.class, () -> hyper.encode(null));
        }
    
        /**
         * Ensure decode throws NPE when passed a null buffer.
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.3K bytes
    - Viewed (0)
Back to top