Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 219 for endswith (0.43 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComCreateDirectoryTest.java

            org.junit.jupiter.api.Assertions.assertTrue(actualString.contains("directoryName=myDir"),
                    "String should contain the directory name.");
            org.junit.jupiter.api.Assertions.assertTrue(actualString.endsWith("]"), "String should end with ']'");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

                Path userHome = Paths.get(System.getProperty("user.home"));
                poms = Files.walk(userHome.resolve(".m2/repository/org/apache/maven"))
                        .filter(p -> p.getFileName().toString().endsWith(".pom"))
                        .collect(Collectors.toList());
            }
        }
    
        @Benchmark
        public int readWithStax(AdditionState state) throws IOException, XMLStreamException {
            int i = 0;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.tls
    
    import assertk.assertThat
    import assertk.assertions.endsWith
    import assertk.assertions.isEqualTo
    import assertk.assertions.isNull
    import assertk.assertions.startsWith
    import java.io.IOException
    import java.net.SocketException
    import java.security.GeneralSecurityException
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. build-logic/cleanup/src/main/java/gradlebuild/cleanup/services/KillLeakingJavaProcesses.java

            if (executionMode == ExecutionMode.KILL_LEAKED_PROCESSES_FROM_PREVIOUS_BUILDS) {
                File[] psOutputs = rootProjectDir.listFiles((__, name) -> name.endsWith(".psoutput") || name.endsWith(".threaddump"));
                if (psOutputs != null) {
                    Stream.of(psOutputs).forEach(File::delete);
                }
            }
        }
    
        static void pkill(String pid) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Sep 23 13:49:45 UTC 2025
    - 12K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertTrue(str.contains("netName=" + TEST_NET_NAME));
            assertTrue(str.contains("type=0x"));
            assertTrue(str.contains("remark=" + TEST_REMARK));
            assertTrue(str.endsWith("]"));
        }
    
        @Test
        @DisplayName("Test toString with null values")
        void testToStringWithNullValues() {
            SmbShareInfo info = new SmbShareInfo();
            String str = info.toString();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                // TODO: This breaks the provider
                task.getInputs().dir(javadocs.getJavaPackageListLoc());
                var javaApiLink = javadocs.getJavaApi().map(URI::toString).map(v -> {
                    if (v.endsWith("/")) {
                        return v.substring(0, v.length() - 1);
                    }
                    return v;
                }).get();
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Oct 02 14:18:24 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

            assert linkErrors.text.stripTrailing().endsWith('All clear!')
        }
    
        private void assertFoundDeadLinks(Collection<DeadLink> deadLinks) {
            assert linkErrors.exists()
    
            def lines = linkErrors.readLines()
            deadLinks.each { deadLink ->
                String errorStart = "ERROR: ${deadLink.file.name}:"
                assert lines.any { it.startsWith(errorStart) && it.endsWith(deadLink.message) }
            }
        }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Aug 21 16:24:54 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/NameQueryRequestTest.java

            String expectedStringPrefix = "NameQueryRequest[";
            String actualString = request.toString();
    
            assertTrue(actualString.startsWith(expectedStringPrefix));
            assertTrue(actualString.endsWith("]"));
            // Further verification could involve mocking super.toString() if needed
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            @SuppressWarnings("deprecation")
            List<Artifact> artifacts = project.getCompileArtifacts();
            assertEquals(1, artifacts.size());
            assertTrue(artifacts.get(0).getFile().getName().endsWith("tools.jar"));
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CliUtils.java

            requireNonNull(str, "str");
            final int length = str.length();
            if (length > 1
                    && str.startsWith("\"")
                    && str.endsWith("\"")
                    && str.substring(1, length - 1).indexOf('"') == -1) {
                str = str.substring(1, length - 1);
            }
            return str;
        }
    
        @Nonnull
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 13 18:30:29 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top