- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 914 for testi (0.02 seconds)
-
src/test/java/jcifs/pac/PacUnicodeStringTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import org.junit.jupiter.api.Test; /** * Tests for the {@link PacUnicodeString} class. */ class PacUnicodeStringTest { /** * Tests the constructor and getter methods. */ @Test void testConstructorAndGetters() { // Create a new instance with some test data short length = 10; short maxLength = 20;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java
testBlock.setUseUnicode(true); assertEquals(10, testBlock.stringWireLength("Test", 0)); assertEquals(11, testBlock.stringWireLength("Test", 1)); } @Test @DisplayName("Test read string length") void testReadStringLength() { byte[] buffer = "Test\0Other".getBytes();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 36.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java
@Nested @DisplayName("Size Calculation Tests") class SizeCalculationTests { @Test @DisplayName("Should calculate size for null ciphers") void testSizeWithNullCiphers() { EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null); assertEquals(4, context.size()); } @TestCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 20.5K bytes - Click Count (0) -
tests/tests_all.sh
then GORM_DIALECT=${dialect} go test -race -count=1 ./... if [ -d tests ] then cd tests GORM_DIALECT=${dialect} go test -race -count=1 ./... cd .. fi else GORM_DIALECT=${dialect} go test -race -count=1 -v ./... if [ -d tests ] then cd tests GORM_DIALECT=${dialect} go test -race -count=1 -v ./... cd .. fiCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Mon Jul 21 02:46:58 GMT 2025 - 1.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSetInformationResponseTest.java
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.ValueSource; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import jcifs.Configuration; /** * Tests for {@link SmbComSetInformationResponse}. * * Tests focus on the wire format methods which all return 0,Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 4.1K bytes - Click Count (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt
/** * A 'bin' distribution to test - for integration tests testing the final distributions */ @Internal val binDistributionZip = DistributionZipEnvironmentProvider(project, "bin") /** * A 'all' distribution to test - for integration tests testing the final distributions */ @Internal val allDistributionZip = DistributionZipEnvironmentProvider(project, "all")Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Aug 18 18:02:41 GMT 2025 - 7.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java
} @Nested @DisplayName("Wire Format Tests") class WireFormatTests { @Test @DisplayName("Should read parameters wire format") void testReadParametersWireFormat() { byte[] buffer = new byte[10]; int result = response.readParametersWireFormat(buffer, 0, 2); assertEquals(2, result); } @Test @DisplayName("Should write setup wire format")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/test/java/jcifs/ResolverTypeTest.java
import static org.junit.jupiter.api.Assertions.assertNotNull; import org.junit.jupiter.api.Test; /** * Tests for the {@link ResolverType} enum. * This class ensures that the enum constants are defined as expected. */ class ResolverTypeTest { /** * Tests that all expected enum constants exist. */ @Test void testEnumConstants() { // Verify that each enum constant exists and can be referencedCreated: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; /** * Comprehensive test suite for jcifs.SmbResource interface. * Tests SMB resource interface contract and functionality for CIFS/SMB protocol compliance. */ @ExtendWith(MockitoExtension.class)
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 35K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java
NewestConflictResolverTest() throws Exception { super("newest"); } // tests ------------------------------------------------------------------ /** * Tests that <code>a:2.0</code> wins in the scenario: * <pre> * a:1.0 * b:1.0 -> a:2.0 * </pre> */ @Test void testDepth() { ResolutionNode a1n = createResolutionNode(a1);Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0)