ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/types/selectors DateSelectorTest.java
Date Mon, 08 Jul 2002 19:59:15 GMT
bruce       2002/07/08 12:59:15

  Modified:    src/testcases/org/apache/tools/ant/types/selectors Tag:
                        ANT_15_BRANCH DateSelectorTest.java
  Log:
  Removed tests which select absolute millisecond value as they appear to vary between platforms
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.4   +0 -13     jakarta-ant/src/testcases/org/apache/tools/ant/types/selectors/DateSelectorTest.java
  
  Index: DateSelectorTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/types/selectors/DateSelectorTest.java,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- DateSelectorTest.java	6 Jul 2002 00:00:30 -0000	1.1.2.3
  +++ DateSelectorTest.java	8 Jul 2002 19:59:15 -0000	1.1.2.4
  @@ -226,21 +226,8 @@
                   assertEquals("TTFFTFFFTTTT", results);
   
                   s = (DateSelector)getInstance();
  -                s.setMillis(1006347300000L);
  -                s.setWhen(equal);
  -                results = selectionString(s);
  -                assertEquals("TTFFTFFFTTTT", results);
  -
  -                s = (DateSelector)getInstance();
                   s.setMillis(milliseconds);
                   s.setWhen(equal);
  -                results = selectionString(s);
  -                assertEquals("TTFFTFFFTTTT", results);
  -
  -                s = (DateSelector)getInstance();
  -                s.setMillis(1006347305000L);
  -                s.setWhen(equal);
  -                s.setGranularity(15000);
                   results = selectionString(s);
                   assertEquals("TTFFTFFFTTTT", results);
   
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message