- Sort Score
- Num 10 results
- Language All
Results 2641 - 2650 of 5,742 for text (0.03 seconds)
-
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
} @Test void testGetters() { // Simple test for getter methods NtlmContext context = new NtlmContext(mockAuth, true); assertFalse(context.isEstablished()); assertNull(context.getServerChallenge()); assertNull(context.getSigningKey()); assertNull(context.getNetbiosName()); } @Test void testToString() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbFilenameFilterTest.java
assertTrue(filter.accept(dir, "Hello.TXT")); } @Test void acceptReturnsFalseWhenNameDoesNotMatch() throws Exception { SmbFile dir = Mockito.mock(SmbFile.class); SmbFilenameFilter filter = (d, n) -> n.equalsIgnoreCase("hello.txt"); assertFalse(filter.accept(dir, "world.txt")); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 1.6K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/BuildToolsConventionsPlugin.java
import org.gradle.api.tasks.testing.Test; import java.io.File; public class BuildToolsConventionsPlugin implements Plugin<Project> { @Override public void apply(Project project) { project.getPlugins().apply(LicenseHeadersPrecommitPlugin.class); int defaultParallel = ParallelDetector.findDefaultParallel(project); project.getTasks().withType(Test.class).configureEach(test -> {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Jun 23 09:44:49 GMT 2021 - 1.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java
String params = "test"; byte[] buffer = createBuffer(10, dataBytes, params); // Verify buffer structure assertTrue(buffer.length >= 14, "Buffer should contain header, params and data"); } @Test public void testByteOperations() { // Test byte operations that were used in the original test byte b = (byte) 0xFF; int value = b & 0xFF;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; class ByteEncodableTest { @Test void testConstructorAndSize() { // Test with a basic byte array byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 1, 3); // Verify sizeCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.5K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle_suppressions.xml
<suppress files="server[/\\]src[/\\]test[/\\]java[/\\]org[/\\]elasticsearch[/\\]plugins[/\\]PluginsServiceTests.java" checks="RedundantModifier" /> <!-- Intentionally doesn't have a package declaration to test logging configuration of classes that aren't in packages. --> <suppress files="test[/\\]framework[/\\]src[/\\]test[/\\]java[/\\]Dummy.java" checks="PackageDeclaration" />
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetIteratorTester.java
* there are multiple occurrences of elements. * * @author Louis Wasserman */ @GwtCompatible @Ignore("test runners must not instantiate and run this directly, only via suites we build") // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests. @SuppressWarnings("JUnit4ClassUsedInJUnit3") @NullMarkedCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/WitnessNotificationTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; /** * Unit tests for WitnessNotification class. */ public class WitnessNotificationTest { private WitnessNotification notification; @BeforeEach void setUp() { notification = new WitnessNotification(WitnessEventType.CLIENT_MOVE, "TestResource"); } @Test void testNotificationCreation() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 5K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/transfer/SimplexTransferListenerTest.java
} } @Test void handlesAbsentTransferSource() throws InterruptedException, TransferCancelledException { TransferResource resource = new TransferResource(null, null, "http://maven.org/test/test-resource", null, null); RepositorySystemSession session = Mockito.mock(RepositorySystemSession.class);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Feb 06 11:28:05 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.Arguments; import org.junit.jupiter.params.provider.MethodSource; import org.junit.jupiter.params.provider.ValueSource; /** * Test class for StringUtil utility methods */ class StringUtilTest { @Test @DisplayName("Should join single element without delimiter")Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9K bytes - Click Count (0)