Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 207 for testOut (0.1 sec)

  1. pkg/registry/policy/poddisruptionbudget/storage/storage_test.go

    		t.Errorf("we expected .status.replicas to be updated to %d but it was %v", 7, pdb.Status.ExpectedPods)
    	}
    }
    
    func TestGet(t *testing.T) {
    	storage, _, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store)
    	test.TestGet(validNewPodDisruptionBudget())
    }
    
    func TestList(t *testing.T) {
    	storage, _, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:17:45 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. pkg/registry/resource/podschedulingcontext/storage/storage_test.go

    	test.TestDelete(validNewPodSchedulingContexts("foo", metav1.NamespaceDefault))
    }
    
    func TestGet(t *testing.T) {
    	storage, _, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store)
    	test.TestGet(validNewPodSchedulingContexts("foo", metav1.NamespaceDefault))
    }
    
    func TestList(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/fixtures/InspectsExecutedTasks.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.fixtures;
    
    import java.lang.annotation.*;
    
    @Retention(RetentionPolicy.RUNTIME)
    @Target({ElementType.TYPE, ElementType.METHOD})
    @Inherited
    public @interface InspectsExecutedTasks {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 833 bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-use/src/integTest/groovy/org/gradle/plugin/use/AlreadyOnClasspathPluginUseIntegrationTest.groovy

            operations.hasOperation("Apply plugin my-plugin to project ':a'")
        }
    
        @Requires(IntegTestPreconditions.NotEmbeddedExecutor) // TestKit usage inside of the test requires distribution
        def "can request plugin from TestKit injected classpath"() {
    
            given:
            withBinaryPluginBuild(".", new TestKitSpec(
                requestPlugin("my-plugin", null, false),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/TestKitIntegrationTest.kt

                }
                """
            )
    
            withFile(
                "src/test/kotlin/plugin/TestPluginTest.kt",
                """
    
                package plugin
    
                import org.gradle.testkit.runner.*
                import org.hamcrest.CoreMatchers.*
                import org.junit.*
                import org.hamcrest.MatcherAssert.assertThat
                import org.junit.rules.TemporaryFolder
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 14 10:30:09 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. pkg/registry/storage/csidriver/storage/storage_test.go

    	test.TestDelete(validNewCSIDriver("foo"))
    }
    
    func TestGet(t *testing.T) {
    	storage, server := newStorage(t)
    	defer server.Terminate(t)
    	defer storage.Store.DestroyFunc()
    	test := genericregistrytest.New(t, storage.Store).ClusterScope()
    	test.TestGet(validNewCSIDriver("foo"))
    }
    
    func TestList(t *testing.T) {
    	storage, server := newStorage(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 15:49:55 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/CountTest.java

    import junit.framework.TestCase;
    
    /**
     * Tests for {@code Count}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public class CountTest extends TestCase {
      public void testGet() {
        assertEquals(20, new Count(20).get());
      }
    
      public void testGetAndAdd() {
        Count holder = new Count(20);
        assertEquals(20, holder.get());
        holder.add(1);
        assertEquals(21, holder.get());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. platforms/extensibility/test-kit/src/main/java/org/gradle/testkit/runner/internal/ConstantTestKitDirProvider.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.internal;
    
    import java.io.File;
    
    class ConstantTestKitDirProvider implements TestKitDirProvider {
        private final File testKitDir;
    
        public ConstantTestKitDirProvider(File testKitDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 963 bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/GradleRunnerTestExtension.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner;
    
    import org.gradle.integtests.fixtures.extensions.AbstractMultiTestInterceptor;
    import org.gradle.integtests.fixtures.extensions.MultiTestExtension;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1K bytes
    - Viewed (0)
  10. platforms/extensibility/test-kit/src/testFixtures/groovy/org/gradle/testkit/runner/fixtures/CustomEnvironmentVariables.java

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.testkit.runner.fixtures;
    
    import java.lang.annotation.ElementType;
    import java.lang.annotation.Inherited;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 1007 bytes
    - Viewed (0)
Back to top