- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 2,565 for correct (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/org/codelibs/fess/ldap/LdapUserTest.java
// Test constructor initializes fields correctly LdapUser user = new LdapUser(testEnv, "username"); assertEquals("username", user.getName()); assertSame(testEnv, user.getEnvironment()); assertNull(user.permissions); } @Test public void test_getName() { // Test getName returns the correct name assertEquals("testuser", ldapUser.getName());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
} @Test @DisplayName("Test decode reads correct number of bytes") void testDecodeReadsCorrectBytes() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; // Fill with pattern to verify we read correct bytes for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i + 1); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.2K bytes - Click Count (0) -
docs/ru/llm-prompt.md
Translate to Russian (русский язык). Language code: ru. --- Use a neutral tone (not overly formal or informal). Use correct Russian grammar — appropriate cases, suffixes, and endings depending on context. For the following technical terms, use these specific translations to ensure consistency and clarity across the documentation:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Jan 22 07:07:05 GMT 2026 - 6.5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java
// Apply dependency inference UpgradeContext context = createMockContext(); strategy.doApply(context, pomMap); // Verify correct behavior when version doesn't match: // - groupId should be removed (can be inferred from project regardless of version) // - version should remain (doesn't match project version, so can't be inferred)Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 35.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseKeyTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @DisplayName("Smb2LeaseKey Tests") class Smb2LeaseKeyTest { @Test @DisplayName("Should generate random lease key with correct size") void testRandomLeaseKeyGeneration() { Smb2LeaseKey key = new Smb2LeaseKey(); assertNotNull(key.getKey()); assertEquals(16, key.getKey().length); assertFalse(key.isZero());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 00:16:17 GMT 2025 - 6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
protected void tearDown(TestInfo testInfo) throws Exception { super.tearDown(testInfo); } @Test public void test_getQueryClassName() { // Test that getQueryClassName returns the correct class name String className = matchAllQueryCommand.getQueryClassName(); assertEquals("MatchAllDocsQuery", className); assertEquals(MatchAllDocsQuery.class.getSimpleName(), className); }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java
String inner = s.substring("SmbComLogoffAndX[".length(), s.length() - 1); assertFalse(inner.isEmpty(), "inner part of toString should not be empty"); } @Test @DisplayName("constructor sets correct command value") void constructorSetsCorrectCommand() { SmbComLogoffAndX msg = new SmbComLogoffAndX(null); assertNotNull(msg, "Message should not be null"); // SMB_COM_LOGOFF_ANDX = 0x74
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.8K bytes - Click Count (0) -
docs/en/docs/advanced/async-tests.md
Let's look at how we can make that work. ## pytest.mark.anyio { #pytest-mark-anyio }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 3.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/SmallCharMatcher.java
* can hold setSize elements with the desired load factor. */ @VisibleForTesting static int chooseTableSize(int setSize) { if (setSize == 1) { return 2; } // Correct the size for open addressing to match desired load factor. // Round up to the next highest power of 2. int tableSize = Integer.highestOneBit(setSize - 1) << 1; while (tableSize * DESIRED_LOAD_FACTOR < setSize) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 03:49:18 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
// Verify content assertArrayEquals(new byte[] { (byte) 0xFF, 0x01, 0x02, 0x03, 0x00 }, dest, "Encoded bytes should be placed at the correct offset"); } @Test void testEncodeZeroLength() { // Test encoding with zero length byte[] data = { 0x01, 0x02, 0x03 }; ByteEncodable encodable = new ByteEncodable(data, 0, 0);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0)