From 0f0f5361ace2d30ce8b680acb2faca35318a4e1f Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Tue, 23 May 2017 20:20:36 +0300 Subject: [PATCH] [tests] a test case for IDEA-173216 --- .../com/intellij/ide/updates/UpdateStrategyTest.kt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/platform/platform-tests/testSrc/com/intellij/ide/updates/UpdateStrategyTest.kt b/platform/platform-tests/testSrc/com/intellij/ide/updates/UpdateStrategyTest.kt index 44fc1948d1dd..8b692c464303 100644 --- a/platform/platform-tests/testSrc/com/intellij/ide/updates/UpdateStrategyTest.kt +++ b/platform/platform-tests/testSrc/com/intellij/ide/updates/UpdateStrategyTest.kt @@ -1,5 +1,5 @@ /* - * Copyright 2000-2016 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -118,6 +118,16 @@ class UpdateStrategyTest { assertBuild("145.595", result.newBuild) } + @Test fun `ignored same-baseline updates do not hide new major releases`() { + val result = check("IU-145.971", ChannelStatus.RELEASE, """ + + + + + """, listOf("145.1617", "145.2070")) + assertBuild("171.4424", result.newBuild) + } + @Test fun `updates can be targeted for specific builds (different builds)`() { val channels = """