Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for testOf4 (0.16 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/org/codelibs/core/collection/ArrayMapTest.java

        public void testPutAll() throws Exception {
            Map<String, String> m = new HashMap<String, String>();
            m.put("3", "test3");
            m.put("4", "test4");
            map.putAll(m);
            assertThat(map.get("3"), is("test3"));
            assertThat(map.get("4"), is("test4"));
            assertThat(map.size(), is(5));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. src/test/java/org/codelibs/core/misc/DisposableUtilTest.java

            assertThat(count, is(3));
            assertThat(names, is("ba"));
            assertThat(DisposableUtil.disposables.size(), is(0));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void test4() throws Exception {
            DisposableUtil.add(new TestDisposable("a"));
            DisposableUtil.addFirst(new TestDisposable("b"));
            assertThat(DisposableUtil.disposables.size(), is(2));
            DisposableUtil.dispose();
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. 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)
Back to top