Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TESTSCOPE (0.03 sec)

  1. src/test/java/jcifs/NameServiceClientTest.java

        }
    
        @Test
        void testGetNbtAllByAddress_StringIntString() throws UnknownHostException {
            // Arrange
            String host = "testHost";
            int type = 0x20;
            String scope = "testScope";
            NetbiosAddress[] expectedAddresses = { mock(NetbiosAddress.class) };
            when(nameServiceClient.getNbtAllByAddress(host, type, scope)).thenReturn(expectedAddresses);
    
            // Act
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/NetbiosNameTest.java

        @DisplayName("Should handle getScope() method")
        void testGetScope() {
            // Given
            String testScope = "WORKGROUP";
            when(mockNetbiosName.getScope()).thenReturn(testScope);
    
            // When
            String scope = mockNetbiosName.getScope();
    
            // Then
            assertEquals(testScope, scope);
            verify(mockNetbiosName).getScope();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AbstractScopeArtifactFilter.java

     *
     */
    abstract class AbstractScopeArtifactFilter implements ArtifactFilter {
    
        private boolean compileScope;
    
        private boolean runtimeScope;
    
        private boolean testScope;
    
        private boolean providedScope;
    
        private boolean systemScope;
    
        void addScopeInternal(String scope) {
            if (Artifact.SCOPE_COMPILE.equals(scope)) {
                systemScope = true;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.7K bytes
    - Viewed (0)
Back to top