Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 1,252 for best (0.04 sec)

  1. impl/maven-core/src/test/projects/lifecycle-executor/project-with-additional-lifecycle-elements/src/test/java/org/apache/maven/lifecycle/test/AppTest.java

    package org.apache.maven.lifecycle.test;
    
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    
    /**
     * Unit test for simple App.
     */
    public class AppTest
        extends TestCase
    {
        /**
         * Create the test case
         *
         * @param testName name of the test case
         */
        public AppTest( String testName )
        {
            super( testName );
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 657 bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/transport/ConnectionTimeoutExceptionTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    import org.junit.jupiter.api.Test;
    
    class ConnectionTimeoutExceptionTest {
    
        @Test
        void testNoArgsConstructor() {
            // Test the no-argument constructor
            ConnectionTimeoutException exception = new ConnectionTimeoutException();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            assertFalse(Arrays.equals(signingKey, signingKey311), "Should be different from SMB 3.1.1 key");
        }
    
        @Test
        @DisplayName("Should derive keys with specific test vectors")
        void testDeriveKeys_TestVectors() {
            // Given - Use known test vector (simplified for demonstration)
            byte[] testSessionKey = new byte[16];
            Arrays.fill(testSessionKey, (byte) 0xAA);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        }
    
        @Test
        @DisplayName("Should handle null protocol ID")
        void testNullProtocolId() {
            // Protocol ID is a constant in transform header, not settable
            // This test is not applicable - the protocol ID is always TRANSFORM_PROTOCOL_ID
            assertTrue(true);
        }
    
        @Test
        @DisplayName("Should handle invalid protocol ID length")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt

    import java.util.concurrent.atomic.AtomicReference
    import org.junit.jupiter.api.Test
    
    class TagsTest {
      @Test
      fun emptyTags() {
        val tags = EmptyTags
        assertThat(tags[String::class]).isNull()
      }
    
      @Test
      fun singleElement() {
        val tags = EmptyTags.plus(String::class, "hello")
        assertThat(tags[String::class]).isEqualTo("hello")
      }
    
      @Test
      fun multipleElements() {
        val tags =
          EmptyTags
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

        }
    
        @Test
        void testMsrpcShareInfo1ConstructorAndGetters() throws Exception {
            // Create a ShareInfo1 object
            srvsvc.ShareInfo1 shareInfo1 = new srvsvc.ShareInfo1();
            shareInfo1.netname = "TestShare";
            shareInfo1.type = 0;
            shareInfo1.remark = "Test remark";
    
            // Test MsrpcShareInfo1 inner class
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

          test.getMethod("setUp").invoke(testInstance);
          test.getMethod(getName()).invoke(testInstance);
          test.getMethod("tearDown").invoke(testInstance);
        } finally {
          Thread.currentThread().setContextClassLoader(oldClassLoader);
        }
      }
    
      private void checkHelperVersion(ClassLoader classLoader, String expectedHelperClassName)
          throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/graph/GraphPropertiesTest.java

        directedNetwork = mutableDirectedNetwork;
        undirectedNetwork = mutableUndirectedNetwork;
      }
    
      @Test
      public void hasCycle_emptyGraph() {
        assertThat(hasCycle(directedGraph)).isFalse();
        assertThat(hasCycle(undirectedGraph)).isFalse();
      }
    
      @Test
      public void hasCycle_isolatedNodes() {
        for (MutableGraph<Integer> graph : graphsToTest) {
          graph.addNode(1);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. okhttp-idna-mapping-table/src/test/kotlin/okhttp3/internal/idn/MappingTablesTest.kt

    import assertk.assertions.isEqualTo
    import okhttp3.internal.idn.MappedRange.InlineDelta
    import okio.Buffer
    import okio.ByteString
    import okio.ByteString.Companion.encodeUtf8
    import org.junit.jupiter.api.Test
    
    class MappingTablesTest {
      @Test fun simplifyCombinesMultipleMappings() {
        assertThat(
          mergeAdjacentRanges(
            listOf(
              Mapping(0x0232, 0x0232, TYPE_MAPPED, "a".encodeUtf8()),
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            conditionalRule.setRuleId("conditional");
            testRule.setRuleId("test");
    
            assertEquals("conditional", conditionalRule.getRuleId());
            assertEquals("test", testRule.getRuleId());
        }
    
        /**
         * Test protected field access
         */
        public void test_protectedFieldAccess() {
            // Test direct field access (protected fields)
            TestAbstractRule rule = new TestAbstractRule();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
Back to top