- Sort Score
- Result 10 results
- Languages All
Results 2291 - 2300 of 4,151 for text (0.03 sec)
-
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
class EdgeCases { @Test @DisplayName("should handle null system name") void testNullSystemNameDoesNotThrow() { // Arrange SamrPolicyHandle ph = createMockPolicyHandle(); // Act & Assert assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, ph)); } @Test @DisplayName("should accept negative access mask values")Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosTokenTest.java
import org.bouncycastle.asn1.DERSequence; import org.bouncycastle.asn1.DERTaggedObject; import org.junit.jupiter.api.Test; import jcifs.pac.PACDecodingException; /** * Test class for {@link KerberosToken}. */ class KerberosTokenTest { /** * Test constructor with an empty token. */ @Test void testConstructorWithEmptyToken() { byte[] emptyToken = new byte[0];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
public void test_constructorWithNullMessage() { // Test constructor with null message GsaConfigException exception = new GsaConfigException(null); assertNotNull(exception); assertNull(exception.getMessage()); assertNull(exception.getCause()); } public void test_constructorWithNullMessageAndCause() { // Test constructor with null message and null causeRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/ExecutionList.java
final Runnable runnable; final Executor executor; @Nullable RunnableExecutorPair next; RunnableExecutorPair( Runnable runnable, Executor executor, @Nullable RunnableExecutorPair next) { this.runnable = runnable; this.executor = executor; this.next = next; } }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.CsvSource; import org.junit.jupiter.params.provider.ValueSource; import jcifs.internal.util.SMBUtil; @DisplayName("Smb2Lock Test") class Smb2LockTest { private Smb2Lock lock; private byte[] buffer; @BeforeEachRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java
File testData = getTestFile(directory); FileUtils.deleteDirectory(testData); testData.mkdirs(); Artifact artifact = artifactFactory.createProjectArtifact("test", "test", "1.0"); artifact.setFile(new File(testData, "test-1.0.pom")); assertFalse(artifact.getFile().exists()); return artifact; } private Artifact createTestArtifact(String directory, String type) throws IOException {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 12.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbSessionTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; @DisplayName("SmbSession Interface Contract Tests") class SmbSessionTest { @Nested @DisplayName("AutoCloseable Contract Tests") class AutoCloseableContractTest { @Test @DisplayName("Should implement AutoCloseable interface") void shouldImplementAutoCloseable() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLsarCloseTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.dcerpc.DcerpcConstants; import jcifs.dcerpc.rpc.policy_handle; /** * Tests for the {@link MsrpcLsarClose} class. */ class MsrpcLsarCloseTest { private policy_handle mockHandle; @BeforeEach void setUp() { // Create a mock policy_handle for each test mockHandle = mock(policy_handle.class); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/DurableHandleContextTest.java
/** * Test class for durable handle create context implementations */ public class DurableHandleContextTest { @Test public void testDurableHandleRequest() { DurableHandleRequest request = new DurableHandleRequest(); assertEquals("DHnQ", new String(request.getName())); assertTrue(request.size() > 0); // Test encodingRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 4.6K bytes - Viewed (0) -
cmd/batch-job-common-types_test.go
sizeFilter: BatchJobSizeFilter{ LowerBound: 1 << 20, }, want: true, }, } for i, test := range tests { t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) { if got := test.sizeFilter.InRange(test.objSize); got != test.want { t.Fatalf("Expected %v but got %v", test.want, got) } }) } } func TestBatchJobSizeValidate(t *testing.T) {Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Mon Jan 08 23:22:28 UTC 2024 - 3.3K bytes - Viewed (0)