Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for asset0 (0.1 sec)

  1. cni/pkg/log/uds_test.go

    	// Ideally we would fail if the UDS part fails but the error library makes it kind of tricky
    	_ = istiolog.Sync()
    
    	// Restore os stdout.
    	os.Stdout = stdout
    	assert.NoError(t, istiolog.Configure(loggingOptions))
    
    	assert.NoError(t, w.Close())
    	out, err := io.ReadAll(r)
    	assert.NoError(t, err)
    
    	cases := []struct {
    		level string
    		msg   string
    		key   *float64
    	}{
    		{"debug", "debug log", nil},
    		{"info", "info log", nil},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. pkg/ctrlz/ctrlz.go

    package ctrlz
    
    import (
    	"fmt"
    	"html/template"
    	"net"
    	"net/http"
    	"net/http/pprof"
    	"os"
    	"strings"
    	"sync"
    	"time"
    
    	"github.com/gorilla/mux"
    
    	"istio.io/istio/pkg/ctrlz/assets"
    	"istio.io/istio/pkg/ctrlz/fw"
    	"istio.io/istio/pkg/ctrlz/topics"
    	"istio.io/istio/pkg/log"
    )
    
    var coreTopics = []fw.Topic{
    	topics.ScopeTopic(),
    	topics.MemTopic(),
    	topics.EnvTopic(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsToolingApiKotlinDslIntegrationTest.groovy

            assert expected instanceof KotlinDslScriptsModel
            assert actual instanceof KotlinDslScriptsModel
    
            checkModel(actual, expected, [
                [{ it.scriptModels }, { a, e -> checkKotlinDslScriptModel(a, e) }]
            ])
        }
    
        static void checkKotlinDslScriptModel(actual, expected) {
            assert expected instanceof KotlinDslScriptModel
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r89/ToolingApiPolymorphismCrossVersionTest.groovy

        }
    
        private static void assertModelIsPolymorphic(Object model) {
            assert model != null
    
            assert model instanceof BaseModel
    
            assert model instanceof ShallowChildModel
            assert ((ShallowChildModel) model).getShallowMessage() == "shallow poly from 'root'"
    
            assert model instanceof DeepChildModel
            assert ((DeepChildModel) model).getDeepMessage() == "deep poly from 'root'"
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 11:03:18 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/AbstractConfigurationCacheOptInFeatureIntegrationTest.groovy

        protected ConfigurationCacheProblemsFixture problems
    
        def setup() {
            // Verify that the previous test cleaned up state correctly
            assert System.getProperty(StartParameterBuildOptions.ConfigurationCacheOption.PROPERTY_NAME) == null
            assert System.getProperty(StartParameterBuildOptions.IsolatedProjectsOption.PROPERTY_NAME) == null
            problems = new ConfigurationCacheProblemsFixture(testDirectory)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEnablementIntegrationTest.groovy

            given:
            buildFile """
            task check {
                assert gradle.startParameter.configurationCache.get() == ${ccOn}
                assert ${maxProblems == _ } || gradle.startParameter.configurationCacheMaxProblems == ${maxProblems}
                assert ${problemsAs == _ } || gradle.startParameter.configurationCacheProblems.name() == "${problemsAs}"
                assert ${quiet == _ } || gradle.startParameter.configurationCacheQuiet == ${quiet}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listenertest/match.go

    		return fmt.Sprintf("%v/%v: %v", have.Name, haveType, s)
    	}
    	if want.Name != "" {
    		assert.Equal(t, want.Name, have.Name, context("name should be equal"))
    	}
    	if want.Type != "" {
    		assert.Equal(t, want.Type, haveType, context(fmt.Sprintf("type should be equal (%+v)", have.FilterChainMatch)))
    	}
    	if want.Port != 0 {
    		assert.Equal(t, want.Port, have.GetFilterChainMatch().GetDestinationPort().GetValue(), context("port should be equal"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/InputTrackingStateTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl
    
    import org.junit.Assert
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertTrue
    import org.junit.Test
    import java.lang.IllegalStateException
    import java.util.concurrent.Executors
    
    
    class InputTrackingStateTest {
    
        @Test
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/DefaultDynamicCallProblemReportingTest.kt

     * limitations under the License.
     */
    
    package org.gradle.internal.cc.impl
    
    import org.junit.Assert.assertEquals
    import org.junit.Assert.assertFalse
    import org.junit.Assert.assertThrows
    import org.junit.Assert.assertTrue
    import org.junit.Test
    import java.util.Collections
    import java.util.concurrent.CountDownLatch
    import kotlin.concurrent.thread
    
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. 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)
Back to top