@Test public final void testContextMakeCurrentIsCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); Assert.assertFalse(c0.contextIsCurrent()); c0.contextMakeCurrent(); Assert.assertTrue(c0.contextIsCurrent()); }
@Test public final void testContextMakeCurrentIsCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); Assert.assertFalse(c0.contextIsCurrent()); c0.contextMakeCurrent(); Assert.assertTrue(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 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 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 testContextMakeCurrentAlreadyCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); this.expected.expect(JCGLExceptionContextIsCurrent.class); c0.contextMakeCurrent(); }
@Test public final void testContextMakeCurrentAlreadyCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); this.expected.expect(JCGLExceptionContextIsCurrent.class); c0.contextMakeCurrent(); }
@Test public final void testContextReleaseNotCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); this.expected.expect(JCGLExceptionContextNotCurrent.class); c0.contextReleaseCurrent(); }
@Test public final void testContextReleaseNotCurrent() { final JCGLContextType c0 = this.newContext("main"); Assert.assertTrue(c0.contextIsCurrent()); c0.contextReleaseCurrent(); this.expected.expect(JCGLExceptionContextNotCurrent.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 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 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 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 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 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(); }