This commit is contained in:
anhefti 2019-09-02 14:16:31 +02:00
parent b9b8581075
commit 35c06c2657
3 changed files with 7 additions and 3 deletions

2
Jenkinsfile vendored
View file

@ -24,7 +24,7 @@ pipeline {
steps { steps {
pmd canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '**/target/pmd.xml', thresholdLimit: 'high', unHealthy: '' pmd canComputeNew: false, defaultEncoding: '', healthy: '', pattern: '**/target/pmd.xml', thresholdLimit: 'high', unHealthy: ''
findbugs canComputeNew: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', isRankActivated: true, pattern: '**/target/findbugsXml.xml', unHealthy: '' findbugs canComputeNew: false, defaultEncoding: '', excludePattern: '', healthy: '', includePattern: '', isRankActivated: true, pattern: '**/target/findbugsXml.xml', unHealthy: ''
jacoco classPattern: '**/build/classes/*/main/', execPattern: '**/target/jacoco.exec', sourcePattern: '**/src/main/java' jacoco classPattern: '**/build/classes/*/main/', execPattern: '**/target/*.exec', sourcePattern: '**/src/main/java', inclusionPattern: '**/*.class'
} }
} }

View file

@ -149,7 +149,6 @@
<plugin> <plugin>
<groupId>org.jacoco</groupId> <groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId> <artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.2</version>
<executions> <executions>
<execution> <execution>
<id>prepare-agent</id> <id>prepare-agent</id>

View file

@ -26,6 +26,7 @@ import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.institution.Activ
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.institution.GetInstitution; import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.institution.GetInstitution;
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.institution.GetInstitutionNames; import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.institution.GetInstitutionNames;
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.institution.NewInstitution; import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.institution.NewInstitution;
import ch.ethz.seb.sebserver.gui.service.remote.webservice.api.useraccount.NewUserAccount;
public class UseCasesIntegrationTest extends GuiIntegrationTest { public class UseCasesIntegrationTest extends GuiIntegrationTest {
@ -94,7 +95,8 @@ public class UseCasesIntegrationTest extends GuiIntegrationTest {
"admin", "admin",
"admin", "admin",
new GetInstitution(), new GetInstitution(),
new GetInstitutionNames()); new GetInstitutionNames(),
new NewUserAccount());
final String instId = restService.getBuilder(GetInstitutionNames.class) final String instId = restService.getBuilder(GetInstitutionNames.class)
.call() .call()
@ -105,6 +107,9 @@ public class UseCasesIntegrationTest extends GuiIntegrationTest {
.get().modelId; .get().modelId;
assertNotNull(instId); assertNotNull(instId);
//restService.getBuilder(NewUserAccount.class)
} }
} }