Added initial classes that need to be written

This commit is contained in:
2019-02-03 18:47:57 -07:00
parent 5372643b52
commit 61b8fca76b
10 changed files with 87 additions and 0 deletions
@@ -0,0 +1,3 @@
public class PersistenceConfig {
}
@@ -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 {
}
@@ -0,0 +1,9 @@
package scoring;
import org.junit.runner.RunWith;
import org.mockito.runners.MockitoJUnitRunner;
@RunWith(MockitoJUnitRunner.class)
public class TheoremScoringServiceTest {
}
@@ -0,0 +1,2 @@
public class ProofsDriver {
}
@@ -0,0 +1,11 @@
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 WebsiteConfig {
}
@@ -0,0 +1,3 @@
public class ProofsDriverTest {
}