Skip to content

Commit

Permalink
set formatter plugin to version 0.4; removed random "META-INF" directory
Browse files Browse the repository at this point in the history
  • Loading branch information
mogoodrich committed Dec 30, 2013
1 parent d18bd48 commit 0091730
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 113 deletions.
6 changes: 0 additions & 6 deletions META-INF/MANIFEST.MF

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public void shouldGetAppointmentBlockByUuid() throws Exception {
Assert.assertNotNull(result);
Assert.assertEquals(getUuid(), PropertyUtils.getProperty(result, "uuid"));
Assert.assertTrue(PropertyUtils.getProperty(result, "startDate").toString().contains("2005-01-01T00:00:00.00"));
Assert.assertTrue(PropertyUtils.getProperty(result, "endDate").toString().contains("2005-01-01T11:00:00.00"));
Assert.assertTrue(PropertyUtils.getProperty(result, "endDate").toString().contains("2005-01-01T11:00:00.00"));
Assert.assertEquals("Super User, Xanadu: 2005-01-01 00:00:00.0 - 2005-01-01 11:00:00.0",
PropertyUtils.getProperty(result, "display"));

Expand All @@ -59,8 +59,8 @@ public void shouldGetFullAppointmentBlockByUuid() throws Exception {

Assert.assertNotNull(result);
Assert.assertEquals(getUuid(), PropertyUtils.getProperty(result, "uuid"));
Assert.assertTrue(PropertyUtils.getProperty(result, "startDate").toString().contains("2005-01-01T00:00:00.00"));
Assert.assertTrue(PropertyUtils.getProperty(result, "endDate").toString().contains("2005-01-01T11:00:00.00"));
Assert.assertTrue(PropertyUtils.getProperty(result, "startDate").toString().contains("2005-01-01T00:00:00.00"));
Assert.assertTrue(PropertyUtils.getProperty(result, "endDate").toString().contains("2005-01-01T11:00:00.00"));
Assert.assertEquals("Super User, Xanadu: 2005-01-01 00:00:00.0 - 2005-01-01 11:00:00.0",
PropertyUtils.getProperty(result, "display"));

Expand Down Expand Up @@ -91,9 +91,9 @@ public void shouldCreateNewAppointmentBlock() throws Exception {

Object appt = deserialize(handle(req));
Assert.assertNotNull(PropertyUtils.getProperty(appt, "uuid"));
// TODO: figure out why the the lines below fails on bamboo
//Assert.assertTrue(PropertyUtils.getProperty(appt, "startDate").toString().contains("2005-03-01T00:00:00.00"));
//Assert.assertTrue(PropertyUtils.getProperty(appt, "endDate").toString().contains("2005-03-01T11:00:00.00"));
// TODO: figure out why the the lines below fails on bamboo
//Assert.assertTrue(PropertyUtils.getProperty(appt, "startDate").toString().contains("2005-03-01T00:00:00.00"));
//Assert.assertTrue(PropertyUtils.getProperty(appt, "endDate").toString().contains("2005-03-01T11:00:00.00"));
Assert.assertEquals("c0c54sd0-8e59-401d-8a4a-976a0b183599",
PropertyUtils.getProperty(PropertyUtils.getProperty(appt, "provider"), "uuid"));
Assert.assertEquals("9356400c-a5a2-4532-8f2b-2361b3446eb8",
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
<plugin>
<groupId>com.googlecode.maven-java-formatter-plugin</groupId>
<artifactId>maven-java-formatter-plugin</artifactId>
<version>0.4</version>
<configuration>
<compilerSource>${javaCompilerVersion}</compilerSource>
<compilerCompliance>${javaCompilerVersion}</compilerCompliance>
Expand Down

0 comments on commit 0091730

Please sign in to comment.