Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 2,626 for xtest (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

            }
        }
    
        @Test
        @DisplayName("Test setUid method")
        void testSetUid() {
            // Given
            int uid = 1000;
            doNothing().when(messageBlock).setUid(uid);
    
            // When
            messageBlock.setUid(uid);
    
            // Then
            verify(messageBlock).setUid(uid);
        }
    
        @Test
        @DisplayName("Test setUid with boundary values")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/remote-repo/org/apache/maven/plugins/maven-metadata.xml

    <metadata>
      <plugins>
        <plugin>
          <name>Maven Integration Test Plugin</name>
          <prefix>clean</prefix>
          <artifactId>maven-clean-plugin</artifactId>
        </plugin>
        <plugin>
          <name>Maven Integration Test Plugin</name>
          <prefix>deploy</prefix>
          <artifactId>maven-deploy-plugin</artifactId>
        </plugin>
        <plugin>
          <name>Maven Integration Test Plugin</name>
          <prefix>install</prefix>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

            }
        }
    
        @Test
        public void testBlacklistPriority() throws Exception {
            // Add to both blacklist and whitelist
            validator.addToBlacklist("\\share\\test");
            validator.addToWhitelist("\\share\\test");
    
            // Blacklist should take priority
            try {
                validator.validatePath("\\share\\test\\file.txt");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

        class ConstructorTests {
    
            @Test
            @DisplayName("Should create response with configuration")
            void testConstructor() {
                Smb2WriteResponse writeResponse = new Smb2WriteResponse(mockConfig);
                assertNotNull(writeResponse);
                // Note: getConfig() is protected, cannot test directly
            }
    
            @Test
            @DisplayName("Should initialize count to zero")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

        }
    
        @Test
        @DisplayName("Should test isErrorResponseStatus with various status codes")
        void testIsErrorResponseStatus() throws Exception {
            // Test with NT_STATUS_NOTIFY_ENUM_DIR - should not be error
            setStatus(response, NtStatus.NT_STATUS_NOTIFY_ENUM_DIR);
            assertFalse(response.isErrorResponseStatus());
    
            // Test with success status
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

        private static final String TEST_PIPE_NAME = "\\\\PIPE\\\\testpipe";
        private static final byte[] TEST_DATA = "Test pipe data".getBytes();
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructorInitialization() {
            // Given
            int offset = 0;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

                    <groupId>test</groupId>
                    <artifactId>test</artifactId>
                    <version>1.0.0</version>
                    <name>Test Project</name>
                    <description></description>
                </project>
                """;
    
            Document doc = Document.of(pomXml);
            Element root = doc.root();
    
            // Test getting text from existing elements
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CacheControlJvmTest.kt

    import assertk.assertions.isSameAs
    import assertk.assertions.isTrue
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import okhttp3.CacheControl.Companion.parse
    import okhttp3.Headers.Companion.headersOf
    import org.junit.jupiter.api.Test
    
    class CacheControlJvmTest {
      @Test
      @Throws(Exception::class)
      fun completeBuilder() {
        val cacheControl =
          CacheControl
            .Builder()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  9. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            assertEquals(test, new DefaultRootLocator().findRoot(test.resolve("child")));
        }
    
        @Test
        public void testPropertiesInterpolation() throws Exception {
            FileSystem fs = Jimfs.newFileSystem(Configuration.windows());
    
            Path mavenHome = fs.getPath("C:\\maven");
            Files.createDirectories(mavenHome);
            Path mavenConf = mavenHome.resolve("conf");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 30.9K bytes
    - Click Count (0)
  10. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

            return null; // Not used for this test.
        }
    
        @Test
        void testDirectory() {
            assertEquals(Path.of("src", "main", "java"), directory());
    
            scope = ProjectScope.TEST;
            assertEquals(Path.of("src", "test", "java"), directory());
    
            moduleName = "org.foo";
            assertEquals(Path.of("src", "org.foo", "test", "java"), directory());
        }
    
        @Test
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Oct 26 17:22:14 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top