Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NotSerializable (0.69 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/DefaultTaskInputsTest.groovy

            when:
            inputs.property('a', { "hey ${new NotSerializable()}" })
    
            then:
            inputProperties() == [a: "hey Joe"]
            String.is inputProperties().a.class
        }
    
        class NotSerializable {
            String toString() { "Joe" }
        }
    
        def "can register non-source files"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 16 20:09:26 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/LayoutToPropertiesConverterTest.groovy

                it.setCurrentDir(rootDir)
                overrides.delegate = it
                overrides()
            }
        }
    
        static class NotSerializable {
        }
        static final NULL_OBJECT = new NotSerializable()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

        }
        fail();
      }
    
      public static class BadSerializableFactory {
        public static Object bad() {
          return new Serializable() {
            @SuppressWarnings("unused")
            private final Object notSerializable = new Object();
          };
        }
      }
    
      public void testEqualsAndSerializableOnReturnValues_equalsIsGoodButNotSerializable()
          throws Exception {
        try {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
Back to top