Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 143 for AssertJ (0.14 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/TestableDaemon.groovy

    Current registry state is ${lastRegistryState} and current log state is ${lastLogState}.""")
        }
    
        @Override
        protected void assertHasState(State state) {
            assert logFileProbe.currentState == state
            assert registryProbe.currentState == state
        }
    
        @Override
        void assertRegistryNotWorldReadable() {
            registryProbe.assertRegistryNotWorldReadable()
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 15:22:16 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    				}
    			} else if len(cw.ztunnelDump.Workloads) != tt.wantConfigs {
    				t.Errorf("wanted %v configs loaded in got %v", tt.wantConfigs, len(cw.ztunnelDump.Workloads))
    			}
    			if tt.wantErr {
    				assert.Error(t, err)
    			} else {
    				assert.NoError(t, err)
    			}
    		})
    	}
    }
    
    func TestConfigWriter_PrintSecretSummary(t *testing.T) {
    	tests := []struct {
    		name               string
    		wantOutputSecret   string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/serviceentry/store_test.go

    		configKey: configKey{
    			namespace: "dns",
    			name:      "dns-round-robin-2",
    		},
    	}
    	store.addInstances(cpKey, instances)
    
    	assert.Equal(t, store.getByKey(instancesKey{
    		hostname:  "example.com",
    		namespace: "dns",
    	}), expected)
    	assert.Equal(t, store.getByKey(instancesKey{
    		hostname:  "example.com",
    		namespace: otherNs.Namespace,
    	}), otherNsExpected)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r31/PersistentCompositeDependencySubstitutionCrossVersionSpec.groovy

            def moduleA = allProjects.rootIdeaProject.modules[0]
            moduleA.dependencies.each {
                assert it instanceof  IdeaModuleDependency
            }
            moduleA.dependencies.collect { it.targetModuleName } == ['b1']
    
            and:
            assert allProjects.includedBuildIdeaProjects.size() == 2
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/context/DaemonCompatibilitySpecSpec.groovy

        def "contexts with symlinked javaHome are compatible"() {
            def linkToJdk = tmp.testDirectory.file("link")
            linkToJdk.createLink(javaHome)
    
            assert javaHome != linkToJdk
            assert linkToJdk.exists()
            assert javaHome.canonicalFile == linkToJdk.canonicalFile
    
            clientWants(Jvm.forHome(javaHome))
    
            candidate.javaHome >> linkToJdk
            candidate.daemonOpts >> []
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblemsSummaryTest.kt

    import org.gradle.internal.configuration.problems.StructuredMessage
    import org.hamcrest.MatcherAssert.assertThat
    import org.hamcrest.Matchers.equalTo
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    import org.junit.Test
    
    
    class ConfigurationCacheProblemsSummaryTest {
    
        @Test
        fun `keeps track of unique problems upto maxCollectedProblems`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. pkg/kube/krt/krttest/helpers.go

    // limitations under the License.
    
    package krttest
    
    import (
    	"fmt"
    
    	"istio.io/istio/pkg/kube/krt"
    	"istio.io/istio/pkg/slices"
    	"istio.io/istio/pkg/test"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    type MockCollection struct {
    	t      test.Failer
    	inputs []any
    }
    
    // NewMock creates a helper to build Collections of static inputs for use with testing.
    // Example usage:
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 19:33:01 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/TestPlatform.java

    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static junit.framework.Assert.assertFalse;
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.Future;
    import java.util.concurrent.TimeoutException;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultIgnoredConfigurationInputsTest.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl
    
    import org.gradle.internal.os.OperatingSystem
    import org.junit.Assert.assertEquals
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    import org.junit.Test
    import java.io.File
    
    
    class DefaultIgnoredConfigurationInputsTest {
    
        private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top