- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 152 for expects (0.03 seconds)
-
.teamcity/src/main/kotlin/model/FunctionalTestBucketGenerator.kt
testCoverage: TestCoverage, parallelization: (Int) -> ParallelizationMethod, ): List<SmallSubprojectBucket> { // splitIntoBuckets() method expects us to split large element into N elements, // but we want to have a single bucket with N batches. // As a workaround, we repeat the bucket N times, and deduplicate the result at the endCreated: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Apr 10 15:09:32 GMT 2025 - 7.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java
Pattern pattern = Pattern.compile(wrongPattern); // Without escaping, "application/xhtml+xml" does NOT match // because the pattern expects "one or more 'l'" followed by "xml" assertFalse(pattern.matcher("application/xhtml+xml").matches()); assertFalse(pattern.matcher("application/rdf+xml").matches()); } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Feb 04 14:24:39 GMT 2026 - 8.7K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/PreparePatchReleaseTest.groovy
import spock.lang.Specification class PreparePatchReleaseTest extends Specification { def "patch version is correctly bumped"() { expect: ReleasedVersionsHelperKt.bumpPatchVersion(input) == expected where: input | expected "9.4.0" | "9.4.1" "9.4.1" | "9.4.2" "8.0.0" | "8.0.1" "1.2.3" | "1.2.4" }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 1.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/filter/WebApiFilterTest.java
return webApiManager; } }; ComponentUtil.register(factory, "webApiManagerFactory"); // Execute and expect IOException try { webApiFilter.doFilter(request, response, chain); fail("Expected IOException"); } catch (IOException e) { assertEquals("Test IOException", e.getMessage()); } catch (ServletException e) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 26.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/job/PurgeDocJobTest.java
// OutOfMemoryError is an Error, not Exception, so it will not be caught // The test should expect the error to propagate try { purgeDocJob.execute(); fail("Expected OutOfMemoryError to be thrown"); } catch (OutOfMemoryError e) { assertEquals("Out of memory", e.getMessage()); } } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 16.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
String value; String expect; value = null; expect = ""; assertEquals(expect, ParameterUtil.encrypt(value)); value = ""; expect = ""; assertEquals(expect, ParameterUtil.encrypt(value)); value = "\n"; expect = ""; assertEquals(expect, ParameterUtil.encrypt(value)); value = "=";Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 22.8K bytes - Click Count (0) -
build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsTest.groovy
def snapshot = snapshot('4.3') def rc = releasedVersion('4.3-rc-1') def versions = releasedVersions(snapshot, rc, []) def version = new ReleasedVersion('4.2', '20170913122310+0000') expect: ReleasedVersionsHelperKt.updateReleasedVersions(version, versions) == releasedVersions(snapshot, rc, [version]) } def "final releases are sorted by version"() { def snapshot = snapshot('4.3')
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Mar 23 14:47:12 GMT 2026 - 5.4K bytes - Click Count (0) -
architecture/standards/0010-gradle-properties-naming.md
Symmetrically, the same problem exists on the side of Gradle maintainers. It should be clear when introducing a property what contract users can expect and what we can afford to provide. As features progress through the lifecycle of stabilization and, possibly later, deprecation, the corresponding properties can also adjust accordingly.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 06 09:25:54 GMT 2026 - 8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java
} catch (Exception e) { // Expected due to missing dependencies in test environment assertTrue(true); return; } assertEquals(0, functionBuilders.size()); } catch (Exception e) { // Expected due to missing dependencies in test environment assertTrue(true); } }
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/unit/UnitFessTestCase.java
protected void assertEquals(String message, Object expected, Object actual) { Assertions.assertEquals(expected, actual, message); } // assertEquals - JUnit 4 style (message first) - int version protected void assertEquals(String message, int expected, int actual) { Assertions.assertEquals(expected, actual, message); } // assertSame - JUnit 5 style (no message)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 3.3K bytes - Click Count (0)