ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1361187 - /ace/sandbox/marrs/org.apache.ace.client.repository.itest/src/org/apache/ace/it/repositoryadmin/TemplateProcessorTest.java
Date Fri, 13 Jul 2012 12:59:40 GMT
Author: jawi
Date: Fri Jul 13 12:59:40 2012
New Revision: 1361187

URL: http://svn.apache.org/viewvc?rev=1361187&view=rev
Log:
Trying to make test even more robust.

Modified:
    ace/sandbox/marrs/org.apache.ace.client.repository.itest/src/org/apache/ace/it/repositoryadmin/TemplateProcessorTest.java

Modified: ace/sandbox/marrs/org.apache.ace.client.repository.itest/src/org/apache/ace/it/repositoryadmin/TemplateProcessorTest.java
URL: http://svn.apache.org/viewvc/ace/sandbox/marrs/org.apache.ace.client.repository.itest/src/org/apache/ace/it/repositoryadmin/TemplateProcessorTest.java?rev=1361187&r1=1361186&r2=1361187&view=diff
==============================================================================
--- ace/sandbox/marrs/org.apache.ace.client.repository.itest/src/org/apache/ace/it/repositoryadmin/TemplateProcessorTest.java
(original)
+++ ace/sandbox/marrs/org.apache.ace.client.repository.itest/src/org/apache/ace/it/repositoryadmin/TemplateProcessorTest.java
Fri Jul 13 12:59:40 2012
@@ -256,9 +256,7 @@ public class TemplateProcessorTest exten
         ArtifactObject a1 = m_artifactRepository.importArtifact(noTemplateFile.toURI().toURL(),
true);
         Artifact2FeatureAssociation a2g = m_artifact2featureRepository.create(a1, go);
 
-        final StatefulTargetObject sgo =
-            m_statefulTargetRepository.get(
-                m_bundleContext.createFilter("(" + TargetObject.KEY_ID + "=templatetarget2)")).get(0);
+        final StatefulTargetObject sgo = findStatefulTarget("templatetarget2");
 
         // create a deploymentversion
         assertTrue("With the new assignments, the SGO should need approval.", sgo.needsApprove());



Mime
View raw message