Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for jsonfile (0.11 sec)

  1. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManagerTest.groovy

        def jsonFile
    
        def setup() {
            jsonFile = new File(temporaryFolder, 'acceptedChanges.json')
        }
    
        def "can clean existing API changes"() {
            given:
            jsonFile << existingAcceptedApiChanges()
    
            when:
            jsonFileManager.emptyAcceptedApiChanges(jsonFile)
    
            then:
            jsonFile.text == nonExistentAcceptedApiChanges()
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChangesJsonFileManager.groovy

     */
    
    package gradlebuild.binarycompatibility
    
    import com.google.gson.Gson
    import com.google.gson.stream.JsonWriter
    
    class AcceptedApiChangesJsonFileManager {
    
        void emptyAcceptedApiChanges(File jsonFile) {
            jsonFile.withWriter { fileWriter ->
                def writer = new JsonWriter(fileWriter)
                writer.setIndent("    ")
                new Gson().toJson([acceptedApiChanges: []], Object, writer)
                writer.close()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/GradleSubprojectProvider.kt

        fun getSubprojectByName(name: String): GradleSubproject?
    }
    
    data class JsonBasedGradleSubprojectProvider(private val jsonFile: File) : GradleSubprojectProvider {
        @Suppress("UNCHECKED_CAST")
        override val subprojects = JSON.parseArray(jsonFile.readText()).map { toSubproject(it as Map<String, Any>) }
    
        private val nameToSubproject = subprojects.map { it.name to it }.toMap()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 02 14:55:06 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt

        private val buckets: Map<TestCoverage, List<SmallSubprojectBucket>> = buildBuckets(testTimeDataJson, model)
    
        fun generate(jsonFile: File) {
            jsonFile.writeText(
                JSON.toJSONString(
                    buckets.map {
                        TestCoverageAndBucketSplits(it.key.uuid, it.value.map { it.toJsonBucket() })
                    },
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 29 11:04:49 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. kotlin-js-store/yarn.lock

      integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==
    
    jsonfile@^4.0.0:
      version "4.0.0"
      resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb"
      integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==
      optionalDependencies:
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

                }
                final File jspFile = new File(getServletContext().getRealPath(path));
                if (!jspFile.exists()) {
                    throwValidationError(messages -> messages.addErrorsDesignJspFileDoesNotExist(GLOBAL), this::asListHtml);
                }
                return jspFile;
            } catch (final UnsupportedEncodingException e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

    package configurations
    
    import com.alibaba.fastjson.JSONObject
    import com.alibaba.fastjson.annotation.JSONField
    import common.functionalTestExtraParameters
    import common.getBuildScanCustomValueParam
    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.buildFeatures.perfmon
    import model.CIBuildModel
    import model.Stage
    import model.StageName
    import model.TestCoverage
    import model.TestType
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 06:14:43 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/SystemHelper.java

                        designJspFileNameMap.entrySet().stream().forEach(e -> {
                            final File jspFile = getDesignJspFile("/WEB-INF/view" + key + "/" + e.getValue());
                            if (!jspFile.exists()) {
                                jspFile.getParentFile().mkdirs();
                                final File baseJspFile = getDesignJspFile("/WEB-INF/view/" + e.getValue());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. docs/en/docs/release-notes.md

            * Before this, the return content was first passed through `jsonable_encoder` to ensure it was a "jsonable" object, like a `dict`, instead of an arbitrary object with attributes (like an ORM model). That's why you should make sure to update your Pydantic models for objects with attributes to use `orm_mode = True`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top