Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 667 for assertNotNull (0.14 sec)

  1. src/test/java/jcifs/DialectVersionTest.java

        void testDialectVersionConstants() {
            // Verify all major SMB versions are defined
            assertNotNull(DialectVersion.SMB1);
            assertNotNull(DialectVersion.SMB202);
            assertNotNull(DialectVersion.SMB210);
            assertNotNull(DialectVersion.SMB300);
            assertNotNull(DialectVersion.SMB302);
            assertNotNull(DialectVersion.SMB311);
        }
    
        @Test
        @DisplayName("Should have correct version ordering")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/score/QueryRescorerTest.java

            Map<String, Object> stringParams = new HashMap<>();
            stringParams.put("string", "test");
            assertNotNull(queryRescorer.evaluate(stringParams));
    
            // Test with number parameter
            Map<String, Object> numberParams = new HashMap<>();
            numberParams.put("number", 123);
            assertNotNull(queryRescorer.evaluate(numberParams));
    
            // Test with boolean parameter
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

            assertNotNull("Retention annotation should be present", retention);
            assertEquals("Retention should be RUNTIME", RetentionPolicy.RUNTIME, retention.value());
        }
    
        // Test annotation target elements
        public void test_targetElements() {
            final Target target = CustomSize.class.getAnnotation(Target.class);
            assertNotNull("Target annotation should be present", target);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

            Object result = createInfoMethod.invoke(response);
            assertNotNull(result);
            assertTrue(result instanceof SmbInfoAllocation);
    
            // Test FS_SIZE_INFO
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.FS_SIZE_INFO);
            result = createInfoMethod.invoke(response);
            assertNotNull(result);
            assertTrue(result instanceof FileFsSizeInformation);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/BaseContextTest.java

        void testConstructorInitialization() {
            // Then
            assertNotNull(context, "Context should be created");
            assertNotNull(context.getConfig(), "Configuration should be initialized");
            assertNotNull(context.getDfs(), "DFS resolver should be initialized");
            assertNotNull(context.getSIDResolver(), "SID resolver should be initialized");
            assertNotNull(context.getUrlHandler(), "URL handler should be initialized");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolverTest.java

            MetadataGraph res;
    
            res = resolver.resolveConflicts(graph, ArtifactScopeEnum.compile);
    
            assertNotNull(res, "null graph after resolver");
            assertNotNull(res.getVertices(), "no vertices in the resulting graph after resolver");
    
            assertNotNull(res.getExcidentEdges(v1), "no edges in the resulting graph after resolver");
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/config/PropertyConfigurationTest.java

            // Then
            // Hostname may be null when not provided
            assertTrue(testConfig.getConnTimeout() > 0);
            assertTrue(testConfig.getSoTimeout() > 0);
            assertNotNull(testConfig.getMinimumVersion());
            assertNotNull(testConfig.getMaximumVersion());
        }
    
        @Test
        @DisplayName("Should handle encoding properties")
        void testEncodingProperties() throws CIFSException {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        void testCompileClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.compile, false);
    
            assertNotNull(res, "null classpath container after compile transform");
            assertNotNull(res.getClasspath(), "null classpath after compile transform");
            assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries");
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/job/UpdateLabelJobTest.java

            String result = updateLabelJob.execute();
            assertNotNull(result);
            assertTrue(result.contains("docs"));
        }
    
        // Test constructor
        public void test_constructor() {
            UpdateLabelJob job = new UpdateLabelJob();
            assertNotNull(job);
            assertNull(job.queryBuilder);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            assertNotNull(appType);
            // appType should be either empty string or the actual env value
            assertTrue(appType.isEmpty() || appType.length() > 0);
        }
    
        public void test_getOverrideConfPath() {
            // Test when app type is not docker
            OptionalEntity<String> confPath = ResourceUtil.getOverrideConfPath();
            assertNotNull(confPath);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
Back to top