Improve XJC-binding (Issue 73) #74
@ -1,4 +1,4 @@
|
||||
package se.su.dsv.scipro.daisyExternal;
|
||||
package se.su.dsv.scipro.daisyexternal;
|
||||
|
||||
/**
|
||||
* Specifies interaction of an importing service component.
|
@ -1,4 +1,4 @@
|
||||
package se.su.dsv.scipro.daisyExternal;
|
||||
package se.su.dsv.scipro.daisyexternal;
|
||||
|
||||
import java.util.Map;
|
||||
import se.su.dsv.scipro.io.dto.Person;
|
@ -1,4 +1,4 @@
|
||||
package se.su.dsv.scipro.daisyExternal.impl;
|
||||
package se.su.dsv.scipro.daisyexternal.impl;
|
||||
|
||||
import jakarta.inject.Inject;
|
||||
import jakarta.transaction.Transactional;
|
||||
@ -6,8 +6,8 @@ import jakarta.ws.rs.ClientErrorException;
|
||||
import java.util.*;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import se.su.dsv.scipro.daisyExternal.ExternalImporter;
|
||||
import se.su.dsv.scipro.daisyExternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.ExternalImporter;
|
||||
import se.su.dsv.scipro.daisyexternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.exceptions.ExternalImportException;
|
||||
import se.su.dsv.scipro.daisyexternal.http.DaisyAPI;
|
||||
import se.su.dsv.scipro.io.dto.Employee;
|
@ -1,4 +1,4 @@
|
||||
package se.su.dsv.scipro.daisyExternal.impl;
|
||||
package se.su.dsv.scipro.daisyexternal.impl;
|
||||
|
||||
import jakarta.inject.Inject;
|
||||
import jakarta.inject.Named;
|
||||
@ -14,7 +14,7 @@ import java.util.Set;
|
||||
import java.util.stream.Stream;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import se.su.dsv.scipro.daisyExternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.http.DaisyAPI;
|
||||
import se.su.dsv.scipro.io.dto.AuthorProjectParticipant;
|
||||
import se.su.dsv.scipro.io.dto.Course;
|
@ -5,10 +5,10 @@ import jakarta.inject.Provider;
|
||||
import jakarta.persistence.EntityManager;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import se.su.dsv.scipro.daisyExternal.ExternalImporter;
|
||||
import se.su.dsv.scipro.daisyExternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyExternal.impl.ExternalImporterDaisyImpl;
|
||||
import se.su.dsv.scipro.daisyExternal.impl.ImporterTransactionsImpl;
|
||||
import se.su.dsv.scipro.daisyexternal.ExternalImporter;
|
||||
import se.su.dsv.scipro.daisyexternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.impl.ExternalImporterDaisyImpl;
|
||||
import se.su.dsv.scipro.daisyexternal.impl.ImporterTransactionsImpl;
|
||||
import se.su.dsv.scipro.daisyexternal.http.DaisyAPI;
|
||||
import se.su.dsv.scipro.finalseminar.FinalSeminarService;
|
||||
import se.su.dsv.scipro.finalthesis.FinalThesisService;
|
||||
|
@ -8,8 +8,8 @@ import java.util.*;
|
||||
import java.util.stream.Stream;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import se.su.dsv.scipro.daisyExternal.ExternalImporter;
|
||||
import se.su.dsv.scipro.daisyExternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.ExternalImporter;
|
||||
import se.su.dsv.scipro.daisyexternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.http.DaisyAPI;
|
||||
import se.su.dsv.scipro.daisyexternal.http.Semester;
|
||||
import se.su.dsv.scipro.io.dto.Person;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package se.su.dsv.scipro.daisyExternal.impl;
|
||||
package se.su.dsv.scipro.daisyexternal.impl;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
import static org.mockito.ArgumentMatchers.anyString;
|
||||
@ -9,7 +9,7 @@ import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import se.su.dsv.scipro.daisyExternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.http.DaisyAPI;
|
||||
import se.su.dsv.scipro.io.dto.Person;
|
||||
import se.su.dsv.scipro.springdata.services.UnitService;
|
@ -1,4 +1,4 @@
|
||||
package se.su.dsv.scipro.daisyExternal.impl;
|
||||
package se.su.dsv.scipro.daisyexternal.impl;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.assertEquals;
|
||||
import static org.mockito.AdditionalAnswers.returnsFirstArg;
|
||||
@ -17,7 +17,12 @@ import se.su.dsv.scipro.io.dto.Person;
|
||||
import se.su.dsv.scipro.io.dto.UserName;
|
||||
import se.su.dsv.scipro.match.ProgramService;
|
||||
import se.su.dsv.scipro.project.ProjectService;
|
||||
import se.su.dsv.scipro.system.*;
|
||||
import se.su.dsv.scipro.system.ProjectTypeService;
|
||||
import se.su.dsv.scipro.system.ResearchAreaService;
|
||||
import se.su.dsv.scipro.system.User;
|
||||
import se.su.dsv.scipro.system.UserNameService;
|
||||
import se.su.dsv.scipro.system.UserService;
|
||||
import se.su.dsv.scipro.system.Username;
|
||||
|
||||
@ExtendWith(MockitoExtension.class)
|
||||
public class ImporterTransactionsImplTest {
|
@ -4,14 +4,20 @@ import static java.util.Arrays.asList;
|
||||
import static org.mockito.Mockito.*;
|
||||
|
||||
import jakarta.persistence.EntityManager;
|
||||
import java.util.*;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.mockito.Mock;
|
||||
import org.mockito.junit.jupiter.MockitoExtension;
|
||||
import se.su.dsv.scipro.daisyExternal.ExternalImporter;
|
||||
import se.su.dsv.scipro.daisyExternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.ExternalImporter;
|
||||
import se.su.dsv.scipro.daisyexternal.ImporterTransactions;
|
||||
import se.su.dsv.scipro.daisyexternal.http.DaisyAPI;
|
||||
import se.su.dsv.scipro.io.dto.Person;
|
||||
import se.su.dsv.scipro.io.dto.Thesis;
|
||||
|
Loading…
x
Reference in New Issue
Block a user