Search Options

Results per page
Sort
Preferred Languages
Advance

Results 701 - 710 of 1,422 for test1 (0.38 sec)

  1. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test getGroups returns empty array
            String[] groups = emptyBean.getGroups();
            assertNotNull(groups);
            assertEquals(0, groups.length);
    
            // Test isEditable returns false
            assertFalse(emptyBean.isEditable());
    
            // Test getFessUser returns null
            assertNull(emptyBean.getFessUser());
    
            // Test hasRole and hasGroup methods with null user
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. tensorflow/c/BUILD

        deps = [
            ":c_api_macros_hdrs",
            ":tf_datatype",
            ":tf_status_headers",
        ],
    )
    
    # -----------------------------------------------------------------------------
    # Tests
    
    tf_cuda_library(
        name = "c_test_util",
        testonly = 1,
        srcs = ["c_test_util.cc"],
        hdrs = ["c_test_util.h"],
        visibility = [
            "//learning/brain:__subpackages__",
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/NtlmMessageTest.java

            message = new TestNtlmMessage();
        }
    
        @Test
        void testGetAndSetFlags() {
            // Test setting and getting flags
            int testFlags = 0x12345678;
            message.setFlags(testFlags);
            assertEquals(testFlags, message.getFlags(), "Flags should be set and retrieved correctly.");
        }
    
        @Test
        void testGetFlag() {
            // Test getting individual flags
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java

    /**
     * Tester for {@link Multimap#containsValue}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MultimapContainsValueTester<K, V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/TestStringSetGenerator.java

    import com.google.common.collect.testing.SampleElements.Strings;
    import java.util.List;
    import java.util.Set;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Create string sets for collection tests.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestStringSetGenerator implements TestSetGenerator<String> {
      @Override
      public SampleElements<String> samples() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java

    import static com.google.common.truth.Truth.assertWithMessage;
    
    import com.google.common.annotations.GwtIncompatible;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link StandardSystemProperty}.
     *
     * @author Kurt Alfred Kluever
     */
    @GwtIncompatible
    @NullUnmarked
    public class StandardSystemPropertyTest extends TestCase {
    
      public void testGetKeyMatchesString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java

            }
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Test that writeSetupWireFormat returns 0
            byte[] dst = new byte[100];
            int result = response.writeSetupWireFormat(dst, 10);
            assertEquals(0, result);
        }
    
        @Test
        void testWriteParametersWireFormat() {
            // Test that writeParametersWireFormat returns 0
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationResponseTest.java

        }
    
        @Test
        void testGetInformationLevel() {
            // Test getInformationLevel method
            response = new Trans2QueryFSInformationResponse(config, FileSystemInformation.FS_SIZE_INFO);
    
            assertEquals(FileSystemInformation.FS_SIZE_INFO, response.getInformationLevel());
        }
    
        @Test
        void testGetInfo() {
            // Test getInfo method when info is null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            // Test with no file path mappings
            assertEquals("test/path", emptyGenerator.expandPath("test/path"));
            assertNull(emptyGenerator.expandPath(null));
    
            // Test with file path mappings
            emptyGenerator.filePathMap.put("${path}/test", "/usr/bin/test");
            assertEquals("/usr/bin/test", emptyGenerator.expandPath("${path}/test"));
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

            // Test with different server
            auth.setServer("otherhost");
            assertFalse(auth.matches("ftp://hostname:21/test/aaa.html"));
            assertTrue(auth.matches("ftp://otherhost:21/test/aaa.html"));
    
            // Test with IP address
            auth.setServer("192.168.1.1");
            assertTrue(auth.matches("ftp://192.168.1.1:21/test/aaa.html"));
            assertTrue(auth.matches("ftp://192.168.1.1/test/aaa.html"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top