Search Options

Results per page
Sort
Preferred Languages
Advance

Results 521 - 530 of 1,141 for assertTrue (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetReadsTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testElementSet_contains() {
        assertTrue(
            "multiset.elementSet().contains(present) returned false",
            getMultiset().elementSet().contains(e0()));
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testEntrySet_contains() {
        assertTrue(
            "multiset.entrySet() didn't contain [present, 1]",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/DcerpcMessageTest.java

                assertTrue(message.isFlagSet(DcerpcConstants.RPC_C_PF_BROADCAST));
    
                // Test with multiple flags, one is set
                message.flags = DcerpcConstants.RPC_C_PF_BROADCAST | DcerpcConstants.RPC_C_PF_NO_FRAGMENT;
                assertTrue(message.isFlagSet(DcerpcConstants.RPC_C_PF_BROADCAST));
                assertTrue(message.isFlagSet(DcerpcConstants.RPC_C_PF_NO_FRAGMENT));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CronExpressionTest.java

            bean.setCronExpression(null);
            Set<ConstraintViolation<TestBean>> violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    
            // Test empty string (should be valid)
            bean.setCronExpression("");
            violations = validator.validate(bean);
            assertTrue(violations.isEmpty());
    
            // Test blank string (should be valid)
            bean.setCronExpression("   ");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ListsTest.java

      }
    
      public void testCartesianProduct_contains() {
        List<List<Integer>> actual = cartesianProduct(list(1, 2), list(3, 4));
        assertTrue(actual.contains(list(1, 3)));
        assertTrue(actual.contains(list(1, 4)));
        assertTrue(actual.contains(list(2, 3)));
        assertTrue(actual.contains(list(2, 4)));
        assertFalse(actual.contains(list(3, 1)));
      }
    
      public void testCartesianProduct_indexOf() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt

      }
    
      @Test
      fun testVersion() {
        val version = Conscrypt.version()
    
        assertTrue(ConscryptPlatform.atLeastVersion(1, 4, 9))
        assertTrue(ConscryptPlatform.atLeastVersion(version.major()))
        assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor()))
        assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch()))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            });
        }
    
        @Test
        @DisplayName("Should correctly inherit from ServerMessageBlock2Request")
        void testInheritance() {
            // Then
            assertTrue(request instanceof ServerMessageBlock2Request);
            assertTrue(request instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Should maintain immutability of structure size")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/SmbComTransactionTest.java

            transaction.reset();
    
            // Verify state is reset
            assertTrue(transaction.hasMoreElements(), "hasMoreElements should be true after reset");
        }
    
        @Test
        @DisplayName("Test reset(int, String) method")
        void testResetWithParameters() {
            // Test overloaded reset method
            transaction.reset(123, "lastTest");
            assertTrue(transaction.hasMoreElements(), "hasMoreElements should be true after reset");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            LdapOperationException exception = new LdapOperationException("Test");
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_serialVersionUID() {
            // Test that exception is serializable
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            // Test as Encodable
            assertTrue(fileInfo instanceof jcifs.Encodable);
            int size = fileInfo.size();
            assertTrue(size > 0);
    
            byte[] encodeBuffer = new byte[size];
            int encoded = fileInfo.encode(encodeBuffer, 0);
            assertEquals(size, encoded);
    
            // Test as Decodable
            assertTrue(fileInfo instanceof jcifs.Decodable);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            TestIterator it = TestIterator.create(tree, parent, "*", null, 0, initial, List.of(new FileEntry[][] { page1 }));
    
            // Act + Assert
            assertTrue(it.hasNext());
            assertEquals("a", it.next().getName(), "First element should be initial from open()");
            assertTrue(it.hasNext());
            assertEquals("b", it.next().getName(), "Next element should skip '.' and '..'");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
Back to top