db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arm...@apache.org
Subject svn commit: r416825 - in /db/ojb/branches/OJB_1_0_RELEASE/src: schema/ojbtest-data.xml test/org/apache/ojb/broker/ExtentAwarePathExpressionsTest.java
Date Fri, 23 Jun 2006 21:48:27 GMT
Author: arminw
Date: Fri Jun 23 14:48:26 2006
New Revision: 416825

URL: http://svn.apache.org/viewvc?rev=416825&view=rev
Log:
fix bug in ExtentAwarePathExpressionTest

Modified:
    db/ojb/branches/OJB_1_0_RELEASE/src/schema/ojbtest-data.xml
    db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ExtentAwarePathExpressionsTest.java

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/schema/ojbtest-data.xml
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/schema/ojbtest-data.xml?rev=416825&r1=416824&r2=416825&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/schema/ojbtest-data.xml (original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/schema/ojbtest-data.xml Fri Jun 23 14:48:26 2006
@@ -180,8 +180,8 @@
     <News Id="2" Headline="Ferrai for sale (CARS - BUYERS)"/>
     <News Id="3" Headline="Brazil World Cup Champion ! (SPORTS)"/>
 
-    <Paper Id="10" Headline="NONE" Issuedate="today" Author="NONE"/>
-    <Paper Id="11" Headline="SALES" Issuedate="yesterday" Author="SALES MAN"/>
+    <Paper Id="10" Issuedate="today" Author="NONE"/>
+    <Paper Id="11" Issuedate="yesterday" Author="SALES MAN"/>
 
     <Topic Id="10" Name="Buyers" Importance="important"/>
     <Topic Id="11" Name="Sellers" Importance="unimportant"/>

Modified: db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ExtentAwarePathExpressionsTest.java
URL: http://svn.apache.org/viewvc/db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ExtentAwarePathExpressionsTest.java?rev=416825&r1=416824&r2=416825&view=diff
==============================================================================
--- db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ExtentAwarePathExpressionsTest.java
(original)
+++ db/ojb/branches/OJB_1_0_RELEASE/src/test/org/apache/ojb/broker/ExtentAwarePathExpressionsTest.java
Fri Jun 23 14:48:26 2006
@@ -274,7 +274,7 @@
     public void testMultipleClassPath_1a()
     {
         Criteria criteria = new Criteria();
-        criteria.addLike("headline", "SAL%");
+        criteria.addLike("date", "yes%");
         criteria.addEqualTo("qualifiers.importance", "unimportant");
         criteria.addEqualTo("qualifiers.name", "Sellers");
         QueryByCriteria query = QueryFactory.newQuery(BaseContentImpl.class, criteria, true);
@@ -293,7 +293,7 @@
     public void testMultipleClassPath_1b()
     {
         Criteria criteria = new Criteria();
-        criteria.addLike("headline", "SAL%");
+        criteria.addLike("date", "yes%");
         criteria.addEqualTo("qualifiers.importance", "unimportant");
         criteria.addEqualTo("qualifiers.name", "Sellers");
         QueryByCriteria query = QueryFactory.newQuery(BaseContentImpl.class, criteria, true);
@@ -312,7 +312,7 @@
     public void testMultipleClassPath_2a()
     {
         Criteria criteria = new Criteria();
-        criteria.addLike("headline", "SAL%");
+        criteria.addLike("date", "yes%");
         criteria.addEqualTo("qualifiers.importance", "unimportant");
         criteria.addEqualTo("qualifiers.name", "Sellers");
         criteria.addPathClass("qualifiers", Qualifier.class);
@@ -331,7 +331,7 @@
     public void testMultipleClassPath_2b()
     {
         Criteria criteria = new Criteria();
-        criteria.addLike("headline", "SAL%");
+        criteria.addLike("date", "yes%");
         criteria.addEqualTo("qualifiers.importance", "unimportant");
         criteria.addEqualTo("qualifiers.name", "Sellers");
         //criteria.addPathClass("qualifiers", Qualifier.class);



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message