Updated the build.gradle to delegate down to the subprojects

This commit is contained in:
2019-02-03 20:46:37 -07:00
parent d008757b53
commit fc36fa994e
19 changed files with 38 additions and 86 deletions
@@ -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,8 +1,6 @@
package edu.msudenver.tsp.services.parser;
import org.springframework.stereotype.Service;
@Service
//@Service
class ParserService {
}
@@ -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,8 +1,6 @@
package edu.msudenver.tsp.services.scoring;
import org.springframework.stereotype.Service;
@Service
//@Service
class TheoremScoringService {
}
@@ -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);
}
}
@@ -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);
}
}