Skip to main content
summaryrefslogtreecommitdiffstats
path: root/jpa/tests
diff options
context:
space:
mode:
authorpfullbright2007-04-25 21:59:44 +0000
committerpfullbright2007-04-25 21:59:44 +0000
commit8aaf5f108b489ca4bf4913f57359e0904dc9248d (patch)
tree7e4f12028bd6a752aec6e158556ac2516f7bd6d9 /jpa/tests
parent5edace3e5c19a24e82dd38abdea859c4ffc616c9 (diff)
downloadwebtools.dali-8aaf5f108b489ca4bf4913f57359e0904dc9248d.tar.gz
webtools.dali-8aaf5f108b489ca4bf4913f57359e0904dc9248d.tar.xz
webtools.dali-8aaf5f108b489ca4bf4913f57359e0904dc9248d.zip
renamed selected classes
Diffstat (limited to 'jpa/tests')
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/JptCoreTests.java (renamed from jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/JpaCoreTests.java)18
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/content/java/mappings/JptCoreContentJavaMappingsTests.java (renamed from jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/content/java/mappings/JpaCoreContentJavaMappingsTests.java)6
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/jdtutility/JptCoreJdtUtilityTests.java (renamed from jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/jdtutility/JpaCoreJdtUtilityTests.java)6
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JptCoreModelTests.java (renamed from jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaCoreModelTests.java)6
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/ModelInitializationTests.java4
-rw-r--r--jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/projects/TestJpaProject.java4
-rw-r--r--jpa/tests/org.eclipse.jpt.db.tests/META-INF/MANIFEST.MF2
-rw-r--r--jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/JptDbTests.java (renamed from jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/JpaDbTests.java)10
-rw-r--r--jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/JptDbTestsPlugin.java (renamed from jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/DbTestPlugin.java)10
-rw-r--r--jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/platforms/DTPPlatformTests.java4
-rw-r--r--jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/JptUtilityTests.java (renamed from jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/JpaUtilityTests.java)10
-rw-r--r--jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/iterators/JptUtilityIteratorsTests.java (renamed from jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/iterators/JpaUtilityIteratorsTests.java)6
12 files changed, 43 insertions, 43 deletions
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/JpaCoreTests.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/JptCoreTests.java
index 36d43bbcdb..8b990a6bb8 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/JpaCoreTests.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/JptCoreTests.java
@@ -11,24 +11,24 @@ package org.eclipse.jpt.core.tests.internal;
import junit.framework.Test;
import junit.framework.TestSuite;
-import org.eclipse.jpt.core.tests.internal.content.java.mappings.JpaCoreContentJavaMappingsTests;
-import org.eclipse.jpt.core.tests.internal.jdtutility.JpaCoreJdtUtilityTests;
-import org.eclipse.jpt.core.tests.internal.model.JpaCoreModelTests;
+import org.eclipse.jpt.core.tests.internal.content.java.mappings.JptCoreContentJavaMappingsTests;
+import org.eclipse.jpt.core.tests.internal.jdtutility.JptCoreJdtUtilityTests;
+import org.eclipse.jpt.core.tests.internal.model.JptCoreModelTests;
/**
* Runs all JPA Core Tests
*/
-public class JpaCoreTests {
+public class JptCoreTests {
public static Test suite() {
- TestSuite suite = new TestSuite(JpaCoreTests.class.getName());
- suite.addTest(JpaCoreContentJavaMappingsTests.suite());
- suite.addTest(JpaCoreModelTests.suite());
- suite.addTest(JpaCoreJdtUtilityTests.suite());
+ TestSuite suite = new TestSuite(JptCoreTests.class.getName());
+ suite.addTest(JptCoreContentJavaMappingsTests.suite());
+ suite.addTest(JptCoreModelTests.suite());
+ suite.addTest(JptCoreJdtUtilityTests.suite());
return suite;
}
- private JpaCoreTests() {
+ private JptCoreTests() {
super();
throw new UnsupportedOperationException();
}
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/content/java/mappings/JpaCoreContentJavaMappingsTests.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/content/java/mappings/JptCoreContentJavaMappingsTests.java
index 33bf899579..ddbb6bd094 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/content/java/mappings/JpaCoreContentJavaMappingsTests.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/content/java/mappings/JptCoreContentJavaMappingsTests.java
@@ -12,15 +12,15 @@ package org.eclipse.jpt.core.tests.internal.content.java.mappings;
import junit.framework.Test;
import junit.framework.TestSuite;
-public class JpaCoreContentJavaMappingsTests {
+public class JptCoreContentJavaMappingsTests {
public static Test suite() {
- TestSuite suite = new TestSuite(JpaCoreContentJavaMappingsTests.class.getName());
+ TestSuite suite = new TestSuite(JptCoreContentJavaMappingsTests.class.getName());
// suite.addTestSuite(JavaEntityTests.class);
return suite;
}
- private JpaCoreContentJavaMappingsTests() {
+ private JptCoreContentJavaMappingsTests() {
super();
throw new UnsupportedOperationException();
}
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/jdtutility/JpaCoreJdtUtilityTests.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/jdtutility/JptCoreJdtUtilityTests.java
index eacc2ab232..a6a0fb6b52 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/jdtutility/JpaCoreJdtUtilityTests.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/jdtutility/JptCoreJdtUtilityTests.java
@@ -12,10 +12,10 @@ package org.eclipse.jpt.core.tests.internal.jdtutility;
import junit.framework.Test;
import junit.framework.TestSuite;
-public class JpaCoreJdtUtilityTests {
+public class JptCoreJdtUtilityTests {
public static Test suite() {
- TestSuite suite = new TestSuite(JpaCoreJdtUtilityTests.class.getName());
+ TestSuite suite = new TestSuite(JptCoreJdtUtilityTests.class.getName());
suite.addTestSuite(MemberAnnotationElementAdapterTests.class);
suite.addTestSuite(CombinationIndexedDeclarationAnnotationAdapterTests.class);
suite.addTestSuite(JDTToolsTests.class);
@@ -26,7 +26,7 @@ public class JpaCoreJdtUtilityTests {
return suite;
}
- private JpaCoreJdtUtilityTests() {
+ private JptCoreJdtUtilityTests() {
super();
throw new UnsupportedOperationException();
}
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaCoreModelTests.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JptCoreModelTests.java
index be68ecc0e5..d7d2ffe080 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JpaCoreModelTests.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/JptCoreModelTests.java
@@ -11,15 +11,15 @@ package org.eclipse.jpt.core.tests.internal.model;
import junit.framework.Test;
import junit.framework.TestSuite;
-public class JpaCoreModelTests {
+public class JptCoreModelTests {
public static Test suite() {
- TestSuite suite = new TestSuite(JpaCoreModelTests.class.getPackage().getName());
+ TestSuite suite = new TestSuite(JptCoreModelTests.class.getPackage().getName());
suite.addTestSuite(ModelInitializationTests.class);
return suite;
}
- private JpaCoreModelTests() {
+ private JptCoreModelTests() {
super();
throw new UnsupportedOperationException();
}
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/ModelInitializationTests.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/ModelInitializationTests.java
index 101703f0fc..620ec258a1 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/ModelInitializationTests.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/model/ModelInitializationTests.java
@@ -14,7 +14,7 @@ import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.Path;
import org.eclipse.jpt.core.internal.IJpaModel;
import org.eclipse.jpt.core.internal.IJpaProject;
-import org.eclipse.jpt.core.internal.JpaCorePlugin;
+import org.eclipse.jpt.core.internal.JptCorePlugin;
import org.eclipse.jpt.core.tests.internal.ProjectUtility;
import org.eclipse.jpt.core.tests.internal.projects.TestFacetedProject;
import org.eclipse.jpt.utility.internal.ClassTools;
@@ -32,7 +32,7 @@ public class ModelInitializationTests extends TestCase {
protected void setUp() throws Exception {
super.setUp();
ProjectUtility.deleteAllProjects();
- this.jpaModel = JpaCorePlugin.getJpaModel();
+ this.jpaModel = JptCorePlugin.getJpaModel();
}
@Override
diff --git a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/projects/TestJpaProject.java b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/projects/TestJpaProject.java
index 2c58c045dc..68f01e8f2b 100644
--- a/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/projects/TestJpaProject.java
+++ b/jpa/tests/org.eclipse.jpt.core.tests/src/org/eclipse/jpt/core/tests/internal/projects/TestJpaProject.java
@@ -11,7 +11,7 @@ package org.eclipse.jpt.core.tests.internal.projects;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.jpt.core.internal.IJpaProject;
-import org.eclipse.jpt.core.internal.JpaCorePlugin;
+import org.eclipse.jpt.core.internal.JptCorePlugin;
public class TestJpaProject extends TestJavaProject {
private IJpaProject jpaProject;
@@ -33,7 +33,7 @@ public class TestJpaProject extends TestJavaProject {
this.installFacet("jst.utility", "1.0");
this.installFacet("jpt.jpa", "1.0");
this.addJar(this.jarName());
- this.jpaProject = JpaCorePlugin.getJpaProject(this.getProject());
+ this.jpaProject = JptCorePlugin.getJpaProject(this.getProject());
}
protected String jarName() {
diff --git a/jpa/tests/org.eclipse.jpt.db.tests/META-INF/MANIFEST.MF b/jpa/tests/org.eclipse.jpt.db.tests/META-INF/MANIFEST.MF
index 2d889ce36a..eb01aca9ac 100644
--- a/jpa/tests/org.eclipse.jpt.db.tests/META-INF/MANIFEST.MF
+++ b/jpa/tests/org.eclipse.jpt.db.tests/META-INF/MANIFEST.MF
@@ -4,7 +4,7 @@ Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.jpt.db.tests
Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.eclipse.jpt.db.tests.internal.DbTestPlugin
+Bundle-Activator: org.eclipse.jpt.db.tests.internal.JptDbTestsPlugin
Bundle-Localization: plugin
Eclipse-LazyStart: false
Require-Bundle: org.eclipse.core.runtime,
diff --git a/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/JpaDbTests.java b/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/JptDbTests.java
index dd1dcd4393..b7dca02e04 100644
--- a/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/JpaDbTests.java
+++ b/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/JptDbTests.java
@@ -16,23 +16,23 @@ import org.eclipse.jpt.db.tests.internal.platforms.AllPlatformTests;
import org.eclipse.jpt.utility.internal.ClassTools;
/**
- * JpaDbTests
+ * JptDbTests
*/
-public class JpaDbTests {
+public class JptDbTests {
public static void main( String[] args) {
- TestRunner.main( new String[] { "-c", JpaDbTests.class.getName()});
+ TestRunner.main( new String[] { "-c", JptDbTests.class.getName()});
}
public static Test suite() {
- TestSuite suite = new TestSuite( ClassTools.packageNameFor( JpaDbTests.class));
+ TestSuite suite = new TestSuite( ClassTools.packageNameFor( JptDbTests.class));
suite.addTest( AllPlatformTests.suite());
return suite;
}
- private JpaDbTests() {
+ private JptDbTests() {
super();
throw new UnsupportedOperationException();
}
diff --git a/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/DbTestPlugin.java b/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/JptDbTestsPlugin.java
index 39d0a48cb4..19601c9216 100644
--- a/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/DbTestPlugin.java
+++ b/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/JptDbTestsPlugin.java
@@ -13,26 +13,26 @@ import org.eclipse.core.runtime.Plugin;
import org.osgi.framework.BundleContext;
/**
- * DbTestPlugin
+ * JptDbTestsPlugin
*/
-public class DbTestPlugin extends Plugin {
+public class JptDbTestsPlugin extends Plugin {
// The shared instance
- private static DbTestPlugin plugin;
+ private static JptDbTestsPlugin plugin;
public static final String BUNDLE_ID = "org.eclipse.jpt.db.tests"; //$NON-NLS-1$
/**
* Returns the shared instance
*/
- public static DbTestPlugin getDefault() {
+ public static JptDbTestsPlugin getDefault() {
return plugin;
}
/**
* The constructor
*/
- public DbTestPlugin() {
+ public JptDbTestsPlugin() {
super();
plugin = this;
}
diff --git a/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/platforms/DTPPlatformTests.java b/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/platforms/DTPPlatformTests.java
index baccb6965e..46deffc7a6 100644
--- a/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/platforms/DTPPlatformTests.java
+++ b/jpa/tests/org.eclipse.jpt.db.tests/src/org/eclipse/jpt/db/tests/internal/platforms/DTPPlatformTests.java
@@ -37,7 +37,7 @@ import org.eclipse.jpt.db.internal.DTPConnectionProfileWrapper;
import org.eclipse.jpt.db.internal.Database;
import org.eclipse.jpt.db.internal.Schema;
import org.eclipse.jpt.db.internal.Table;
-import org.eclipse.jpt.db.tests.internal.DbTestPlugin;
+import org.eclipse.jpt.db.tests.internal.JptDbTestsPlugin;
import org.eclipse.jpt.utility.internal.CollectionTools;
import org.eclipse.jpt.utility.internal.StringTools;
@@ -295,7 +295,7 @@ public abstract class DTPPlatformTests extends TestCase {
}
private String getTestPluginBundleId() {
- return DbTestPlugin.BUNDLE_ID;
+ return JptDbTestsPlugin.BUNDLE_ID;
}
private IPath getDriverDefinitionLocation() {
diff --git a/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/JpaUtilityTests.java b/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/JptUtilityTests.java
index f98710f25c..82143f3bb4 100644
--- a/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/JpaUtilityTests.java
+++ b/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/JptUtilityTests.java
@@ -12,17 +12,17 @@ package org.eclipse.jpt.utility.tests.internal;
import junit.framework.Test;
import junit.framework.TestSuite;
import org.eclipse.jpt.utility.internal.ClassTools;
-import org.eclipse.jpt.utility.tests.internal.iterators.JpaUtilityIteratorsTests;
+import org.eclipse.jpt.utility.tests.internal.iterators.JptUtilityIteratorsTests;
/**
* decentralize test creation code
*/
-public class JpaUtilityTests {
+public class JptUtilityTests {
public static Test suite() {
- TestSuite suite = new TestSuite(ClassTools.packageNameFor(JpaUtilityTests.class));
+ TestSuite suite = new TestSuite(ClassTools.packageNameFor(JptUtilityTests.class));
- suite.addTest(JpaUtilityIteratorsTests.suite());
+ suite.addTest(JptUtilityIteratorsTests.suite());
suite.addTestSuite(BitToolsTests.class);
suite.addTestSuite(ClasspathTests.class);
@@ -41,7 +41,7 @@ public class JpaUtilityTests {
return suite;
}
- private JpaUtilityTests() {
+ private JptUtilityTests() {
super();
throw new UnsupportedOperationException();
}
diff --git a/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/iterators/JpaUtilityIteratorsTests.java b/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/iterators/JptUtilityIteratorsTests.java
index 9fb718e574..76e6717b34 100644
--- a/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/iterators/JpaUtilityIteratorsTests.java
+++ b/jpa/tests/org.eclipse.jpt.utility.tests/src/org/eclipse/jpt/utility/tests/internal/iterators/JptUtilityIteratorsTests.java
@@ -15,10 +15,10 @@ import junit.framework.TestSuite;
/**
* decentralize test creation code
*/
-public class JpaUtilityIteratorsTests {
+public class JptUtilityIteratorsTests {
public static Test suite() {
- TestSuite suite = new TestSuite(JpaUtilityIteratorsTests.class.getPackage().getName());
+ TestSuite suite = new TestSuite(JptUtilityIteratorsTests.class.getPackage().getName());
suite.addTestSuite(ArrayIteratorTests.class);
suite.addTestSuite(ArrayListIteratorTests.class);
@@ -46,7 +46,7 @@ public class JpaUtilityIteratorsTests {
return suite;
}
- private JpaUtilityIteratorsTests() {
+ private JptUtilityIteratorsTests() {
super();
}

Back to the top