mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
move jetCheck to org.jetbrains
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ import com.intellij.testFramework.PlatformTestCase;
|
||||
import com.intellij.testFramework.TestDataProvider;
|
||||
import com.intellij.testFramework.UsefulTestCase;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.ArrayList;
|
||||
|
||||
+2
-2
@@ -23,8 +23,8 @@ import com.intellij.testFramework.LightProjectDescriptor;
|
||||
import com.intellij.testFramework.SkipSlowTestLocally;
|
||||
import com.intellij.testFramework.fixtures.LightCodeInsightFixtureTestCase;
|
||||
import com.intellij.testFramework.propertyBased.*;
|
||||
import jetCheck.Generator;
|
||||
import jetCheck.PropertyChecker;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.PropertyChecker;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
+2
-2
@@ -33,8 +33,8 @@ import com.intellij.testFramework.propertyBased.PsiIndexConsistencyTester.Action
|
||||
import com.intellij.testFramework.propertyBased.PsiIndexConsistencyTester.Action.*
|
||||
import com.intellij.testFramework.propertyBased.PsiIndexConsistencyTester.Model
|
||||
import com.intellij.testFramework.propertyBased.PsiIndexConsistencyTester.RefKind
|
||||
import jetCheck.Generator
|
||||
import jetCheck.PropertyChecker
|
||||
import org.jetbrains.jetCheck.Generator
|
||||
import org.jetbrains.jetCheck.PropertyChecker
|
||||
|
||||
/**
|
||||
* @author peter
|
||||
|
||||
@@ -23,9 +23,9 @@ import com.intellij.testFramework.SkipSlowTestLocally;
|
||||
import com.intellij.testFramework.propertyBased.*;
|
||||
import com.intellij.util.SystemProperties;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import jetCheck.Generator;
|
||||
import jetCheck.IntDistribution;
|
||||
import jetCheck.PropertyChecker;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.IntDistribution;
|
||||
import org.jetbrains.jetCheck.PropertyChecker;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import java.util.Random;
|
||||
import java.util.function.ToIntFunction;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
/**
|
||||
* @author peter
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
/**
|
||||
* @author peter
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+2
-2
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@@ -106,7 +106,7 @@ public class PropertyFalsified extends RuntimeException {
|
||||
List<String> result = new ArrayList<>();
|
||||
for (StackTraceElement element : e.getStackTrace()) {
|
||||
String s = element.toString();
|
||||
if (s.startsWith("jetCheck.CounterExampleImpl.checkProperty")) {
|
||||
if (s.startsWith("org.jetbrains.jetCheck.CounterExampleImpl.checkProperty")) {
|
||||
break;
|
||||
}
|
||||
result.add(s);
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
/** Represents the execution history of an {@link ImperativeCommand} sequence */
|
||||
public interface Scenario {
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
+5
-2
@@ -1,6 +1,9 @@
|
||||
package jetCheck;
|
||||
/*
|
||||
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import static jetCheck.Generator.*;
|
||||
import static org.jetbrains.jetCheck.Generator.*;
|
||||
|
||||
/**
|
||||
* @author peter
|
||||
+5
-2
@@ -1,10 +1,13 @@
|
||||
package jetCheck;
|
||||
/*
|
||||
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.function.Predicate;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import static jetCheck.Generator.*;
|
||||
import static org.jetbrains.jetCheck.Generator.*;
|
||||
|
||||
/**
|
||||
* @author peter
|
||||
+4
-1
@@ -1,4 +1,7 @@
|
||||
package jetCheck;
|
||||
/*
|
||||
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
+4
-1
@@ -1,4 +1,7 @@
|
||||
package jetCheck;
|
||||
/*
|
||||
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.stream.Collectors;
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package jetCheck;
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.HashSet;
|
||||
@@ -9,7 +9,7 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.function.Predicate;
|
||||
|
||||
import static jetCheck.Generator.*;
|
||||
import static org.jetbrains.jetCheck.Generator.*;
|
||||
|
||||
/**
|
||||
* @author peter
|
||||
+5
-3
@@ -1,5 +1,7 @@
|
||||
// Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package jetCheck;
|
||||
/*
|
||||
* Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
package org.jetbrains.jetCheck;
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
@@ -7,7 +9,7 @@ import java.util.List;
|
||||
import java.util.Objects;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
|
||||
import static jetCheck.Generator.*;
|
||||
import static org.jetbrains.jetCheck.Generator.*;
|
||||
|
||||
/**
|
||||
* @author peter
|
||||
@@ -12,9 +12,9 @@ import com.intellij.psi.impl.source.tree.*
|
||||
import com.intellij.psi.tree.IElementType
|
||||
import com.intellij.testFramework.LightPlatformTestCase
|
||||
import com.intellij.testFramework.fixtures.LightPlatformCodeInsightFixtureTestCase
|
||||
import jetCheck.Generator
|
||||
import jetCheck.IntDistribution
|
||||
import jetCheck.PropertyChecker
|
||||
import org.jetbrains.jetCheck.Generator
|
||||
import org.jetbrains.jetCheck.IntDistribution
|
||||
import org.jetbrains.jetCheck.PropertyChecker
|
||||
import one.util.streamex.IntStreamEx
|
||||
|
||||
/**
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import com.intellij.psi.PsiFile;
|
||||
import com.intellij.testFramework.LexerTestCase;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.junit.Assert;
|
||||
import jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
|
||||
/**
|
||||
* Checks that incrementally updated editor highlighter produces the same result as it would
|
||||
|
||||
+2
-2
@@ -21,8 +21,8 @@ import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import com.intellij.psi.util.PsiTreeUtil;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jetCheck.Generator;
|
||||
import jetCheck.IntDistribution;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.IntDistribution;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import com.intellij.openapi.command.WriteCommandAction;
|
||||
import com.intellij.openapi.util.TextRange;
|
||||
import com.intellij.psi.PsiElement;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
+1
-1
@@ -18,7 +18,7 @@ package com.intellij.testFramework.propertyBased;
|
||||
import com.intellij.openapi.command.WriteCommandAction;
|
||||
import com.intellij.psi.PsiFile;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
|
||||
public class InsertString extends ActionOnRange {
|
||||
private final String myToInsert;
|
||||
|
||||
+2
-2
@@ -40,8 +40,8 @@ import com.intellij.testFramework.PsiTestUtil;
|
||||
import com.intellij.testFramework.fixtures.TestLookupElementPresentation;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
import jetCheck.Generator;
|
||||
import jetCheck.IntDistribution;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.IntDistribution;
|
||||
import junit.framework.TestCase;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@ import com.intellij.psi.util.PsiUtilBase;
|
||||
import com.intellij.testFramework.PsiTestUtil;
|
||||
import com.intellij.testFramework.fixtures.impl.CodeInsightTestFixtureImpl;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
|
||||
+3
-3
@@ -42,9 +42,9 @@ import com.intellij.testFramework.UsefulTestCase;
|
||||
import com.intellij.testFramework.fixtures.CodeInsightTestFixture;
|
||||
import com.intellij.util.ThrowableRunnable;
|
||||
import com.intellij.util.ui.UIUtil;
|
||||
import jetCheck.DataStructure;
|
||||
import jetCheck.Generator;
|
||||
import jetCheck.IntDistribution;
|
||||
import org.jetbrains.jetCheck.DataStructure;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.IntDistribution;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ import com.intellij.psi.impl.source.PsiFileImpl
|
||||
import com.intellij.testFramework.PlatformTestUtil
|
||||
import com.intellij.testFramework.fixtures.CodeInsightTestFixture
|
||||
import com.intellij.util.FileContentUtilCore
|
||||
import jetCheck.Generator
|
||||
import org.jetbrains.jetCheck.Generator
|
||||
|
||||
/**
|
||||
* @author peter
|
||||
|
||||
@@ -8,8 +8,8 @@ import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.util.LineSeparator;
|
||||
import com.intellij.util.containers.ContainerUtil;
|
||||
import com.intellij.xml.util.XmlStringUtil;
|
||||
import jetCheck.Generator;
|
||||
import jetCheck.PropertyChecker;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.PropertyChecker;
|
||||
import org.jdom.Verifier;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.junit.Test;
|
||||
|
||||
@@ -23,8 +23,8 @@ import com.intellij.testFramework.fixtures.CodeInsightTestFixture;
|
||||
import com.intellij.testFramework.propertyBased.*;
|
||||
import com.jetbrains.env.PyEnvTestCase;
|
||||
import com.jetbrains.env.PyExecutionFixtureTestTask;
|
||||
import jetCheck.Generator;
|
||||
import jetCheck.PropertyChecker;
|
||||
import org.jetbrains.jetCheck.Generator;
|
||||
import org.jetbrains.jetCheck.PropertyChecker;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.junit.Test;
|
||||
|
||||
Reference in New Issue
Block a user