Added initial classes that need to be written
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package parser;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan
|
||||
@PropertySource("classpath:development.properties")
|
||||
public class ParserConfig {
|
||||
|
||||
@Bean
|
||||
public ParserService parserService() {
|
||||
return new ParserService();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package parser;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
class ParserService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package scoring;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@ComponentScan
|
||||
@PropertySource("classpath:development.properties")
|
||||
public class ScoringConfig {
|
||||
|
||||
@Bean
|
||||
public TheoremScoringService theoremScoringService() {
|
||||
return new TheoremScoringService();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
package scoring;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
class TheoremScoringService {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package parser;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.runners.MockitoJUnitRunner;
|
||||
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class ParserServiceTest {
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package scoring;
|
||||
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.runners.MockitoJUnitRunner;
|
||||
|
||||
@RunWith(MockitoJUnitRunner.class)
|
||||
public class TheoremScoringServiceTest {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user