Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1291 - 1300 of 8,559 for class1 (0.03 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Utility class for creating test fixtures and reducing code duplication in tests.
     */
    public final class TestUtils {
    
        private TestUtils() {
            // Utility class
        }
    
        /**
         * Creates a mock UpgradeContext with default settings.
         *
         * @return a mock UpgradeContext
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. schema/index.go

    				if idx == nil {
    					idx = &Index{Name: index.Name}
    					indexesByName[index.Name] = idx
    					indexes = append(indexes, idx)
    				}
    				idx.Name = index.Name
    				if idx.Class == "" {
    					idx.Class = index.Class
    				}
    				if idx.Type == "" {
    					idx.Type = index.Type
    				}
    				if idx.Where == "" {
    					idx.Where = index.Where
    				}
    				if idx.Comment == "" {
    					idx.Comment = index.Comment
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Wed May 21 02:35:56 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

            return methodName;
        }
    
        /**
         * Returns the array of {@link Class} for the method arguments.
         *
         * @return Array of {@link Class} for the method arguments
         */
        public Class<?>[] getMethodArgClasses() {
            return methodArgClasses;
        }
    
        private static Class<?>[] toClassArray(final Object... methodArgs) {
            if (methodArgs == null) {
                return null;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenAliasTest.java

            try {
                java.lang.reflect.Field ptypeField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("ptype");
                ptypeField.setAccessible(true);
                assertEquals(0, ptypeField.get(msrpcSamrOpenAlias), "ptype should be initialized to 0");
    
                java.lang.reflect.Field flagsField = jcifs.dcerpc.DcerpcMessage.class.getDeclaredField("flags");
                flagsField.setAccessible(true);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            assertTrue(count > 0);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testForEachJarFile() throws Exception {
            final String classFilePath = TestCase.class.getName().replace('.', '/') + ".class";
            final URL classURL = ResourceUtil.getResource(classFilePath);
            final JarURLConnection con = (JarURLConnection) classURL.openConnection();
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. docs/ko/docs/environment-variables.md

    //// tab | Linux, macOS, Windows Bash
    
    <div class="termy">
    
    ```console
    // You could create an env var MY_NAME with
    $ export MY_NAME="Wade Wilson"
    
    // Then you could use it with other programs, like
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    //// tab | Windows PowerShell
    
    <div class="termy">
    
    ```console
    // Create an env var MY_NAME
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTreeTest.java

            ExtendedSmbTree middleTree = mock(ExtendedSmbTree.class);
    
            when(smbTree.unwrap(ExtendedSmbTree.class)).thenReturn(middleTree);
            when(middleTree.unwrap(CustomSmbTree.class)).thenReturn(innerTree);
    
            ExtendedSmbTree middle = smbTree.unwrap(ExtendedSmbTree.class);
            CustomSmbTree inner = middle.unwrap(CustomSmbTree.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/sql/DriverManagerUtil.java

    import org.codelibs.core.lang.ClassUtil;
    
    /**
     * Utility class for {@link java.sql.DriverManager}.
     *
     * @author koichik
     */
    public abstract class DriverManagerUtil {
    
        /**
         * Do not instantiate.
         */
        protected DriverManagerUtil() {
        }
    
        /**
         * Registers a JDBC driver.
         *
         * @param driverClassName
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/VerifyTest.java

    /** Unit test for {@link com.google.common.base.Verify}. */
    @GwtCompatible
    @NullUnmarked
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
      public void testVerify_simple_failure() {
        assertThrows(VerifyException.class, () -> verify(false));
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/InputValidatorTest.java

            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(null, 0, dst, 0, 10));
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(src, 0, null, 0, 10));
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(src, -1, dst, 0, 10));
            assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(src, 0, dst, -1, 10));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top