#103 fix code style
This commit is contained in:
parent
70062992ae
commit
5cbbb6c319
@ -37,7 +37,7 @@ public class IndexConferenceTest extends TestTemplate {
|
|||||||
private ApplicationProperties applicationProperties;
|
private ApplicationProperties applicationProperties;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testA_CreateNewConference() {
|
public void testACreateNewConference() {
|
||||||
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 1);
|
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 1);
|
||||||
|
|
||||||
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
||||||
@ -54,7 +54,7 @@ public class IndexConferenceTest extends TestTemplate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testB_ChangeConferenceNameAndSave() {
|
public void testBChangeConferenceNameAndSave() {
|
||||||
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
||||||
|
|
||||||
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
||||||
@ -73,7 +73,7 @@ public class IndexConferenceTest extends TestTemplate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testC_AddDeadlineAndSave() {
|
public void testCAddDeadlineAndSave() {
|
||||||
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
||||||
|
|
||||||
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
||||||
@ -103,7 +103,7 @@ public class IndexConferenceTest extends TestTemplate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testD_TakePartAndSave() {
|
public void testDTakePartAndSave() {
|
||||||
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
||||||
|
|
||||||
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
||||||
@ -124,7 +124,7 @@ public class IndexConferenceTest extends TestTemplate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testE_DeleteDeadlineAndSave() {
|
public void testEDeleteDeadlineAndSave() {
|
||||||
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
||||||
|
|
||||||
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
||||||
@ -144,7 +144,7 @@ public class IndexConferenceTest extends TestTemplate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testF_AttachArticle() {
|
public void testFAttachArticle() {
|
||||||
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
||||||
|
|
||||||
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
||||||
@ -172,7 +172,7 @@ public class IndexConferenceTest extends TestTemplate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testG_AddArticle() {
|
public void testGAddArticle() {
|
||||||
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
||||||
|
|
||||||
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
||||||
@ -200,7 +200,7 @@ public class IndexConferenceTest extends TestTemplate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testH_UndockArticle() {
|
public void testHUndockArticle() {
|
||||||
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
Map.Entry<PageObject, List<String>> page = Iterables.get(navigationHolder.entrySet(), 0);
|
||||||
|
|
||||||
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
getContext().goTo(applicationProperties.getBaseUrl() + page.getValue().get(1));
|
||||||
@ -216,7 +216,7 @@ public class IndexConferenceTest extends TestTemplate {
|
|||||||
|
|
||||||
getContext().goTo(applicationProperties.getBaseUrl() + String.format("/conferences/conference?id=%s", conferenceId));
|
getContext().goTo(applicationProperties.getBaseUrl() + String.format("/conferences/conference?id=%s", conferenceId));
|
||||||
|
|
||||||
Assert.assertTrue(paperCount - 1 == conferencePage.getArticlesCount());
|
Assert.assertEquals(paperCount - 1, (int) conferencePage.getArticlesCount());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user