@Test public final void testContextDestroyedDestroy() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextDestroy(); }
@Test public final void testContextDestroyedDestroy() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextDestroy(); }
@Test public final void testContextDestroyIsCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); this.expected.expect(JCGLExceptionContextIsCurrent.class); c0.contextDestroy(); } }
@Test public final void testContextDestroyIsCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); this.expected.expect(JCGLExceptionContextIsCurrent.class); c0.contextDestroy(); } }
@Test public final void testContextSharedDestroyed() { final JCGLSharedContextPair<JCGLContextType> p = this.newSharedContext("main", "alt"); final JCGLContextType c0 = p.getMasterContext(); final JCGLContextType c1 = p.getSlaveContext(); c1.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextIsSharedWith(c1); }
@Test public final void testContextSharedDestroyed() { final JCGLSharedContextPair<JCGLContextType> p = this.newSharedContext("main", "alt"); final JCGLContextType c0 = p.getMasterContext(); final JCGLContextType c1 = p.getSlaveContext(); c1.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextIsSharedWith(c1); }
@Test public final void testContextDestroyedIsCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextIsCurrent(); }
@Test public final void testContextDestroyedIsCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextIsCurrent(); }
@Test public final void testContextDestroyedReleaseCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextReleaseCurrent(); }
@Test public final void testContextDestroyedGetGL33() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextGetGL33(); }
@Test public final void testContextDestroyedReleaseCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextReleaseCurrent(); }
@Test public final void testContextDestroyedGetShares() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextGetShares(); }
@Test public final void testContextDestroyedMakeCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextMakeCurrent(); }
@Test public final void testContextDestroyedGetGL33() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextGetGL33(); }
@Test public final void testContextDestroyedMakeCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextMakeCurrent(); }
@Test public final void testContextDestroyedGetImplementation() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextGetImplementation(); }
@Test public final void testContextDestroyedGetImplementation() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextGetImplementation(); }
@Test public final void testContextDestroyedGetShares() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); c0.contextDestroy(); this.expected.expect(JCGLExceptionDeleted.class); c0.contextGetShares(); }