Home
last modified time | relevance | path

Searched refs:TEST_BUNDLE_ID (Results 1 – 3 of 3) sorted by relevance

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/internal/tests/
H A DStandardBundleIdToRegionMappingTests.java34 private static final long TEST_BUNDLE_ID = 1L; field in StandardBundleIdToRegionMappingTests
46 assertNull(RegionReflectionUtils.getRegion(this.bundleIdToRegionMapping, TEST_BUNDLE_ID)); in testAssociateBundleWithRegion()
47 …RegionReflectionUtils.associateBundleWithRegion(this.bundleIdToRegionMapping, TEST_BUNDLE_ID, mock… in testAssociateBundleWithRegion()
48 …tEquals(mockRegion, RegionReflectionUtils.getRegion(this.bundleIdToRegionMapping, TEST_BUNDLE_ID)); in testAssociateBundleWithRegion()
53 …RegionReflectionUtils.associateBundleWithRegion(this.bundleIdToRegionMapping, TEST_BUNDLE_ID, mock… in testAssociateBundleAlreadyAssociatedWithRegion()
54 …RegionReflectionUtils.associateBundleWithRegion(this.bundleIdToRegionMapping, TEST_BUNDLE_ID, mock… in testAssociateBundleAlreadyAssociatedWithRegion()
59 …RegionReflectionUtils.associateBundleWithRegion(this.bundleIdToRegionMapping, TEST_BUNDLE_ID, mock… in testAssociateBundleAlreadyAssociatedWithOtherRegion()
67 assertNull(RegionReflectionUtils.getRegion(this.bundleIdToRegionMapping, TEST_BUNDLE_ID)); in testDissociateBundle()
91 assertNull(RegionReflectionUtils.getRegion(this.bundleIdToRegionMapping, TEST_BUNDLE_ID)); in testClear()
96 assertNull(RegionReflectionUtils.getRegion(this.bundleIdToRegionMapping, TEST_BUNDLE_ID)); in testGetRegion()
[all …]
H A DBundleIdBasedRegionTests.java46 private static final long TEST_BUNDLE_ID = 99L; field in BundleIdBasedRegionTests
316 r.addBundle(TEST_BUNDLE_ID); in testAddRemoveBundleId()
317 assertTrue(r.contains(TEST_BUNDLE_ID)); in testAddRemoveBundleId()
318 r.removeBundle(TEST_BUNDLE_ID); in testAddRemoveBundleId()
319 assertFalse(r.contains(TEST_BUNDLE_ID)); in testAddRemoveBundleId()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/rt.equinox.bundles/bundles/org.eclipse.equinox.region.tests/src/org/eclipse/equinox/region/tests/system/
H A DRegionSystemTests.java48 private static final long TEST_BUNDLE_ID = 452345245L; field in RegionSystemTests
688 pp1Region.addBundle(TEST_BUNDLE_ID);
689 …assertEquals("Region not associated with bundle id", pp1Region, digraph.getRegion(TEST_BUNDLE_ID));
691 assertNull("Region still associated with bundle id", digraph.getRegion(TEST_BUNDLE_ID));
695 pp1Region.addBundle(TEST_BUNDLE_ID);
700 assertNull("Region now associated with bundle id", digraph.getRegion(TEST_BUNDLE_ID));
703 pp2Region.addBundle(TEST_BUNDLE_ID);
707 pp1Region.removeBundle(TEST_BUNDLE_ID);
712 …assertEquals("Wrong region found for the bundle id", pp2Region, digraph.getRegion(TEST_BUNDLE_ID));