Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 526 for testers (1.55 sec)

  1. android/guava-tests/test/com/google/common/primitives/IntsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testStringConverter_nullPointerTester() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(Ints.stringConverter());
      }
    
      public void testTryParse() {
        tryParseAndAssertEquals(0, "0");
        tryParseAndAssertEquals(0, "-0");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertEquals(SOME_COLLECTION, list);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testNullPointerExceptions() {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicStaticMethods(Lists.class);
      }
    
      /**
       * This is just here to illustrate how {@code Arrays#asList} differs from {@code
       * Lists#newArrayList}.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @J2ktIncompatible
      @GwtIncompatible // NullPointerTester
      public void testStringConverter_nullPointerTester() throws Exception {
        NullPointerTester tester = new NullPointerTester();
        tester.testAllPublicInstanceMethods(Floats.stringConverter());
      }
    
      @GwtIncompatible
      public void testTryParse_withNullNoGwt() {
        assertThat(Floats.tryParse("null")).isNull();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SSPContextTest.java

                return this.established && this.integrity;
            }
        }
    
        @Nested
        @DisplayName("Happy path behavior")
        class HappyPath {
            @Test
            @DisplayName("All getters return configured values and MIC roundtrips")
            void testAllMethodsHappyPath() throws Exception {
                // Arrange
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.2K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Crc32c}. Known test values are from RFC 3720, Section B.4.
     *
     * @author Patrick Costello
     * @author Kurt Alfred Kluever
     */
    @NullUnmarked
    public class Crc32cHashFunctionTest extends TestCase {
      public void testEmpty() {
        assertCrc(0, new byte[0]);
      }
    
      public void testZeros() {
        // Test 32 byte array of 0x00.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionTest.java

                this.parametersWireFormatReturn = value;
            }
    
            public void setDataWireFormatReturn(int value) {
                this.dataWireFormatReturn = value;
            }
    
            // Getters for protected fields for testing
            public int getMaxSetupCount() {
                return maxSetupCount;
            }
    
            public void setMaxSetupCount(byte value) {
                this.maxSetupCount = value;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request.setPath("newpath\\newfile.txt");
            assertEquals("\\newpath\\newfile.txt", request.getPath());
        }
    
        @Test
        @DisplayName("Test setFullUNCPath and related getters")
        void testFullUNCPath() {
            request = new Smb2CreateRequest(mockConfig, "test\\file.txt");
    
            assertNull(request.getFullUNCPath());
            assertNull(request.getServer());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbOperationException.java

        public SmbOperationException withContext(Map<String, Object> contextMap) {
            if (contextMap != null) {
                this.context.putAll(contextMap);
            }
            return this;
        }
    
        // Getters
        public ErrorCode getErrorCode() {
            return errorCode;
        }
    
        public ErrorCategory getErrorCategory() {
            return errorCode.getCategory();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java

            assertArrayEquals(testData, response.getData());
            // The decode method returns only the header size (16 bytes)\n        assertEquals(16, bytesDecoded);
        }
    
        @Test
        @DisplayName("Test getters return initial null/zero values")
        void testInitialGetterValues() {
            // Create fresh instance
            SrvPipePeekResponse freshResponse = new SrvPipePeekResponse();
    
            // Verify initial state
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java

    import java.util.NoSuchElementException;
    import org.junit.Ignore;
    
    /**
     * Tester for navigation of SortedMultisets.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 20:14:36 UTC 2024
    - 26K bytes
    - Viewed (0)
Back to top