Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for testname1 (0.04 sec)

  1. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            classes.add(cls);
          }
        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
          try {
            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java

            private TestCreateContextRequest testRequest;
            private byte[] testName;
            private byte[] testBuffer;
    
            @BeforeEach
            void setUp() {
                testName = "CREATE_REQUEST_TEST".getBytes(StandardCharsets.UTF_8);
                testRequest = new TestCreateContextRequest(testName);
                testBuffer = new byte[256];
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

            classes.add(cls);
          }
        }
        return classes;
      }
    
      private static boolean hasTest(Class<?> testClass, Iterable<String> testNames) {
        for (String testName : testNames) {
          try {
            testClass.getMethod(testName);
            return true;
          } catch (NoSuchMethodException e) {
            continue;
          }
        }
        return false;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java

            private TestCreateContextResponse testResponse;
            private byte[] testName;
            private byte[] testBuffer;
    
            @BeforeEach
            void setUp() {
                testName = "CREATE_CONTEXT_TEST".getBytes(StandardCharsets.UTF_8);
                testResponse = new TestCreateContextResponse(testName);
                testBuffer = new byte[256];
                Arrays.fill(testBuffer, (byte) 0x42);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NameTest.java

        }
    
        @Test
        void getName_shouldReturnName() {
            Name name = new Name(mockConfig, "TestName", 0x20, null);
            assertEquals("TESTNAME", name.getName());
        }
    
        @Test
        void getScope_shouldReturnScope() {
            Name name = new Name(mockConfig, "TestName", 0x20, "test.scope");
            assertEquals("test.scope", name.getScope());
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            assertEquals(originalHexCode, mockName.hexCode);
        }
    
        @Test
        void writeBodyWireFormat_withRealName_shouldWriteCorrectly() {
            // Arrange
            Name realName = new Name(mockConfig, "TESTNAME", 0x20, "test.scope");
            nodeStatusRequest = new NodeStatusRequest(mockConfig, realName);
            byte[] dst = new byte[200];
    
            // Act
            int result = nodeStatusRequest.writeBodyWireFormat(dst, 10);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      BeforeEachCallback,
      AfterEachCallback {
      private val clientEventsList = mutableListOf<String>()
      private var testClient: OkHttpClient? = null
      private var uncaughtException: Throwable? = null
      private lateinit var testName: String
      private var defaultUncaughtExceptionHandler: Thread.UncaughtExceptionHandler? = null
      private var taskQueuesWereIdle: Boolean = false
      private val connectionListener = RecordingConnectionListener()
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals(expectedString, packet.toString());
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

        void testServerInfo1GetName() throws Exception {
            NetServerEnum2Response.ServerInfo1 server = response.new ServerInfo1();
            String testName = "TESTSERVER";
            server.name = testName;
            assertEquals(testName, server.getName());
        }
    
        @Test
        @DisplayName("Test ServerInfo1 getAttributes")
        void testServerInfo1GetAttributes() throws Exception {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

        @Test
        @DisplayName("Test reset with key and lastName")
        void testResetWithKeyAndLastName() {
            // Reset with parameters should not throw exception
            assertDoesNotThrow(() -> transaction.reset(123, "testName"));
    
            // Transaction should be ready for reuse
            assertTrue(transaction.hasMoreElements());
        }
    
        @Test
        @DisplayName("Test hasMoreElements")
        void testHasMoreElements() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
Back to top