This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 78256696 authored by Michael Breu's avatar Michael Breu :speech_balloon:
Browse files

More Tests

parent e115e396
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
...@@ -65,6 +65,12 @@ public class MetaDataRepositoryIT { ...@@ -65,6 +65,12 @@ public class MetaDataRepositoryIT {
assertThat(contributorAutoComplete, contains(hasProperty("target", is("Daniel Bastta")))); assertThat(contributorAutoComplete, contains(hasProperty("target", is("Daniel Bastta"))));
} }
@Test
public void testProgrammingLanguageAutocompletion() throws IOException {
final List<AutoCompleteEntry> plAutoComplete = metaDataRepository.getProgrammingLanguageAutoComplete("Ja");
assertThat(plAutoComplete, contains(hasProperty("target", is("Java"))));
}
@Test @Test
public void getByExerciseId() throws IOException { public void getByExerciseId() throws IOException {
// This test assumes that the test entries have consecutive ids // This test assumes that the test entries have consecutive ids
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment