@Test public void run() throws KernelException { MatcherAssert.assertThat( new Junit5Kernel(ArrayList::new).status().code(), Matchers.equalTo((short) 0)); }
@Override public final Status status() throws KernelException { try { launcher.execute( LauncherDiscoveryRequestBuilder.request() .selectors( tests.tests().stream() .map( sunshineTest -> DiscoverySelectors.selectClass( sunshineTest.toString())) .toArray(DiscoverySelector[]::new)) .build()); return new Junit5Status(this.reporter.getSummary()); } catch (SuiteException e) { throw new KernelException("Some problem occurs in the Junit5Kernel", e); } }
Junit5Kernel implements Kernel<TestExecutionListener> { @Override public final Status status() throws KernelException { try { launcher.execute( LauncherDiscoveryRequestBuilder.request() .selectors( tests.tests().stream() .map( sunshineTest -> DiscoverySelectors.selectClass( sunshineTest.toString())) .toArray(DiscoverySelector[]::new)) .build()); return new Junit5Status(this.reporter.getSummary()); } catch (SuiteException e) { throw new KernelException("Some problem occurs in the Junit5Kernel", e); } } }
Junit5Kernel implements Kernel<TestExecutionListener> { @Override public final Status status() throws KernelException { try { launcher.execute( LauncherDiscoveryRequestBuilder.request() .selectors( tests.tests().stream() .map( sunshineTest -> DiscoverySelectors.selectClass( sunshineTest.toString())) .toArray(DiscoverySelector[]::new)) .build()); return new Junit5Status(this.reporter.getSummary()); } catch (SuiteException e) { throw new KernelException("Some problem occurs in the Junit5Kernel", e); } } Junit5Kernel(SunshineSuite sunshineSuite); private  Junit5Kernel(Launcher launcher, SunshineSuite sunshineSuite); }
Junit5Kernel implements Kernel<TestExecutionListener> { @Override public final Status status() throws KernelException { try { launcher.execute( LauncherDiscoveryRequestBuilder.request() .selectors( tests.tests().stream() .map( sunshineTest -> DiscoverySelectors.selectClass( sunshineTest.toString())) .toArray(DiscoverySelector[]::new)) .build()); return new Junit5Status(this.reporter.getSummary()); } catch (SuiteException e) { throw new KernelException("Some problem occurs in the Junit5Kernel", e); } } Junit5Kernel(SunshineSuite sunshineSuite); private  Junit5Kernel(Launcher launcher, SunshineSuite sunshineSuite); @Override final Status status(); @Override final Kernel<TestExecutionListener> with(
            TestExecutionListener... testExecutionListeners); }
Junit5Kernel implements Kernel<TestExecutionListener> { @Override public final Status status() throws KernelException { try { launcher.execute( LauncherDiscoveryRequestBuilder.request() .selectors( tests.tests().stream() .map( sunshineTest -> DiscoverySelectors.selectClass( sunshineTest.toString())) .toArray(DiscoverySelector[]::new)) .build()); return new Junit5Status(this.reporter.getSummary()); } catch (SuiteException e) { throw new KernelException("Some problem occurs in the Junit5Kernel", e); } } Junit5Kernel(SunshineSuite sunshineSuite); private  Junit5Kernel(Launcher launcher, SunshineSuite sunshineSuite); @Override final Status status(); @Override final Kernel<TestExecutionListener> with(
            TestExecutionListener... testExecutionListeners);  }