Updated the build.gradle to delegate down to the subprojects
This commit is contained in:
+2
-5
@@ -1,10 +1,7 @@
|
||||
package edu.msudenver.tsp.services.parser;
|
||||
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan
|
||||
//@Configuration
|
||||
//@ComponentScan
|
||||
//@PropertySource("classpath:development.properties")
|
||||
public class ParserConfig {
|
||||
|
||||
|
||||
+1
-3
@@ -1,8 +1,6 @@
|
||||
package edu.msudenver.tsp.services.parser;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
//@Service
|
||||
class ParserService {
|
||||
|
||||
}
|
||||
|
||||
+3
-7
@@ -1,15 +1,11 @@
|
||||
package edu.msudenver.tsp.services.scoring;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan
|
||||
//@Configuration
|
||||
//@ComponentScan
|
||||
//@PropertySource("classpath:development.properties")
|
||||
public class ScoringConfig {
|
||||
|
||||
@Bean
|
||||
// @Bean
|
||||
public TheoremScoringService theoremScoringService() {
|
||||
return new TheoremScoringService();
|
||||
}
|
||||
|
||||
+1
-3
@@ -1,8 +1,6 @@
|
||||
package edu.msudenver.tsp.services.scoring;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
//@Service
|
||||
class TheoremScoringService {
|
||||
|
||||
}
|
||||
|
||||
+8
@@ -1,9 +1,17 @@
|
||||
package edu.msudenver.tsp.services.parser;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.runners.MockitoJUnitRunner;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class ParserServiceTest {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
assertEquals(3,3);
|
||||
}
|
||||
|
||||
}
|
||||
+7
@@ -1,9 +1,16 @@
|
||||
package edu.msudenver.tsp.services.scoring;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.runners.MockitoJUnitRunner;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class TheoremScoringServiceTest {
|
||||
|
||||
@Test
|
||||
public void test() {
|
||||
assertEquals(3,3);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user