Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 519 for testName (0.09 sec)

  1. src/test/java/jcifs/NetbiosNameTest.java

        void testVariousNameLengths() {
            // NetBIOS names can be up to 15 characters
            String[] testNames = { "A", "SERVER", "LONGSERVERNAME", "EXACTLY15CHARS1" };
    
            for (String testName : testNames) {
                when(mockNetbiosName.getName()).thenReturn(testName);
                assertEquals(testName, mockNetbiosName.getName());
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  2. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  4. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. cmd/metacache-entries_test.go

    }
    
    func Test_metaCacheEntry_isInDir(t *testing.T) {
    	tests := []struct {
    		testName string
    		entry    string
    		dir      string
    		sep      string
    		want     bool
    	}{
    		{
    			testName: "basic-file",
    			entry:    "src/file",
    			dir:      "src/",
    			sep:      slashSeparator,
    			want:     true,
    		},
    		{
    			testName: "basic-dir",
    			entry:    "src/dir/",
    			dir:      "src/",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 31.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            TestDataStore dataStore = new TestDataStore("TestStore");
            dataStoreFactory.add("testName", dataStore);
    
            // Verify data store is registered with both the given name and class simple name
            assertNotNull(dataStoreFactory.getDataStore("testName"));
            assertNotNull(dataStoreFactory.getDataStore("testname")); // case insensitive
            assertNotNull(dataStoreFactory.getDataStore("TestDataStore"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. tests/connection_test.go

    	}
    }
    
    func getSetSQL(driverName string) (string, string) {
    	switch driverName {
    	case mysql.Dialector{}.Name():
    		return "SET @testName := ?", "SELECT @testName"
    	default:
    		return "", ""
    	}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jan 28 14:16:42 UTC 2022
    - 963 bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
Back to top