ADLTest.PlatformTest.testGetService C# (CSharp) Méthode

testGetService() private méthode

private testGetService ( ) : void
Résultat void
        public void testGetService()
        {
            CountdownLatch latch = new CountdownLatch(1);
            InitListener listener = new InitListener(latch);
            Assert.IsNull(Platform.getService());
            Platform.init(listener);
            latch.Wait();
            Assert.IsNotNull(Platform.getService());
            tearDown();
        }