Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for testOf4 (0.18 sec)

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

      public void testOf0() {
        assertThat(ImmutableLongArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableLongArray.of(0).asList()).containsExactly(0L);
      }
    
      public void testOf2() {
        assertThat(ImmutableLongArray.of(0, 1).asList()).containsExactly(0L, 1L).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      public void testOf0() {
        assertThat(ImmutableIntArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableIntArray.of(0).asList()).containsExactly(0);
      }
    
      public void testOf2() {
        assertThat(ImmutableIntArray.of(0, 1).asList()).containsExactly(0, 1).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testOf0() {
        assertThat(ImmutableDoubleArray.of().asList()).isEmpty();
      }
    
      public void testOf1() {
        assertThat(ImmutableDoubleArray.of(0).asList()).containsExactly(0.0);
      }
    
      public void testOf2() {
        assertThat(ImmutableDoubleArray.of(0, 1).asList()).containsExactly(0.0, 1.0).inOrder();
      }
    
      public void testOf3() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/DfsTest.java

        private Dfs dfs;
        private TestDfs testDfs;
    
        private MockedStatic<LogStream> logStreamMockedStatic;
        private MockedStatic<UniAddress> uniAddressMockedStatic;
        private MockedStatic<SmbTransport> smbTransportMockedStatic;
        private MockedStatic<Config> configMockedStatic;
    
        // Test subclass to control DISABLED flag
        private static class TestDfs extends Dfs {
            private boolean disabled;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/CryptoTest.java

            // Then
            assertNotNull(result);
            assertTrue(result.length > 0, "HMAC-T64 should produce non-empty result");
        }
    
        @Test
        @DisplayName("Should perform RC4 encryption/decryption")
        void testRC4() throws Exception {
            // Given
            byte[] key = "testkey123456789".getBytes(); // 16 bytes
            byte[] plaintext = "This is a test message for RC4".getBytes();
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbTreeImplTest.java

            SmbTreeImpl tree3 = new SmbTreeImpl(session, "COMM", "COMM");
            assertEquals(SmbConstants.TYPE_COMM, tree3.getTreeType());
        }
    
        // Test case for DFS related methods
        @Test
        void testDfs() throws SmbException {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertFalse(tree.isDfs());
            assertFalse(tree.isInDomainDfs());
            tree.markDomainDfs();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/ResourceManagerTest.java

        }
    
        @Test
        @DisplayName("Test managed resource prevents use after close")
        void testManagedResourceUseAfterClose() throws Exception {
            TestResource resource = new TestResource("test4");
            ResourceManager.ManagedResource<TestResource> managed = resourceManager.manage(resource);
    
            managed.close();
            assertTrue(resource.isClosed());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

        void testDecodeBytesConsumed() throws SMBProtocolDecodingException {
            // Prepare test data
            String filename = "testfile.txt";
            byte[] buffer = createValidBuffer(filename, "TESTFI~1.TXT", true);
    
            // Decode and check return value
            int bytesConsumed = fileBothDirectoryInfo.decode(buffer, 0, buffer.length);
    
            // Verify bytes consumed matches the actual data size
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

                    .build())
            .addEqualityGroup(
                ImmutableSetMultimap.<String, Integer>builder().put("bar", 2).put("foo", 3).build())
            .testEquals();
      }
    
      public void testOf() {
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
Back to top