Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1611 - 1620 of 2,162 for classic (0.18 seconds)

  1. compat/maven-model/src/test/java/org/apache/maven/model/ExclusionTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Exclusion}.
     *
     */
    class ExclusionTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Exclusion().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Exclusion().equals(null));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/PluginTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Plugin}.
     *
     */
    class PluginTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Plugin().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Plugin().equals(null));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/ProfileTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Profile}.
     *
     */
    class ProfileTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Profile().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Profile().equals(null));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/RepositoryPolicyTest.java

    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code RepositoryPolicy}.
     *
     */
    class RepositoryPolicyTest {
    
        @Test
        void testHashCodeNullSafe() {
            new RepositoryPolicy().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/ResourceTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@code Resource}.
     *
     */
    class ResourceTest {
    
        @Test
        void testHashCodeNullSafe() {
            new Resource().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Resource().equals(null));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  6. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/AbstractMojoExecutionException.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin;
    
    /**
     * Base exception.
     *
     */
    public abstract class AbstractMojoExecutionException extends Exception {
        protected Object source;
    
        protected String longMessage;
    
        public AbstractMojoExecutionException(String message) {
            super(message);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestArtifactHandler.java

     * under the License.
     */
    package org.apache.maven.internal.impl;
    
    import org.apache.maven.artifact.handler.ArtifactHandler;
    
    /**
     * Assists unit testing.
     *
     */
    class TestArtifactHandler implements ArtifactHandler {
    
        private String type;
    
        private String extension;
    
        TestArtifactHandler(String type) {
            this(type, type);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. docs_src/sql_databases/tutorial001_py310.py

    from fastapi import Depends, FastAPI, HTTPException, Query
    from sqlmodel import Field, Session, SQLModel, create_engine, select
    
    
    class Hero(SQLModel, table=True):
        id: int | None = Field(default=None, primary_key=True)
        name: str = Field(index=True)
        age: int | None = Field(default=None, index=True)
        secret_name: str
    
    
    sqlite_file_name = "database.db"
    sqlite_url = f"sqlite:///{sqlite_file_name}"
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/FinalizablePhantomReference.java

     * {@link ReferenceQueue}.
     *
     * <p>Unlike a normal phantom reference, this reference will be cleared automatically.
     *
     * @author Bob Lee
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public abstract class FinalizablePhantomReference<T> extends PhantomReference<T>
        implements FinalizableReference {
      /**
       * Constructs a new finalizable phantom reference.
       *
       * @param referent to phantom reference
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/AbstractSetTester.java

    @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 AbstractSetTester<E> extends AbstractCollectionTester<E> {
      /*
       * Previously we had a field named set that was initialized to the value of
       * collection in setUp(), but that caused problems when a tester changed the
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.4K bytes
    - Click Count (0)
Back to Top