<surefireAggregatedReport _class='hudson.maven.reporters.SurefireAggregatedReport'><failCount>0</failCount><skipCount>0</skipCount><totalCount>3</totalCount><urlName>testReport</urlName><childReport><child _class='hudson.maven.MavenBuild'><action _class='hudson.maven.reporters.SurefireReport'><failCount>0</failCount><skipCount>0</skipCount><totalCount>3</totalCount><urlName>testReport</urlName></action><action></action><action _class='hudson.maven.reporters.MavenArtifactRecord'><url>http://sing.ei.uvigo.es/dt/jenkins/job/microstories-2526-teamA/es.uvigo.esei.dgss.teamA.microstories$dgss2526-teamA-microstories-rest/44/mavenArtifacts/</url></action><action></action><artifact><displayPath>dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-javadoc.jar</displayPath><fileName>dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-javadoc.jar</fileName><relativePath>es.uvigo.esei.dgss.teamA.microstories/dgss2526-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-javadoc.jar</relativePath></artifact><artifact><displayPath>dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-sources.jar</displayPath><fileName>dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-sources.jar</fileName><relativePath>es.uvigo.esei.dgss.teamA.microstories/dgss2526-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT-sources.jar</relativePath></artifact><artifact><displayPath>dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.pom</displayPath><fileName>dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.pom</fileName><relativePath>es.uvigo.esei.dgss.teamA.microstories/dgss2526-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.pom</relativePath></artifact><artifact><displayPath>dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.war</displayPath><fileName>dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.war</fileName><relativePath>es.uvigo.esei.dgss.teamA.microstories/dgss2526-teamA-microstories-rest/0.1.0-SNAPSHOT/dgss2526-teamA-microstories-rest-0.1.0-SNAPSHOT.war</relativePath></artifact><building>false</building><displayName>#44</displayName><duration>53228</duration><estimatedDuration>70905</estimatedDuration><fullDisplayName>microstories-2526-teamA » REST #44</fullDisplayName><id>44</id><keepLog>false</keepLog><number>44</number><queueId>-1</queueId><result>SUCCESS</result><timestamp>1762208951224</timestamp><url>http://sing.ei.uvigo.es/dt/jenkins/job/microstories-2526-teamA/es.uvigo.esei.dgss.teamA.microstories$dgss2526-teamA-microstories-rest/44/</url><builtOn></builtOn><changeSet _class='hudson.maven.FilteredChangeLogSet'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tests/src/main/resources/scripts/cleanup.sql</affectedPath><affectedPath>tests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/IsEqualToStory.java</affectedPath><affectedPath>rest/src/test/resources/test-persistence.xml</affectedPath><affectedPath>tests/src/main/resources/stories.xml</affectedPath><affectedPath>tests/src/main/resources/datasets/stories.xml</affectedPath><affectedPath>service/src/main/java/es/uvigo/esei/microstories/mappers/StoryMapper.java</affectedPath><affectedPath>rest/src/test/resources/web.xml</affectedPath><affectedPath>tests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/StoriesDataset.java</affectedPath><affectedPath>rest/src/test/java/es/uvigo/esei/microstories/rest/GenericTypes.java</affectedPath><affectedPath>rest/src/test/java/es/uvigo/esei/microstories/rest/ResourceUnitTestSuite.java</affectedPath><affectedPath>rest/src/test/java/es/uvigo/esei/microstories/rest/StoryResourceRestTest.java</affectedPath><affectedPath>rest/src/test/resources/beans.xml</affectedPath><commitId>7e92cf4a2fc9bab57459b5e5730e4a5224d0c172</commitId><timestamp>1762208773000</timestamp><author><absoluteUrl>http://sing.ei.uvigo.es/dt/jenkins/user/devpablogg</absoluteUrl><fullName>devpablogg</fullName></author><authorEmail>devpablogg@gmail.com</authorEmail><comment>tsk8: Implements REST tests for recent stories
This commit introduces REST integration tests for the
`/api/microstories/recents` endpoint, verifying that the service
correctly retrieves and orders the 6 most recent stories. To ensure
consistent results, the timestamp handling in `StoriesDataset` and the
XML datasets was adjusted to align with DBUnit expectations. The dataset
files now use SQL-style timestamps (`yyyy-MM-dd HH:mm:ss`), and
`StoriesDataset` uses
`LocalDateTime` instead of `Instant.parse()` to avoid timezone
discrepancies. The dataset file was moved to the datasets/ directory,
matching the framework’s default lookup path. Additionally, a
cleanup.sql script was introduced to clear test tables between
executions, ensuring isolation and preventing residual data issues.
</comment><date>2025-11-03 23:26:13 +0100</date><id>7e92cf4a2fc9bab57459b5e5730e4a5224d0c172</id><msg>tsk8: Implements REST tests for recent stories</msg><path><editType>edit</editType><file>rest/src/test/resources/beans.xml</file></path><path><editType>add</editType><file>rest/src/test/java/es/uvigo/esei/microstories/rest/ResourceUnitTestSuite.java</file></path><path><editType>edit</editType><file>rest/src/test/resources/test-persistence.xml</file></path><path><editType>add</editType><file>tests/src/main/resources/scripts/cleanup.sql</file></path><path><editType>add</editType><file>rest/src/test/java/es/uvigo/esei/microstories/rest/GenericTypes.java</file></path><path><editType>edit</editType><file>tests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/IsEqualToStory.java</file></path><path><editType>edit</editType><file>rest/src/test/resources/web.xml</file></path><path><editType>add</editType><file>rest/src/test/java/es/uvigo/esei/microstories/rest/StoryResourceRestTest.java</file></path><path><editType>delete</editType><file>tests/src/main/resources/stories.xml</file></path><path><editType>edit</editType><file>tests/src/main/java/es/uvigo/esei/dgss/teama/microstories/entities/StoriesDataset.java</file></path><path><editType>add</editType><file>tests/src/main/resources/datasets/stories.xml</file></path><path><editType>edit</editType><file>service/src/main/java/es/uvigo/esei/microstories/mappers/StoryMapper.java</file></path></item></changeSet><culprit><absoluteUrl>http://sing.ei.uvigo.es/dt/jenkins/user/devpablogg</absoluteUrl><fullName>devpablogg</fullName></culprit><mavenArtifacts><url>http://sing.ei.uvigo.es/dt/jenkins/job/microstories-2526-teamA/es.uvigo.esei.dgss.teamA.microstories$dgss2526-teamA-microstories-rest/44/mavenArtifacts/</url></mavenArtifacts></child><result _class='hudson.tasks.junit.TestResult'><duration>40.99</duration><empty>false</empty><failCount>0</failCount><passCount>3</passCount><skipCount>0</skipCount><suite><case><age>0</age><className>es.uvigo.esei.microstories.rest.StoryResourceRestTest</className><duration>1.243</duration><failedSince>0</failedSince><name>beforeGet</name><skipped>false</skipped><status>PASSED</status></case><case><age>0</age><className>es.uvigo.esei.microstories.rest.StoryResourceRestTest</className><duration>3.941</duration><failedSince>0</failedSince><name>listRecentStories</name><skipped>false</skipped><status>PASSED</status></case><case><age>0</age><className>es.uvigo.esei.microstories.rest.StoryResourceRestTest</className><duration>0.252</duration><failedSince>0</failedSince><name>afterGet</name><skipped>false</skipped><status>PASSED</status></case><duration>40.99</duration><name>es.uvigo.esei.microstories.rest.ResourceUnitTestSuite</name></suite></result></childReport></surefireAggregatedReport>