assertThat(windowsEclipseVersion.getArchitectures().get(0).getName(), equalTo("Windows (64bit)"));
}
@Test
public void addsADownloadLinkTheArchitectureInEachPlatform() throws Exception {
Architecture macArchitecture =
toolSuite.getPlatformList().get(1).getEclipseVersions().get(0).getArchitectures().get(0);
assertThat(macArchitecture.getDownloadLinks().size(), equalTo(1));
assertThat(
macArchitecture.getDownloadLinks().get(0).getUrl(),
equalTo("http://dist.springsource.com/release/STS/3.3.0/dist/e4.3/spring-tool-suite-3.3.0.RELEASE-e4.3-macosx-cocoa-installer.dmg"));
Architecture windowsArchitecture =
toolSuite.getPlatformList().get(0).getEclipseVersions().get(0).getArchitectures().get(0);
assertThat(windowsArchitecture.getDownloadLinks().size(), equalTo(1));
assertThat(
windowsArchitecture.getDownloadLinks().get(0).getUrl(),
equalTo("http://dist.springsource.com/release/STS/3.3.0/dist/e4.3/spring-tool-suite-3.3.0.RELEASE-e4.3-win32-x86_64-installer.exe"));
}