Commits

Anonymous committed c5cd3e3

Disable JmsAdapterServiceTests

Since 4d3c6f7eb5d3273e089015b0502cade6d04f1f6f the JMS plugin is disabled
causing all tests of the JmsAdapterServiceTests to fail with a
NullPointerException.

Disabled for the time being, should be enabled again once JMS plugin is
enabled again.

  • Participants
  • Parent commits e03f4aa

Comments (0)

Files changed (1)

File test/integration/net/biomodels/jummp/core/JmsAdapterServiceTests.groovy

         modelService.vcsService.vcsManager = null
     }
 
+    @Ignore
     @Test
     void testAuthenticate() {
         // test wrong parameter
         assertTrue(auth instanceof JummpAuthentication)
     }
 
+    @Ignore
     @Test
     void testGetAllModels() {
         // invalid parameter should end in IllegalArgumentException
         assertTrue(send("getAllModels", [auth3.getAuthenticationHash(), 0, 0, true, "test"]) instanceof IllegalArgumentException)
     }
 
+    @Ignore
     @Test
     void testModelCount() {
         // first test without authentication
         assertEquals(0, result)
     }
 
+    @Ignore
     @Test
     void testGetLatestRevision() {
         // first test a completely invalid variant
         assertTrue(send("getLatestRevision", [auth2.getAuthenticationHash(), model.id]) instanceof AccessDeniedException)
     }
 
+    @Ignore
     @Test
     void testGetAllRevisions() {
         // first test a completely invalid variant
         assertTrue(result.isEmpty())
     }
 
+    @Ignore
     @Test
     void testUploadModel() {
         // first test a completely invalid variant
         assertTrue(send("deleteModel", [auth.getAuthenticationHash(), result.id as Long]))
     }
 
+    @Ignore
     @Test
     void testAddRevision() {
         // first test a completely invalid variant
         modelAdminUser(false)
     }
 
+    @Ignore
     @Test
     void testRetrieveModelFile() {
         // first test a completely invalid variant
         assertTrue(send("deleteModel", [auth.getAuthenticationHash(), model.id as Long]))
     }
 
+    @Ignore
     @Test
     void testGrantReadAccess() {
         // first test a completely invalid variant
         assertEquals(0, send("getModelCount", auth2.getAuthenticationHash()))
     }
 
+    @Ignore
     @Test
     void testGrantWriteAccess() {
         // first test a completely invalid variant
         assertTrue(result instanceof AccessDeniedException)
     }
 
+    @Ignore
     @Test
     void testRevokeReadAccess() {
         // first test a completely invalid variant
         assertTrue(send("revokeReadAccess", [auth.getAuthenticationHash(), model.toCommandObject(), User.findByUsername("username")]) instanceof AccessDeniedException)
     }
 
+    @Ignore
     @Test
     void testRevokeWriteAccess() {
         // first test a completely invalid variant
         assertTrue(send("revokeWriteAccess", [auth.getAuthenticationHash(), model.toCommandObject(), User.findByUsername("username")]) instanceof AccessDeniedException)
     }
 
+    @Ignore
     @Test
     void testDeleteRestoreModel() {
         // first test a completely invalid variant