Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 775 for units (0.01 sec)

  1. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            byte[] nodeAddress = addrEntry[0].getAddress();
            assertNotNull(nodeAddress, "Node address should not be null");
            // Note: Cannot test isGroupAddress() and getNodeType() without CIFSContext in unit test
            // These methods require network operations and are integration test material
        }
    
        @Test
        void readRDataWireFormat_shouldSetNbtAddress_whenAddressIsNonZero_groupNameTrue_nodeTypeNonZero()
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt

       *
       * https://github.com/oracle/graal/issues/3008
       */
      @JvmStatic
      fun Throwable.assertSuppressed(block: (List<@JvmSuppressWildcards Throwable>) -> Unit) {
        if (isGraalVmImage) return
        block(suppressed.toList())
      }
    
      @JvmStatic
      fun threadFactory(name: String): ThreadFactory =
        object : ThreadFactory {
          private var nextId = 1
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/witness/WitnessEnumTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for witness protocol enumerations.
     */
    public class WitnessEnumTest {
    
        @Test
        void testWitnessServiceTypes() {
            assertEquals(4, WitnessServiceType.values().length);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationResponseTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import java.util.Date;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    /**
     * Unit tests for the SmbComQueryInformationResponse class.
     */
    public class SmbComQueryInformationResponseTest {
    
        private SmbComQueryInformationResponse response;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/TransWaitNamedPipeTest.java

    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.mockito.MockitoAnnotations;
    
    /**
     * Unit tests for the {@link TransWaitNamedPipe} transaction.
     * The transaction is package private, so the test class lives in the
     * same package to access its fields.
     */
    public class TransWaitNamedPipeTest {
    
        @BeforeEach
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/validation/FessActionValidatorTest.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.validation;
    
    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.lastaflute.core.message.UserMessages;
    import org.lastaflute.core.message.supplier.UserMessagesCreator;
    import org.lastaflute.web.servlet.request.RequestManager;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

            println(message.message + " (skipped output)")
          }
          else -> println(message)
        }
      }
    
      fun enableJsseDebugLogging(debugHandler: (JsseDebugMessage) -> Unit = this::quietDebug): Closeable {
        System.setProperty("javax.net.debug", "")
        return OkHttpDebugLogging.enable(
          "javax.net.ssl",
          object : Handler() {
            override fun publish(record: LogRecord) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/base/CharsetsTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import java.nio.charset.Charset;
    import java.util.Arrays;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link Charsets}.
     *
     * @author Mike Bostock
     */
    @GwtCompatible
    @NullUnmarked
    public class CharsetsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // Non-UTF-8 Charset
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/TestLogHandlerTest.java

    import java.util.logging.Level;
    import java.util.logging.LogRecord;
    import java.util.logging.Logger;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link TestLogHandler}.
     *
     * @author kevinb
     */
    @NullUnmarked
    public class TestLogHandlerTest extends TestCase {
    
      private TestLogHandler handler;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/ForwardingExecutorServiceTest.java

    import java.util.concurrent.ExecutorService;
    import java.util.concurrent.SynchronousQueue;
    import java.util.concurrent.ThreadPoolExecutor;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /** Unit tests for {@link ForwardingExecutorService} */
    @NullUnmarked
    public class ForwardingExecutorServiceTest extends TestCase {
      public void testForwarding() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 18:45:52 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top