Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for json (0.16 sec)

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

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

                        var result = [];
                        changeElements.each((idx, val) => result.push(JSON.parse(val.textContent)));
                        return result;
                    }
    
                    function appendErrorCorrections(reason) {
                        var result = JSON.parse('${currentApiChanges.replace('\n', '')}'); // JSON string from report uses double quotes, contain it within single quotes
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Feb 07 20:38:43 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.binarycompatibility.rules
    
    import com.google.gson.Gson
    import com.google.gson.stream.JsonWriter
    import gradlebuild.binarycompatibility.AcceptedApiChange
    import gradlebuild.binarycompatibility.AcceptedApiChanges
    import gradlebuild.binarycompatibility.ApiChange
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 23 08:40:36 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/AbstractContextAwareRuleSpecification.groovy

        Map getInitializationParams() {
            return [acceptedApiChanges: [:],
                publicApiPatterns: ['gradlebuild[.]binarycompatibility[.]rules.[^.]+'],
                apiChangesJsonFile: new File(testDir, 'test-api-changes.json').path,
                projectRootDir: testDir.path]
        }
    
        String replaceAsInternal(String name) {
            return name.replace('gradlebuild', 'gradlebuild.internal')
        }
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 06 19:15:15 GMT 2022
    - 2K bytes
    - Viewed (0)
  5. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

            format.timeZone = TimeZone.getTimeZone("UTC")
        }
    
        def "updated released version file has expected format"() {
            given:
            def releasedVersionsFile = new File(tmpDir, "released-versions.json")
            releasedVersionsFile << '''{
      "latestReleaseSnapshot": {
        "version": "6.6-20200702230251+0000",
        "buildTime": "20200702230251+0000"
      },
      "latestRc": {
        "version": "6.6-rc-1",
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Aug 17 08:32:56 GMT 2021
    - 2.4K bytes
    - Viewed (0)
Back to top