diff --git a/platform/platform-tests/testSrc/com/intellij/ide/updates/UpdateStrategyTest.java b/platform/platform-tests/testSrc/com/intellij/ide/updates/UpdateStrategyTest.java index f60eae12586e..c287b32ad172 100644 --- a/platform/platform-tests/testSrc/com/intellij/ide/updates/UpdateStrategyTest.java +++ b/platform/platform-tests/testSrc/com/intellij/ide/updates/UpdateStrategyTest.java @@ -53,6 +53,7 @@ public class UpdateStrategyTest extends TestCase { //assume user has version 9 eap - and used eap channel - we want to introduce new eap final TestUpdateSettings settings = new TestUpdateSettings(ChannelStatus.EAP); settings.addIgnoredBuildNumber("95.627"); + settings.addIgnoredBuildNumber("98.620"); //first time load UpdateStrategy strategy = new UpdateStrategy(9, BuildNumber.fromString("IU-95.429"), UpdatesInfoXppParserTest.InfoReader.read("idea-new9eap.xml"), settings); @@ -65,9 +66,9 @@ public class UpdateStrategyTest extends TestCase { public void testNewChannelAppears() { // assume user has version 9 eap subscription (default or selected) // and new channel appears - eap of version 10 is there - final TestUpdateSettings settings = new TestUpdateSettings(ChannelStatus.EAP); + final TestUpdateSettings settings = new TestUpdateSettings(ChannelStatus.RELEASE); //first time load - UpdateStrategy strategy = new UpdateStrategy(9, BuildNumber.fromString("IU-95.627"), UpdatesInfoXppParserTest.InfoReader.read("idea-newChannel.xml"), settings); + UpdateStrategy strategy = new UpdateStrategy(9, BuildNumber.fromString("IU-95.627"), UpdatesInfoXppParserTest.InfoReader.read("idea-newChannel-release.xml"), settings); final CheckForUpdateResult result = strategy.checkForUpdates(); diff --git a/platform/platform-tests/testSrc/com/intellij/ide/updates/idea-newChannel-release.xml b/platform/platform-tests/testSrc/com/intellij/ide/updates/idea-newChannel-release.xml new file mode 100644 index 000000000000..b85019fe6161 --- /dev/null +++ b/platform/platform-tests/testSrc/com/intellij/ide/updates/idea-newChannel-release.xml @@ -0,0 +1,39 @@ + + + IU + IC + + + + IntelliJ IDEA 9.0.4 is available. + Please visit http://www.jetbrains.com/idea to learn more and download it. + + + + + + + + IntelliJ IDEA 9.0.4 is available. + Please visit http://www.jetbrains.com/idea to learn more and download it. + + + + + + + + IntelliJ IDEA X RC is available. + Please visit http://confluence.jetbrains.net/display/IDEADEV/IDEA+X+EAP to learn more and download it. + + + + + + + +