Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 165 for Accepted (0.08 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt

        @BeforeEach
        fun setUp() {
            projectDir.resolve("src").resolve("changes").resolve("accepted-changes").mkdirs()
            firstAcceptedApiChangesFile = projectDir.resolve("src/changes/accepted-changes/accepted-public-api-changes.json")
            secondAcceptedApiChangesFile = projectDir.resolve("src/changes/accepted-changes/second-accepted-public-api-changes.json")
    
            projectDir.resolve("build.gradle.kts")
                .writeText(
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Nov 29 14:03:44 GMT 2024
    - 6K bytes
    - Click Count (0)
  2. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt

        val information: List<ReportMessage>,
        val accepted: List<ReportMessage>
    ) {
    
        val isEmpty: Boolean
            get() = errors.isEmpty() && warnings.isEmpty() && information.isEmpty()
    
        fun toText() =
            StringBuilder("Binary compatibility\n").apply {
                listOf("Errors" to errors, "Warnings" to warnings, "Information" to information, "Accepted" to accepted).forEach { (name, list) ->
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 28 08:29:28 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild.binary-compatibility.gradle

                    includeModule('gradle', 'gradle')
                }
            }
        }
    }
    
    // We support multiple accepted public api changes JSON files, but "accepted-public-api-changes.json"
    // is the "main" one that is also shown in HTML report
    def apiChangesJsonDirectory = layout.projectDirectory.dir("src/changes/accepted-changes")
    
    def compatibilityBaselineVersion = gradleModule.identity.releasedVersions.get().mostRecentRelease.version
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Dec 30 10:14:25 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

    import me.champeau.gradle.japicmp.report.RichReportData
    
    class EnrichedReportRenderer extends GroovyReportRenderer {
        private static acceptedChangesRegex = ~/<a href="(.+)">accepted-public-api-changes.json<\/a>/
    
        @Override
        void render(File htmlReportFile, RichReportData data) {
            super.render(htmlReportFile, enrichReport(data))
        }
    
        /**
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 7K bytes
    - Click Count (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt

    /**
     * Abstract base class for [Task][org.gradle.api.Task]s that verify and manipulate the given accepted API changes file.
     */
    @CacheableTask
    abstract class AbstractAcceptedApiChangesMaintenanceTask : DefaultTask() {
    
        /**
         * A directory that contains jsons with accepted API changes.
         * Any json is a directory is considered to contain accepted API changes.
         */
        @get:InputDirectory
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 04 14:00:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/DosFileFilterTest.java

            boolean result = dosFileFilter.accept(mockFile);
    
            // Then the result should be as expected
            if (expectedResult) {
                assertTrue(result, "File should be accepted");
            } else {
                assertFalse(result, "File should not be accepted");
            }
        }
    
        /**
         * Tests that the accept method returns true when the file has more attributes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbFileFilterTest.java

            when(smbFile.isDirectory()).thenReturn(true);
    
            // Act
            boolean result = filter.accept(smbFile);
    
            // Assert
            assertTrue(result, "Directory should be accepted");
            verify(smbFile, times(1)).isDirectory();
            verify(smbFile, never()).getName();
            verifyNoMoreInteractions(smbFile);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  8. api/README

    except.txt lists features that may disappear without breaking true
    compatibility.
    
    Starting with go1.19.txt, each API feature line must end in "#nnnnn"
    giving the GitHub issue number of the proposal issue that accepted
    the new API. This helps with our end-of-cycle audit of new APIs.
    The same requirement applies to next/* (described below), which will
    become a go1.XX.txt for XX >= 19.
    
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Jan 31 19:22:50 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

            }
    
            fun assertHasAccepted(vararg accepted: String) {
                assertThat("Has accepted", richReport.accepted.map { it.message }, inAnyOrder(accepted))
            }
    
            fun assertHasAccepted(vararg accepted: Pair<String, List<String>>) {
                assertThat("Has accepted", richReport.accepted, inAnyOrder(accepted.map { ReportMessage(it.first, it.second) }))
            }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Jan 19 11:30:48 GMT 2026
    - 18.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            // Test with no roles
            testUser.setRoleNames(new String[] {});
            assertFalse(fessUserBean.hasRoles(new String[] { "admin", "user" }));
    
            // Test with single role matching one of accepted
            testUser.setRoleNames(new String[] { "admin" });
            assertTrue(fessUserBean.hasRoles(new String[] { "admin", "user" }));
            assertTrue(fessUserBean.hasRoles(new String[] { "guest", "admin" }));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top