Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,025 for Assert1 (0.16 sec)

  1. src/internal/types/testdata/check/builtins0.go

    	// basic types have size guarantees
    	assert(unsafe.Sizeof(byte(0)) == 1)
    	assert(unsafe.Sizeof(uint8(0)) == 1)
    	assert(unsafe.Sizeof(int8(0)) == 1)
    	assert(unsafe.Sizeof(uint16(0)) == 2)
    	assert(unsafe.Sizeof(int16(0)) == 2)
    	assert(unsafe.Sizeof(uint32(0)) == 4)
    	assert(unsafe.Sizeof(int32(0)) == 4)
    	assert(unsafe.Sizeof(float32(0)) == 4)
    	assert(unsafe.Sizeof(uint64(0)) == 8)
    	assert(unsafe.Sizeof(int64(0)) == 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/isolated/IsolatedProjectsFixture.groovy

            assert configuredProjects.collect { fullPath(it) }.toSet() == details.projects
    
            // Scripts - one or more for settings, and one for each project build script
            def scripts = buildOperations.all(ApplyScriptPluginBuildOperationType)
            assert !scripts.empty
            def sortedScripts = scripts.toSorted { it -> it.startTime }
            assert sortedScripts.first().details.targetType == "settings"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/configurationcache/ConfigurationCacheFixture.groovy

        }
    
        /**
         * Asserts that the configuration cache was not enabled.
         */
        void assertNotEnabled() {
            spec.outputDoesNotContain(ISOLATED_PROJECTS_MESSAGE)
            spec.outputDoesNotContain(CONFIGURE_ON_DEMAND_MESSAGE)
            configurationCacheBuildOperations.assertNoConfigurationCache()
            assertHasNoProblems()
        }
    
        /**
         * Asserts that the cache entry was written with no problems.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/CUnit.h

     */
    
    /*
     *  ASSERT Macro definitions and general CUnit configuration definitions.
     *
     *  09/Aug/2001   ASSERT definitions. (AK)
     *
     *  12/Mar/2003   New Assert definitions. (AK)
     *
     *  27/Jul/2003   Modified ASSERT_XXX Macro definitions. (AK)
     *
     *  15-Jul-2004   New interface, changed action on assert failure to not
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 18.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/TestThread.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertNotNull;
    import static junit.framework.Assert.assertNull;
    import static junit.framework.Assert.assertSame;
    
    import com.google.common.testing.TearDown;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    import static junit.framework.Assert.assertEquals;
    import static junit.framework.Assert.assertNotNull;
    import static junit.framework.Assert.assertNull;
    import static junit.framework.Assert.assertSame;
    
    import com.google.common.testing.TearDown;
    import java.lang.reflect.InvocationTargetException;
    import java.lang.reflect.Method;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

                assert startEvent instanceof FileDownloadStartEvent
                assert finishEvent instanceof FileDownloadFinishEvent
                assert descriptor instanceof FileDownloadOperationDescriptor
                assert descriptor.uri == uri
                assert descriptor.displayName == "Download " + uri
                assert finishEvent.result instanceof FileDownloadResult
                assert finishEvent.result.bytesDownloaded == size
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r76/TestFailureProgressEventCrossVersionTest.groovy

                package org.gradle;
    
                import org.assertj.core.error.MultipleAssertionsError;
                import org.junit.jupiter.api.Test;
    
                import java.util.ArrayList;
                import java.util.List;
    
                import static org.assertj.core.api.Assertions.assertThat;
                import static org.junit.jupiter.api.Assertions.assertAll;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 22.1K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/AbstractMavenModule.groovy

                        assert owner.version == version
                        assert variant.dependencies.empty
                        assert variant.files.empty
                    }
                    variant.files.each { file ->
                        def artifact = getArtifact(file.url)
                        assert artifact.file.file
                        assert artifact.file.length() == file.size
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  10. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

        public TestFile makeUnreadable() {
            boolean success = setReadable(false, false);
            assert success;
            assert !Files.isReadable(toPath());
            return this;
        }
    
        public TestFile makeReadable() {
            boolean success = setReadable(true, false);
            assert success;
            assert Files.isReadable(toPath());
            return this;
        }
    
        public TestFile createFile(Object path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top