/** * Sets the global default lookup with zero or more delegate lookups. * Caution: if you don't include Lookups.metaInfServices, you may have trouble, * e.g. {@link #makeScratchDir} will not work. * Most of the time you should use {@link #setInstances} instead. */ public static void setLookup (final @Nonnull Lookup... lookups) { DEFAULT.setLookups(lookups); }
public static void reset() { BANNED_OBJECTS.clear(); setInstances(); }
public static void assertSameFiles (final String fromFile, final String toFile) throws IOException { assertSameFiles(new File(fromFile), new File(toFile)); }
@BeforeMethod public void setupLogging() { TestLoggerSetup.setupLogging(UniformityArchiveMarshallableTest.class); }
/******************************************************************************************************************* * * ******************************************************************************************************************/ @AfterClass public static void restoreGeoCoder() { MockLookup.reset(); }
@BeforeMethod public void setupLogging() { TestLoggerSetup.setupLogging(UniformityArchiveUnmarshallableTest.class); }
/** Do not call this directly! */ public MockLookup() { assertTrue(making); assertNull(DEFAULT); DEFAULT = this; setInstances(); }
@AfterClass public static void restoreGeoCoder() { MockLookup.reset(); }
@BeforeMethod public void setupLogging() { TestLoggerSetup.setupLogging(UniformityMeasurementsUnmarshallableTest.class); }
@BeforeClass public static void setupGlobalLookup() { MockLookup.setInstances("G1", "G2"); }
@BeforeMethod public void setupLogging() { TestLoggerSetup.setupLogging(UniformityMeasurementsMarshallableTest.class); }
@BeforeClass public static void setupLogging() { TestLoggerSetup.setupLogging(TestLoggerSetup.class); }
@BeforeClass public static void setupLogger() { TestLoggerSetup.setupLogging(PersistenceImplTest.class); }
@BeforeClass public static void setupLogging() { TestLoggerSetup.setupLogging(TestLoggerSetup.class); }
@BeforeClass public static void setupLogging() { TestLoggerSetup.setupLogging(TestLoggerSetup.class); }
@BeforeClass public static void setupLogging() { TestLoggerSetup.setupLogging(ElmoGeoLocationIntegrationTestSupport.class); }
@BeforeClass public static void setupLogging() { TestLoggerSetup.setupLogging(ElmoGeoLocationIntegrationTestSupport.class); }
@BeforeClass public static void setupLogging() { TestLoggerSetup.setupLogging(DefaultInjectorTest.class); }
/******************************************************************************************************************* * * ******************************************************************************************************************/ @BeforeClass public static void setupLogging() { TestLoggerSetup.setupLogging(TestSupport.class); }
@BeforeClass public static void setupLogging() { TestLoggerSetup.setupLogging(ElmoGeoLocationIntegrationTestSupport.class); }