blob: a91697f6393e27a6065d6df630d1b14d18200da9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
/**
* <copyright>
*
* Copyright (c) 2005, 2006 Springsite BV (The Netherlands) and others
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Martin Taal
* </copyright>
*
* $Id: DetachFeatureMapTest.java,v 1.2 2006/07/23 19:20:57 mtaal Exp $
*/
package org.eclipse.emf.teneo.hibernate.test.emf.detach;
import org.eclipse.emf.teneo.resource.StoreResource;
import org.eclipse.emf.teneo.test.AbstractActionTest;
import org.eclipse.emf.teneo.test.emf.detach.DetachFeatureMapAction;
import org.eclipse.emf.teneo.test.stores.TestStore;
/**
* Is a test case to test detach functionality for featuremap with different kinds of methods on the featuremap (move, set, etc).
*
* @version $Revision: 1.2 $
*/
public class DetachFeatureMapTest extends AbstractActionTest {
/** Creates a hibernate specific version of the action */
private static DetachFeatureMapAction testAction = new DetachFeatureMapAction() {
/** Returns the resource uri, jdo is default (for now) */
public String getResourceUri(TestStore store) {
return "hibernate://?" + StoreResource.DS_NAME_PARAM + "=" + store.getDatabaseAdapter().getDbName();
}
};
public DetachFeatureMapTest() {
super(testAction);
}
}
|