Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 145 for assertNotNull (0.12 sec)

  1. src/test/java/jcifs/tests/SessionTest.java

                assertNotNull(f);
                f.connect();
                f.exists();
                assertNotNull(f);
                try ( SmbTreeHandleInternal treeHandle = (SmbTreeHandleInternal) f.getTreeHandle();
                      SmbSessionInternal session = treeHandle.getSession().unwrap(SmbSessionInternal.class) ) {
                    assertNotNull(session);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataServiceTest.java

            assertNotNull(accessResult5);
            assertNotNull(accessResult6);
            assertEquals("text/html", accessResult5.getMimeType());
            assertEquals("text/html", accessResult6.getMimeType());
    
            dataService.delete("id1");
    
            assertNull(dataService.getAccessResult("id1", "http://www.id1.com/"));
            assertNotNull(dataService.getAccessResult("id2", "http://www.id2.com/"));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderTest.java

            ModelBuilder builder = new DefaultModelBuilderFactory().newInstance();
            assertNotNull(builder);
    
            Result<? extends Model> res = builder.buildRawModel(
                    new File(getClass().getResource("/poms/factory/simple.xml").getFile()),
                    ModelBuildingRequest.VALIDATION_LEVEL_MINIMAL,
                    false);
            assertNotNull(res.get());
        }
    
        /**
         * This test has
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ContextConfigTest.java

        }
    
    
        @Test
        public void testSingletonInit () {
            assertNotNull(this.context.getBufferCache());
            assertNotNull(this.context.getNameServiceClient());
            assertNotNull(this.context.getTransportPool());
            assertNotNull(this.context.getUrlHandler());
            assertNotNull(this.context.getCredentials());
        }
    
    
        @Test
        public void testCredentials () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/building/DefaultSettingsBuilderFactoryTest.java

            assertNotNull(builder);
    
            DefaultSettingsBuildingRequest request = new DefaultSettingsBuildingRequest();
            request.setSystemProperties(System.getProperties());
            request.setUserSettingsFile(getSettings("simple"));
    
            SettingsBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveSettings());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. compat/maven-model/src/test/java/org/apache/maven/model/ModelTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     * Tests {@code Model}.
     *
     */
    class ModelTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Model().hashCode();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java

            final Rule rule = ruleManager.getRule(responseData);
            assertNotNull(rule);
            assertEquals("fileRule", rule.getRuleId());
            CloseableUtil.closeQuietly(responseData);
        }
    
        public void test_checkRule() {
            final Rule rule = ruleManager.getRule(new ResponseData());
            assertNotNull(rule);
            assertEquals("fileRule", rule.getRuleId());
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

            TreeMap.class);
      }
    
      public void testGet_misc() {
        assertNotNull(ArbitraryInstances.get(CharMatcher.class));
        assertNotNull(ArbitraryInstances.get(Currency.class).getCurrencyCode());
        assertNotNull(ArbitraryInstances.get(Locale.class));
        assertNotNull(ArbitraryInstances.get(Joiner.class).join(ImmutableList.of("a")));
        assertNotNull(ArbitraryInstances.get(Splitter.class).split("a,b"));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/ComplexActivationTest.java

            assertNotNull(builder);
    
            DefaultModelBuildingRequest request = new DefaultModelBuildingRequest();
            request.setProcessPlugins(true);
            request.setPomFile(getPom("complex"));
            request.setSystemProperties(sysProperties);
    
            ModelBuildingResult result = builder.build(request);
            assertNotNull(result);
            assertNotNull(result.getEffectiveModel());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            ToolchainsBuildingResult result = toolchainBuilder.build(request);
            assertNotNull(result.getEffectiveToolchains());
            assertNotNull(result.getProblems());
            assertEquals(0, result.getProblems().size());
        }
    
        @Test
        void testBuildRequestWithUserToolchains() throws Exception {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top