Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1211 - 1220 of 2,488 for unit (0.02 sec)

  1. guava-tests/test/com/google/common/graph/GraphEquivalenceTest.java

    import com.google.common.graph.TestUtil.EdgeType;
    import java.util.Arrays;
    import java.util.Collection;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    @AndroidIncompatible
    // TODO(cpovirk): Figure out Android JUnit 4 support. Does it work with Gingerbread? @RunWith?
    @RunWith(Parameterized.class)
    public final class GraphEquivalenceTest {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

    import org.apache.maven.model.profile.DefaultProfileActivationContext;
    import org.apache.maven.model.root.RootLocator;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    import org.junit.jupiter.api.io.TempDir;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertThrows;
    
    /**
     * Tests {@link FileProfileActivator}.
     *
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

     * under the License.
     */
    package org.apache.maven.artifact.versioning;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test DefaultArtifactVersion.
     *
     */
    class DefaultArtifactVersionTest {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. internal/logger/targets.go

    // a single log entry and Send it to the log target
    //
    //	e.g. Send the log to a http server
    type Target interface {
    	String() string
    	Endpoint() string
    	Stats() types.TargetStats
    	Init(ctx context.Context) error
    	IsOnline(ctx context.Context) bool
    	Cancel()
    	Send(ctx context.Context, entry interface{}) error
    	Type() types.TargetType
    }
    
    type targetsList struct {
    	list []Target
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 03 15:44:50 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import org.junit.jupiter.api.Test
    
    class SettingsTest {
      @Test
      fun unsetField() {
        val settings = Settings()
        assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

    import com.google.common.collect.testing.testers.QueueRemoveTester;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.ArrayList;
    import java.util.List;
    
    /**
     * Creates, based on your criteria, a JUnit test suite that exhaustively tests a queue
     * implementation.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    public final class QueueTestSuiteBuilder<E>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/convert/NumberConversionUtilTest.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.core.convert;
    
    import java.text.DecimalFormatSymbols;
    import java.util.Locale;
    
    import junit.framework.TestCase;
    
    import org.codelibs.core.misc.LocaleUtil;
    
    /**
     * @author shot
     *
     */
    public class NumberConversionUtilTest extends TestCase {
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver.conflict;
    
    import org.apache.maven.artifact.resolver.ResolutionNode;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>FarthestConflictResolver</code>.
     *
     * @see FarthestConflictResolver
     */
    @Deprecated
    class FarthestConflictResolverTest extends AbstractConflictResolverTest {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver.conflict;
    
    import org.apache.maven.artifact.resolver.ResolutionNode;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>NearestConflictResolver</code>.
     *
     * @see NearestConflictResolver
     */
    @Deprecated
    class NearestConflictResolverTest extends AbstractConflictResolverTest {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  10. compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver.conflict;
    
    import org.apache.maven.artifact.resolver.ResolutionNode;
    import org.junit.jupiter.api.Test;
    
    /**
     * Tests <code>OldestConflictResolver</code>.
     *
     * @see OldestConflictResolver
     */
    @Deprecated
    class OldestConflictResolverTest extends AbstractConflictResolverTest {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top