Search Options

Results per page
Sort
Preferred Languages
Advance

Results 421 - 430 of 1,038 for assertTrue (0.05 sec)

  1. src/test/java/jcifs/internal/fscc/FileInternalInfoTest.java

            String result = fileInternalInfo.toString();
    
            // Verify string contains expected components
            assertNotNull(result);
            assertTrue(result.contains("SmbQueryFileInternalInfo"));
            assertTrue(result.contains("indexNumber="));
            assertTrue(result.contains(String.valueOf(expectedIndexNumber)));
        }
    
        @Test
        @DisplayName("Test toString with zero index number")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // When
            String stringRep = type3.toString();
    
            // Then
            assertNotNull(stringRep);
            assertTrue(stringRep.contains("Type3Message"));
            assertTrue(stringRep.contains("DOMAIN"));
            assertTrue(stringRep.contains("user"));
            assertTrue(stringRep.contains("WORKSTATION"));
        }
    
        @Test
        @DisplayName("Should handle parsing invalid message bytes")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/SuggesterRefactoringTest.java

            assertNotNull("Indices list should not be null", indices);
            assertEquals("Should find exactly two indices", 2, indices.size());
            assertTrue("Should contain first index", indices.contains(index1));
            assertTrue("Should contain second index", indices.contains(index2));
    
            // Cleanup
            client.admin().indices().prepareDelete(index1, index2).execute().actionGet();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

        }
    
        @Test
        void testToString() {
            // When
            String result = trans2SetFileInformation.toString();
    
            // Then
            assertTrue(result.startsWith("Trans2SetFileInformation["));
            assertTrue(result.contains("fid=" + fid));
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. impl/maven-core/src/test/java/org/apache/maven/internal/impl/PropertiesAsMapTest.java

            assertNotNull(set);
            assertEquals(2, set.size());
            Iterator<Entry<String, String>> iterator = set.iterator();
            assertNotNull(iterator);
            assertTrue(iterator.hasNext(), "Expected " + iterator + ".hasNext() to return true");
            assertTrue(iterator.hasNext(), "Expected " + iterator + ".hasNext() to return true");
            Entry<String, String> entry = iterator.next();
            assertNotNull(entry);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/ExtensionDescriptorBuilderTest.java

            ExtensionDescriptor ed = builder.build(toStream(xml));
    
            assertNotNull(ed);
            assertNotNull(ed.getExportedPackages());
            assertTrue(ed.getExportedPackages().isEmpty());
            assertNotNull(ed.getExportedArtifacts());
            assertTrue(ed.getExportedArtifacts().isEmpty());
        }
    
        @Test
        void testCompleteDescriptor() throws Exception {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // When
            String result = smbComTreeDisconnect.toString();
    
            // Then
            assertNotNull(result);
            assertTrue(result.contains("SmbComTreeDisconnect"));
            assertTrue(result.startsWith("SmbComTreeDisconnect["));
            assertTrue(result.endsWith("]"));
        }
    
        /**
         * Test toString method behavior - requires valid configuration
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link AndArtifactFilter}.
     *
     */
    class AndArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor();
        assertFalse(executor.isShutdown());
        assertFalse(executor.isTerminated());
        executor.shutdown();
        assertTrue(executor.isShutdown());
        assertTrue(executor.isTerminated());
      }
    
      public void testNoOpScheduledExecutorInvokeAll() throws ExecutionException, InterruptedException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/util/concurrent/testing/TestingExecutorsTest.java

        ListeningScheduledExecutorService executor = TestingExecutors.noOpScheduledExecutor();
        assertFalse(executor.isShutdown());
        assertFalse(executor.isTerminated());
        executor.shutdown();
        assertTrue(executor.isShutdown());
        assertTrue(executor.isTerminated());
      }
    
      public void testNoOpScheduledExecutorInvokeAll() throws ExecutionException, InterruptedException {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top