mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
adapt test expectations according to the new dep-graph implementation
GitOrigin-RevId: b0a8d679857d0179f5a44ce43fa307d9c3d9b6c7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b5f9e1771a
commit
49d12e430e
@@ -6,14 +6,4 @@ End of files
|
||||
Compiling files:
|
||||
src/a.p
|
||||
src/b.p
|
||||
End of files
|
||||
Cleaning output files:
|
||||
out/production/m/PackageFacade.class
|
||||
out/production/m/a.class
|
||||
out/production/m/xxx/PackageFacade.class
|
||||
out/production/m/xxx/b.class
|
||||
End of files
|
||||
Compiling files:
|
||||
src/a.p
|
||||
src/b.p
|
||||
End of files
|
||||
+9
-20
@@ -1,18 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2016 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.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package org.jetbrains.jps.builders.java
|
||||
|
||||
class ClassesWithMultipleSourcesTest: IncrementalBuildTestCase() {
|
||||
@@ -65,11 +51,14 @@ class ClassesWithMultipleSourcesTest: IncrementalBuildTestCase() {
|
||||
}
|
||||
|
||||
fun testChangeTargetPackage() {
|
||||
doTest {
|
||||
createFile("src/a.p")
|
||||
createFile("src/b.p")
|
||||
modify {
|
||||
changeFile("src/b.p", "package xxx;")
|
||||
// now relevant for the new implementation only
|
||||
if (JavaBuilderUtil.isDepGraphEnabled()) { // todo: remove the check when the new dep-graph based implementation becomes the default one
|
||||
doTest {
|
||||
createFile("src/a.p")
|
||||
createFile("src/b.p")
|
||||
modify {
|
||||
changeFile("src/b.p", "package xxx;")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user