save/load selected and started task BLD200410101800
authorlebedkov@netbeans.org
Sat, 09 Oct 2004 12:09:26 +0000
changeset 5315599dacffa300
parent 5314 78a90250af2e
child 5316 966e763374cc
save/load selected and started task
tasklist.usertasks/src/org/netbeans/modules/tasklist/usertasks/UserTaskView.java
tasklist.usertasks/src/org/netbeans/modules/tasklist/usertasks/translators/ICalExportFormat.java
tasklist.usertasks/src/org/netbeans/modules/tasklist/usertasks/treetable/TreeTable.java
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test1.ics
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test12.ics
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test2.ics
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test3.ics
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test4.ics
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test5.ics
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test6.ics
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test7.ics
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test8.ics
tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test9.ics
tasklist.usertasks/test/qa-functional/testCases.html
     1.1 --- a/tasklist.usertasks/src/org/netbeans/modules/tasklist/usertasks/UserTaskView.java	Fri Oct 08 16:46:39 2004 +0000
     1.2 +++ b/tasklist.usertasks/src/org/netbeans/modules/tasklist/usertasks/UserTaskView.java	Sat Oct 09 12:09:26 2004 +0000
     1.3 @@ -273,9 +273,7 @@
     1.4  
     1.5          int ver = objectInput.read();
     1.6  
     1.7 -        // Read in the UID of the currently selected task, or null if none
     1.8 -        // TODO: Not yet implemented
     1.9 -        String selUID = (String) objectInput.readObject();
    1.10 +        objectInput.readObject(); // ignore the UID of selected task
    1.11  
    1.12          if (ver == 4)
    1.13              return;
    1.14 @@ -290,13 +288,6 @@
    1.15              sortingColumn = -1;
    1.16          }
    1.17  
    1.18 -        /*
    1.19 -        System.out.println("readExternal: " + getClass().getName()); // NOI18N
    1.20 -        System.out.println("numVisible is " + numVisible); // NOI18N
    1.21 -        System.out.println("sortingColumn is " + sortingColumn); // NOI18N
    1.22 -        System.out.println("ascending is " + ascending); // NOI18N
    1.23 -        */
    1.24 -
    1.25          if (numVisible > 0) {
    1.26              String[] columns = new String[0];
    1.27              int numColumns = columns.length;
    1.28 @@ -306,68 +297,13 @@
    1.29              }
    1.30              for (int i = 0; i < numVisible; i++) {
    1.31                  int uid = objectInput.read();
    1.32 -                /* don't do anything. we just read the bytes
    1.33 -                int index;
    1.34 -                if ((uid < numColumns) && (columns[uid].uid == uid)) {
    1.35 -                    // UID == column index. This is the scenario for now
    1.36 -                    // until we delete columns in the middle etc.
    1.37 -                    index = uid;
    1.38 -                } else {
    1.39 -                    // Have to search for the uid
    1.40 -                    index = -1;
    1.41 -                    for (int j = 0; j < numColumns; j++) {
    1.42 -                        if (columns[j].uid == uid) {
    1.43 -                            index = j;
    1.44 -                            break;
    1.45 -                        }
    1.46 -                    }
    1.47 -                }
    1.48 -
    1.49 -    if (index != -1) {
    1.50 -                    columnVisible[index] = true;
    1.51 -
    1.52 -                    // Set sorting attribute
    1.53 -                    if (sortingColumn == uid) {
    1.54 -                    columns[index].setValue("SortingColumnTTV", // NOI18N
    1.55 -                                Boolean.TRUE);
    1.56 -                    // Descending sort?
    1.57 -                    if (!ascending) {
    1.58 -                        columns[index].setValue("DescendingOrderTTV", // NOI18N
    1.59 -                                    Boolean.TRUE);
    1.60 -                    }
    1.61 -                    }
    1.62 -                }
    1.63 -    */
    1.64              }
    1.65 -
    1.66 -            //System.out.print("Column visibility: {");
    1.67 -            /* we don't do anything. we just read the bytes
    1.68 -for (int i = 0; i < columns.length; i++) {
    1.69 -//System.out.print(" " + columnVisible[i]);
    1.70 -
    1.71 -            // Is this column visible?
    1.72 -            if (columnVisible[i]) {
    1.73 -                columns[i].setValue("InvisibleInTreeTableView", // NOI18N
    1.74 -                        // NOTE reverse logic: this is INvisible
    1.75 -                        Boolean.FALSE);
    1.76 -            } else {
    1.77 -                // Necessary because by default some columns
    1.78 -                // set invisible by default, so I have to
    1.79 -                // override these
    1.80 -                columns[i].setValue("InvisibleInTreeTableView", // NOI18N
    1.81 -                        // NOTE reverse logic: this is INvisible
    1.82 -                        Boolean.TRUE);
    1.83 -            }
    1.84 -            }
    1.85 -*/
    1.86 -//System.out.println(" }");
    1.87          }
    1.88  
    1.89          if (ver >= 2) {
    1.90              objectInput.readObject(); // ignoring category
    1.91              objectInput.readObject(); // ignoring title
    1.92              int persistentInt = objectInput.read();
    1.93 -            // persistent = (persistentInt != 0);
    1.94          }
    1.95  
    1.96          synchronized (UserTaskView.class) {
    1.97 @@ -385,34 +321,50 @@
    1.98       * @throws ClassNotFoundException  
    1.99       */    
   1.100      public void readExternal(ObjectInput objectInput) throws IOException, java.lang.ClassNotFoundException {
   1.101 -        try {
   1.102 -            readExternalCore(objectInput);
   1.103 -            int ver = objectInput.read();
   1.104 +        readExternalCore(objectInput);
   1.105 +        int ver = objectInput.read();
   1.106  
   1.107 -            if (ver >= 2) {
   1.108 -                // Read tasklist file name
   1.109 -                String urlString = (String)objectInput.readObject();
   1.110 -                
   1.111 -                UTUtils.LOGGER.fine("reading url " + urlString); // NOI18N
   1.112 -                
   1.113 -                if (urlString != null) {
   1.114 -                    URL url = new URL(urlString);
   1.115 -                    FileObject fo = URLMapper.findFileObject(url);
   1.116 -                    if (fo != null) {
   1.117 -                        UserTaskList utl = new UserTaskList();
   1.118 -                        utl.readFile(fo);
   1.119 -                        setList(utl);
   1.120 -                    }
   1.121 -                } else {
   1.122 -                    setList(UserTaskList.getDefault());
   1.123 +        if (ver >= 2) {
   1.124 +            // Read tasklist file name
   1.125 +            String urlString = (String)objectInput.readObject();
   1.126 +
   1.127 +            UTUtils.LOGGER.fine("reading url " + urlString); // NOI18N
   1.128 +
   1.129 +            if (urlString != null) {
   1.130 +                URL url = new URL(urlString);
   1.131 +                FileObject fo = URLMapper.findFileObject(url);
   1.132 +                if (fo != null) {
   1.133 +                    UserTaskList utl = new UserTaskList();
   1.134 +                    utl.readFile(fo);
   1.135 +                    setList(utl);
   1.136                  }
   1.137 +            } else {
   1.138 +                setList(UserTaskList.getDefault());
   1.139 +                defview = this;
   1.140              }
   1.141 -            if (ver >= 3) {
   1.142 -                tt.readExpandedState(objectInput);
   1.143 -                tt.select(new TreePath(tt.getTreeTableModel().getRoot()));
   1.144 +        }
   1.145 +        if (ver >= 3) {
   1.146 +            tt.readExpandedState(objectInput);
   1.147 +            tt.select(new TreePath(tt.getTreeTableModel().getRoot()));
   1.148 +        }
   1.149 +        if (ver >= 4) {
   1.150 +            Object sel = objectInput.readObject();
   1.151 +            if (sel != null) {
   1.152 +                TreePath tp = tt.readResolveTreePath(sel);
   1.153 +                if (tp != null)
   1.154 +                    tt.select(tp);
   1.155              }
   1.156 -        } catch (Throwable t) {
   1.157 -            t.printStackTrace();
   1.158 +        }
   1.159 +        if (ver >= 5) {
   1.160 +            String uid = (String) objectInput.readObject();
   1.161 +            
   1.162 +            // started task
   1.163 +            if (UserTaskList.getStarted() == null && uid != null) {
   1.164 +                UserTask ut = tasklist.findItem(
   1.165 +                    tasklist.getSubtasks().iterator(), uid);
   1.166 +                if (ut != null)
   1.167 +                    ut.start();
   1.168 +            }
   1.169          }
   1.170      }
   1.171  
   1.172 @@ -421,21 +373,16 @@
   1.173       * columns, sorting order, etc.) such that they can
   1.174       * be reconstructed the next time the IDE is started.
   1.175       * @todo Use a more robust serialization format (not int uid based)
   1.176 +     *
   1.177       * @param objectOutput Object stream to write to
   1.178       * @throws IOException  
   1.179 -     */
   1.180 -    public void writeExternalCore(ObjectOutput objectOutput) throws IOException {
   1.181 +     */    
   1.182 +    public void writeExternal(ObjectOutput objectOutput) throws IOException {
   1.183          // Don't call super.writeExternal.
   1.184 -        // Our parents are ExplorerPanel and TopComponent.
   1.185 -        // ExplorerPanel writes out the ExplorerManager, which tries
   1.186 -        //  to write out the node selection, explored content, etc.
   1.187 -        //  We don't want that. Specific tasklist children, such as
   1.188 -        //  the usertasklist, may want to persist the selection but
   1.189 -        //  most (such as the suggestions view, source scan etc,
   1.190 -        //  don't want this.)
   1.191 +        // Our parent is TopComponent.
   1.192          // TopComponent persists the name and tooltip text; we
   1.193          //  don't care about that either.
   1.194 -        //super.writeExternal(objectOutput);
   1.195 +        // super.writeExternal(objectOutput);
   1.196  
   1.197          // Version 1 format:
   1.198          // String: selected uid
   1.199 @@ -455,19 +402,6 @@
   1.200  
   1.201          // Write out the UID of the currently selected task, or null if none
   1.202          objectOutput.writeObject(null); // Not yet implemented
   1.203 -    }
   1.204 -
   1.205 -    /** 
   1.206 -     * Write out relevant settings in the window (visible
   1.207 -     * columns, sorting order, etc.) such that they can
   1.208 -     * be reconstructed the next time the IDE is started.
   1.209 -     * @todo Use a more robust serialization format (not int uid based)
   1.210 -     *
   1.211 -     * @param objectOutput Object stream to write to
   1.212 -     * @throws IOException  
   1.213 -     */    
   1.214 -    public void writeExternal(ObjectOutput objectOutput) throws IOException {
   1.215 -        writeExternalCore(objectOutput);
   1.216  
   1.217          UserTaskList tl = (UserTaskList)getList();
   1.218          tl.save(); // Only does something if the todolist has changed...        
   1.219 @@ -476,7 +410,7 @@
   1.220          // preferences, etc.
   1.221          // Since I'm not doing that yet, let's at a minimum put in a version
   1.222          // byte so we can do the right thing later without corrupting the userdir
   1.223 -        objectOutput.write(3); // SERIAL VERSION
   1.224 +        objectOutput.write(5); // SERIAL VERSION
   1.225  
   1.226          FileObject fo = tl.getFile();
   1.227          if (fo != null) {
   1.228 @@ -489,15 +423,21 @@
   1.229          }
   1.230          
   1.231          tt.writeExpandedState(objectOutput);
   1.232 -    }
   1.233 -
   1.234 -    /** 
   1.235 -     * Create the root node to be used in this view 
   1.236 -     *
   1.237 -     * @return created node
   1.238 -     */
   1.239 -    protected Node createRootNode() {
   1.240 -        return new UserTaskListNode((UserTaskList) getList(), null);
   1.241 +        
   1.242 +        // selected task
   1.243 +        TreePath tp = tt.getSelectedPath();
   1.244 +        if (tp != null)
   1.245 +            objectOutput.writeObject(tt.writeReplaceTreePath(tp));
   1.246 +        else
   1.247 +            objectOutput.writeObject(null);
   1.248 +        
   1.249 +        // started task
   1.250 +        if (UserTaskList.getStarted() != null && 
   1.251 +            UserTaskList.getStarted().getList() == tasklist) {
   1.252 +            objectOutput.writeObject(UserTaskList.getStarted().getUID());
   1.253 +        } else {
   1.254 +            objectOutput.writeObject(null);
   1.255 +        }
   1.256      }
   1.257  
   1.258      /**
     2.1 --- a/tasklist.usertasks/src/org/netbeans/modules/tasklist/usertasks/translators/ICalExportFormat.java	Fri Oct 08 16:46:39 2004 +0000
     2.2 +++ b/tasklist.usertasks/src/org/netbeans/modules/tasklist/usertasks/translators/ICalExportFormat.java	Sat Oct 09 12:09:26 2004 +0000
     2.3 @@ -53,8 +53,6 @@
     2.4   *       file. I might need some of it again when we decide we want to
     2.5   *       event support.
     2.6   *
     2.7 - * TODO: review this class after the "export/import framework" rewrite
     2.8 - *
     2.9   * @author Tor Norbye
    2.10   * @author Trond Norbye
    2.11   */
     3.1 --- a/tasklist.usertasks/src/org/netbeans/modules/tasklist/usertasks/treetable/TreeTable.java	Fri Oct 08 16:46:39 2004 +0000
     3.2 +++ b/tasklist.usertasks/src/org/netbeans/modules/tasklist/usertasks/treetable/TreeTable.java	Sat Oct 09 12:09:26 2004 +0000
     3.3 @@ -170,6 +170,19 @@
     3.4      }
     3.5  
     3.6      /**
     3.7 +     * Returns selected path
     3.8 +     *
     3.9 +     * @return selected path or null
    3.10 +     */
    3.11 +    public TreePath getSelectedPath() {
    3.12 +        int row = getSelectedRow();
    3.13 +        if (row < 0)
    3.14 +            return null;
    3.15 +        
    3.16 +        return tree.getPathForRow(row);
    3.17 +    }
    3.18 +    
    3.19 +    /**
    3.20       * TreeModel does not support a reordering event. Therefore it is 
    3.21       * necessary to save the expanded nodes and selection before 
    3.22       * a reordering and restore them after such an operation.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test1.ics	Sat Oct 09 12:09:26 2004 +0000
     4.3 @@ -0,0 +1,39 @@
     4.4 +BEGIN:VCALENDAR
     4.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
     4.6 +VERSION:2.0
     4.7 +
     4.8 +BEGIN:VTODO
     4.9 +UID:nb1095505693929.165@timpc/127.0.0.1
    4.10 +CREATED:20040918T110813Z
    4.11 +SUMMARY:C
    4.12 +PERCENT-COMPLETE:0
    4.13 +X-NETBEANS-EFFORT:60
    4.14 +X-NETBEANS-SPENT-TIME:0
    4.15 +LAST-MODIFIED:20040918T110815Z
    4.16 +X-NETBEANS-LINE:173
    4.17 +END:VTODO
    4.18 +
    4.19 +BEGIN:VTODO
    4.20 +UID:nb1095505683514.163@timpc/127.0.0.1
    4.21 +CREATED:20040918T110803Z
    4.22 +SUMMARY:A
    4.23 +PERCENT-COMPLETE:0
    4.24 +X-NETBEANS-EFFORT:60
    4.25 +X-NETBEANS-SPENT-TIME:0
    4.26 +LAST-MODIFIED:20040918T110805Z
    4.27 +X-NETBEANS-LINE:173
    4.28 +END:VTODO
    4.29 +
    4.30 +BEGIN:VTODO
    4.31 +UID:nb1095505689522.164@timpc/127.0.0.1
    4.32 +CREATED:20040918T110809Z
    4.33 +SUMMARY:B
    4.34 +PERCENT-COMPLETE:0
    4.35 +X-NETBEANS-EFFORT:60
    4.36 +X-NETBEANS-SPENT-TIME:0
    4.37 +LAST-MODIFIED:20040918T110811Z
    4.38 +X-NETBEANS-LINE:173
    4.39 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
    4.40 +END:VTODO
    4.41 +
    4.42 +END:VCALENDAR
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test12.ics	Sat Oct 09 12:09:26 2004 +0000
     5.3 @@ -0,0 +1,145 @@
     5.4 +BEGIN:VCALENDAR
     5.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
     5.6 +VERSION:2.0
     5.7 +
     5.8 +BEGIN:VTODO
     5.9 +UID:nb1096053304335.216@timpc/127.0.0.1
    5.10 +CREATED:20040924T191504Z
    5.11 +SUMMARY:Music
    5.12 +PERCENT-COMPLETE:0
    5.13 +X-NETBEANS-PROGRESS-COMPUTED:yes
    5.14 +X-NETBEANS-EFFORT:180
    5.15 +X-NETBEANS-EFFORT-COMPUTED:yes
    5.16 +X-NETBEANS-SPENT-TIME:0
    5.17 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
    5.18 +LAST-MODIFIED:20040924T191607Z
    5.19 +END:VTODO
    5.20 +
    5.21 +BEGIN:VTODO
    5.22 +UID:nb1096053321790.219@timpc/127.0.0.1
    5.23 +CREATED:20040924T191521Z
    5.24 +SUMMARY:techno
    5.25 +PERCENT-COMPLETE:0
    5.26 +X-NETBEANS-EFFORT:60
    5.27 +X-NETBEANS-SPENT-TIME:0
    5.28 +LAST-MODIFIED:20040924T191523Z
    5.29 +RELATED-TO:nb1096053304335.216@timpc/127.0.0.1
    5.30 +END:VTODO
    5.31 +
    5.32 +BEGIN:VTODO
    5.33 +UID:nb1096053317845.218@timpc/127.0.0.1
    5.34 +CREATED:20040924T191517Z
    5.35 +SUMMARY:pop
    5.36 +PERCENT-COMPLETE:0
    5.37 +X-NETBEANS-EFFORT:60
    5.38 +X-NETBEANS-SPENT-TIME:0
    5.39 +LAST-MODIFIED:20040924T191519Z
    5.40 +RELATED-TO:nb1096053304335.216@timpc/127.0.0.1
    5.41 +END:VTODO
    5.42 +
    5.43 +BEGIN:VTODO
    5.44 +UID:nb1096053313639.217@timpc/127.0.0.1
    5.45 +CREATED:20040924T191513Z
    5.46 +SUMMARY:rock
    5.47 +PERCENT-COMPLETE:0
    5.48 +X-NETBEANS-EFFORT:60
    5.49 +X-NETBEANS-SPENT-TIME:0
    5.50 +LAST-MODIFIED:20040924T191515Z
    5.51 +RELATED-TO:nb1096053304335.216@timpc/127.0.0.1
    5.52 +END:VTODO
    5.53 +
    5.54 +BEGIN:VTODO
    5.55 +UID:nb1096053295202.215@timpc/127.0.0.1
    5.56 +CREATED:20040924T191455Z
    5.57 +SUMMARY:Lights
    5.58 +PERCENT-COMPLETE:0
    5.59 +X-NETBEANS-PROGRESS-COMPUTED:yes
    5.60 +X-NETBEANS-EFFORT:180
    5.61 +X-NETBEANS-EFFORT-COMPUTED:yes
    5.62 +X-NETBEANS-SPENT-TIME:0
    5.63 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
    5.64 +LAST-MODIFIED:20040924T191601Z
    5.65 +END:VTODO
    5.66 +
    5.67 +BEGIN:VTODO
    5.68 +UID:nb1096053335250.222@timpc/127.0.0.1
    5.69 +CREATED:20040924T191535Z
    5.70 +SUMMARY:yellow
    5.71 +PERCENT-COMPLETE:0
    5.72 +X-NETBEANS-EFFORT:60
    5.73 +X-NETBEANS-SPENT-TIME:0
    5.74 +LAST-MODIFIED:20040924T191537Z
    5.75 +RELATED-TO:nb1096053295202.215@timpc/127.0.0.1
    5.76 +END:VTODO
    5.77 +
    5.78 +BEGIN:VTODO
    5.79 +UID:nb1096053331444.221@timpc/127.0.0.1
    5.80 +CREATED:20040924T191531Z
    5.81 +SUMMARY:green
    5.82 +PERCENT-COMPLETE:0
    5.83 +X-NETBEANS-EFFORT:60
    5.84 +X-NETBEANS-SPENT-TIME:0
    5.85 +LAST-MODIFIED:20040924T191533Z
    5.86 +RELATED-TO:nb1096053295202.215@timpc/127.0.0.1
    5.87 +END:VTODO
    5.88 +
    5.89 +BEGIN:VTODO
    5.90 +UID:nb1096053327519.220@timpc/127.0.0.1
    5.91 +CREATED:20040924T191527Z
    5.92 +SUMMARY:red
    5.93 +PERCENT-COMPLETE:0
    5.94 +X-NETBEANS-EFFORT:60
    5.95 +X-NETBEANS-SPENT-TIME:0
    5.96 +LAST-MODIFIED:20040924T191529Z
    5.97 +RELATED-TO:nb1096053295202.215@timpc/127.0.0.1
    5.98 +END:VTODO
    5.99 +
   5.100 +BEGIN:VTODO
   5.101 +UID:nb1095505683514.163@timpc/127.0.0.1
   5.102 +CREATED:20040918T110803Z
   5.103 +SUMMARY:Colors
   5.104 +PERCENT-COMPLETE:18
   5.105 +X-NETBEANS-PROGRESS-COMPUTED:yes
   5.106 +X-NETBEANS-EFFORT:180
   5.107 +X-NETBEANS-EFFORT-COMPUTED:yes
   5.108 +X-NETBEANS-SPENT-TIME:15
   5.109 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
   5.110 +LAST-MODIFIED:20040924T191557Z
   5.111 +END:VTODO
   5.112 +
   5.113 +BEGIN:VTODO
   5.114 +UID:nb1095766343623.138@timpc/127.0.0.1
   5.115 +CREATED:20040921T113223Z
   5.116 +SUMMARY:G
   5.117 +PERCENT-COMPLETE:25
   5.118 +X-NETBEANS-PROGRESS-COMPUTED:yes
   5.119 +X-NETBEANS-EFFORT:60
   5.120 +X-NETBEANS-SPENT-TIME:15
   5.121 +LAST-MODIFIED:20040921T113714Z
   5.122 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   5.123 +END:VTODO
   5.124 +
   5.125 +BEGIN:VTODO
   5.126 +UID:nb1095766338986.137@timpc/127.0.0.1
   5.127 +CREATED:20040921T113218Z
   5.128 +SUMMARY:R
   5.129 +PERCENT-COMPLETE:30
   5.130 +X-NETBEANS-EFFORT:60
   5.131 +X-NETBEANS-SPENT-TIME:0
   5.132 +LAST-MODIFIED:20040921T113649Z
   5.133 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   5.134 +END:VTODO
   5.135 +
   5.136 +BEGIN:VTODO
   5.137 +UID:nb1095505689522.164@timpc/127.0.0.1
   5.138 +CREATED:20040918T110809Z
   5.139 +SUMMARY:B
   5.140 +PERCENT-COMPLETE:0
   5.141 +X-NETBEANS-EFFORT:60
   5.142 +X-NETBEANS-SPENT-TIME:0
   5.143 +LAST-MODIFIED:20040924T191557Z
   5.144 +X-NETBEANS-LINE:173
   5.145 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   5.146 +END:VTODO
   5.147 +
   5.148 +END:VCALENDAR
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test2.ics	Sat Oct 09 12:09:26 2004 +0000
     6.3 @@ -0,0 +1,39 @@
     6.4 +BEGIN:VCALENDAR
     6.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
     6.6 +VERSION:2.0
     6.7 +
     6.8 +BEGIN:VTODO
     6.9 +UID:nb1095505693929.165@timpc/127.0.0.1
    6.10 +CREATED:20040918T110813Z
    6.11 +SUMMARY:C
    6.12 +PERCENT-COMPLETE:0
    6.13 +X-NETBEANS-EFFORT:60
    6.14 +X-NETBEANS-SPENT-TIME:0
    6.15 +LAST-MODIFIED:20040918T110815Z
    6.16 +X-NETBEANS-LINE:173
    6.17 +END:VTODO
    6.18 +
    6.19 +BEGIN:VTODO
    6.20 +UID:nb1095505683514.163@timpc/127.0.0.1
    6.21 +CREATED:20040918T110803Z
    6.22 +SUMMARY:A
    6.23 +PERCENT-COMPLETE:0
    6.24 +X-NETBEANS-EFFORT:60
    6.25 +X-NETBEANS-SPENT-TIME:0
    6.26 +LAST-MODIFIED:20040918T110805Z
    6.27 +X-NETBEANS-LINE:173
    6.28 +END:VTODO
    6.29 +
    6.30 +BEGIN:VTODO
    6.31 +UID:nb1095505689522.164@timpc/127.0.0.1
    6.32 +CREATED:20040918T110809Z
    6.33 +SUMMARY:B
    6.34 +PERCENT-COMPLETE:0
    6.35 +X-NETBEANS-EFFORT:60
    6.36 +X-NETBEANS-SPENT-TIME:0
    6.37 +LAST-MODIFIED:20040918T110811Z
    6.38 +X-NETBEANS-LINE:173
    6.39 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
    6.40 +END:VTODO
    6.41 +
    6.42 +END:VCALENDAR
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test3.ics	Sat Oct 09 12:09:26 2004 +0000
     7.3 @@ -0,0 +1,49 @@
     7.4 +BEGIN:VCALENDAR
     7.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
     7.6 +VERSION:2.0
     7.7 +
     7.8 +BEGIN:VTODO
     7.9 +UID:nb1095522213262.126@timpc/127.0.0.1
    7.10 +CREATED:20040918T154333Z
    7.11 +SUMMARY:u
    7.12 +PERCENT-COMPLETE:0
    7.13 +X-NETBEANS-EFFORT:60
    7.14 +X-NETBEANS-SPENT-TIME:0
    7.15 +LAST-MODIFIED:20040918T154334Z
    7.16 +END:VTODO
    7.17 +
    7.18 +BEGIN:VTODO
    7.19 +UID:nb1095505693929.165@timpc/127.0.0.1
    7.20 +CREATED:20040918T110813Z
    7.21 +SUMMARY:C
    7.22 +PERCENT-COMPLETE:0
    7.23 +X-NETBEANS-EFFORT:60
    7.24 +X-NETBEANS-SPENT-TIME:0
    7.25 +LAST-MODIFIED:20040918T110815Z
    7.26 +X-NETBEANS-LINE:173
    7.27 +END:VTODO
    7.28 +
    7.29 +BEGIN:VTODO
    7.30 +UID:nb1095505683514.163@timpc/127.0.0.1
    7.31 +CREATED:20040918T110803Z
    7.32 +SUMMARY:A
    7.33 +PERCENT-COMPLETE:0
    7.34 +X-NETBEANS-EFFORT:60
    7.35 +X-NETBEANS-SPENT-TIME:0
    7.36 +LAST-MODIFIED:20040918T110805Z
    7.37 +X-NETBEANS-LINE:173
    7.38 +END:VTODO
    7.39 +
    7.40 +BEGIN:VTODO
    7.41 +UID:nb1095505689522.164@timpc/127.0.0.1
    7.42 +CREATED:20040918T110809Z
    7.43 +SUMMARY:B
    7.44 +PERCENT-COMPLETE:0
    7.45 +X-NETBEANS-EFFORT:60
    7.46 +X-NETBEANS-SPENT-TIME:0
    7.47 +LAST-MODIFIED:20040918T110811Z
    7.48 +X-NETBEANS-LINE:173
    7.49 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
    7.50 +END:VTODO
    7.51 +
    7.52 +END:VCALENDAR
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test4.ics	Sat Oct 09 12:09:26 2004 +0000
     8.3 @@ -0,0 +1,49 @@
     8.4 +BEGIN:VCALENDAR
     8.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
     8.6 +VERSION:2.0
     8.7 +
     8.8 +BEGIN:VTODO
     8.9 +UID:nb1095522213262.126@timpc/127.0.0.1
    8.10 +CREATED:20040918T154333Z
    8.11 +SUMMARY:u
    8.12 +PERCENT-COMPLETE:0
    8.13 +X-NETBEANS-EFFORT:60
    8.14 +X-NETBEANS-SPENT-TIME:0
    8.15 +LAST-MODIFIED:20040918T154334Z
    8.16 +END:VTODO
    8.17 +
    8.18 +BEGIN:VTODO
    8.19 +UID:nb1095505693929.165@timpc/127.0.0.1
    8.20 +CREATED:20040918T110813Z
    8.21 +SUMMARY:C
    8.22 +PERCENT-COMPLETE:0
    8.23 +X-NETBEANS-EFFORT:60
    8.24 +X-NETBEANS-SPENT-TIME:0
    8.25 +LAST-MODIFIED:20040918T110815Z
    8.26 +X-NETBEANS-LINE:173
    8.27 +END:VTODO
    8.28 +
    8.29 +BEGIN:VTODO
    8.30 +UID:nb1095505683514.163@timpc/127.0.0.1
    8.31 +CREATED:20040918T110803Z
    8.32 +SUMMARY:A
    8.33 +PERCENT-COMPLETE:0
    8.34 +X-NETBEANS-EFFORT:60
    8.35 +X-NETBEANS-SPENT-TIME:0
    8.36 +LAST-MODIFIED:20040918T110805Z
    8.37 +X-NETBEANS-LINE:173
    8.38 +END:VTODO
    8.39 +
    8.40 +BEGIN:VTODO
    8.41 +UID:nb1095505689522.164@timpc/127.0.0.1
    8.42 +CREATED:20040918T110809Z
    8.43 +SUMMARY:B
    8.44 +PERCENT-COMPLETE:0
    8.45 +X-NETBEANS-EFFORT:60
    8.46 +X-NETBEANS-SPENT-TIME:0
    8.47 +LAST-MODIFIED:20040918T110811Z
    8.48 +X-NETBEANS-LINE:173
    8.49 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
    8.50 +END:VTODO
    8.51 +
    8.52 +END:VCALENDAR
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test5.ics	Sat Oct 09 12:09:26 2004 +0000
     9.3 @@ -0,0 +1,92 @@
     9.4 +BEGIN:VCALENDAR
     9.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
     9.6 +VERSION:2.0
     9.7 +
     9.8 +BEGIN:VTODO
     9.9 +UID:nb1095676748945.136@timpc/145.254.141.101
    9.10 +CREATED:20040920T103908Z
    9.11 +SUMMARY:G
    9.12 +PERCENT-COMPLETE:100
    9.13 +X-NETBEANS-EFFORT:60
    9.14 +X-NETBEANS-SPENT-TIME:0
    9.15 +LAST-MODIFIED:20040920T103912Z
    9.16 +END:VTODO
    9.17 +
    9.18 +BEGIN:VTODO
    9.19 +UID:nb1095676744559.135@timpc/145.254.141.101
    9.20 +CREATED:20040920T103904Z
    9.21 +SUMMARY:F
    9.22 +PERCENT-COMPLETE:0
    9.23 +X-NETBEANS-EFFORT:60
    9.24 +X-NETBEANS-SPENT-TIME:0
    9.25 +LAST-MODIFIED:20040920T104103Z
    9.26 +END:VTODO
    9.27 +
    9.28 +BEGIN:VTODO
    9.29 +UID:nb1095505693929.165@timpc/127.0.0.1
    9.30 +CREATED:20040918T110813Z
    9.31 +SUMMARY:C
    9.32 +PERCENT-COMPLETE:0
    9.33 +X-NETBEANS-EFFORT:60
    9.34 +X-NETBEANS-SPENT-TIME:0
    9.35 +LAST-MODIFIED:20040918T110815Z
    9.36 +X-NETBEANS-LINE:173
    9.37 +END:VTODO
    9.38 +
    9.39 +BEGIN:VTODO
    9.40 +UID:nb1095676734745.133@timpc/145.254.141.101
    9.41 +CREATED:20040920T103854Z
    9.42 +SUMMARY:D
    9.43 +PERCENT-COMPLETE:0
    9.44 +X-NETBEANS-EFFORT:60
    9.45 +X-NETBEANS-SPENT-TIME:0
    9.46 +LAST-MODIFIED:20040920T103856Z
    9.47 +RELATED-TO:nb1095505693929.165@timpc/127.0.0.1
    9.48 +END:VTODO
    9.49 +
    9.50 +BEGIN:VTODO
    9.51 +UID:nb1095676921433.136@timpc/145.254.141.101
    9.52 +CREATED:20040920T104201Z
    9.53 +SUMMARY:H
    9.54 +PERCENT-COMPLETE:0
    9.55 +X-NETBEANS-EFFORT:60
    9.56 +X-NETBEANS-SPENT-TIME:0
    9.57 +LAST-MODIFIED:20040920T104205Z
    9.58 +RELATED-TO:nb1095676734745.133@timpc/145.254.141.101
    9.59 +END:VTODO
    9.60 +
    9.61 +BEGIN:VTODO
    9.62 +UID:nb1095676738981.134@timpc/145.254.141.101
    9.63 +CREATED:20040920T103858Z
    9.64 +SUMMARY:E
    9.65 +PERCENT-COMPLETE:100
    9.66 +X-NETBEANS-EFFORT:60
    9.67 +X-NETBEANS-SPENT-TIME:0
    9.68 +LAST-MODIFIED:20040920T103914Z
    9.69 +RELATED-TO:nb1095676734745.133@timpc/145.254.141.101
    9.70 +END:VTODO
    9.71 +
    9.72 +BEGIN:VTODO
    9.73 +UID:nb1095505683514.163@timpc/127.0.0.1
    9.74 +CREATED:20040918T110803Z
    9.75 +SUMMARY:A
    9.76 +PERCENT-COMPLETE:0
    9.77 +X-NETBEANS-EFFORT:60
    9.78 +X-NETBEANS-SPENT-TIME:0
    9.79 +LAST-MODIFIED:20040918T110805Z
    9.80 +X-NETBEANS-LINE:173
    9.81 +END:VTODO
    9.82 +
    9.83 +BEGIN:VTODO
    9.84 +UID:nb1095505689522.164@timpc/127.0.0.1
    9.85 +CREATED:20040918T110809Z
    9.86 +SUMMARY:B
    9.87 +PERCENT-COMPLETE:100
    9.88 +X-NETBEANS-EFFORT:60
    9.89 +X-NETBEANS-SPENT-TIME:0
    9.90 +LAST-MODIFIED:20040920T103843Z
    9.91 +X-NETBEANS-LINE:173
    9.92 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
    9.93 +END:VTODO
    9.94 +
    9.95 +END:VCALENDAR
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test6.ics	Sat Oct 09 12:09:26 2004 +0000
    10.3 @@ -0,0 +1,92 @@
    10.4 +BEGIN:VCALENDAR
    10.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
    10.6 +VERSION:2.0
    10.7 +
    10.8 +BEGIN:VTODO
    10.9 +UID:nb1095505693929.165@timpc/127.0.0.1
   10.10 +CREATED:20040918T110813Z
   10.11 +SUMMARY:Test
   10.12 +PERCENT-COMPLETE:0
   10.13 +X-NETBEANS-EFFORT:60
   10.14 +X-NETBEANS-SPENT-TIME:0
   10.15 +LAST-MODIFIED:20040921T113206Z
   10.16 +END:VTODO
   10.17 +
   10.18 +BEGIN:VTODO
   10.19 +UID:nb1095676734745.133@timpc/145.254.141.101
   10.20 +CREATED:20040920T103854Z
   10.21 +SUMMARY:D
   10.22 +PERCENT-COMPLETE:0
   10.23 +X-NETBEANS-EFFORT:60
   10.24 +X-NETBEANS-SPENT-TIME:0
   10.25 +LAST-MODIFIED:20040920T103856Z
   10.26 +RELATED-TO:nb1095505693929.165@timpc/127.0.0.1
   10.27 +END:VTODO
   10.28 +
   10.29 +BEGIN:VTODO
   10.30 +UID:nb1095676921433.136@timpc/145.254.141.101
   10.31 +CREATED:20040920T104201Z
   10.32 +SUMMARY:H
   10.33 +PERCENT-COMPLETE:0
   10.34 +X-NETBEANS-EFFORT:60
   10.35 +X-NETBEANS-SPENT-TIME:0
   10.36 +LAST-MODIFIED:20040920T104205Z
   10.37 +RELATED-TO:nb1095676734745.133@timpc/145.254.141.101
   10.38 +END:VTODO
   10.39 +
   10.40 +BEGIN:VTODO
   10.41 +UID:nb1095676738981.134@timpc/145.254.141.101
   10.42 +CREATED:20040920T103858Z
   10.43 +SUMMARY:E
   10.44 +PERCENT-COMPLETE:100
   10.45 +X-NETBEANS-EFFORT:60
   10.46 +X-NETBEANS-SPENT-TIME:0
   10.47 +LAST-MODIFIED:20040920T103914Z
   10.48 +RELATED-TO:nb1095676734745.133@timpc/145.254.141.101
   10.49 +END:VTODO
   10.50 +
   10.51 +BEGIN:VTODO
   10.52 +UID:nb1095505683514.163@timpc/127.0.0.1
   10.53 +CREATED:20040918T110803Z
   10.54 +SUMMARY:Colors
   10.55 +PERCENT-COMPLETE:0
   10.56 +X-NETBEANS-EFFORT:60
   10.57 +X-NETBEANS-SPENT-TIME:0
   10.58 +LAST-MODIFIED:20040921T113447Z
   10.59 +END:VTODO
   10.60 +
   10.61 +BEGIN:VTODO
   10.62 +UID:nb1095766343623.138@timpc/127.0.0.1
   10.63 +CREATED:20040921T113223Z
   10.64 +SUMMARY:G
   10.65 +PERCENT-COMPLETE:0
   10.66 +X-NETBEANS-EFFORT:60
   10.67 +X-NETBEANS-SPENT-TIME:1
   10.68 +LAST-MODIFIED:20040921T113443Z
   10.69 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   10.70 +END:VTODO
   10.71 +
   10.72 +BEGIN:VTODO
   10.73 +UID:nb1095766338986.137@timpc/127.0.0.1
   10.74 +CREATED:20040921T113218Z
   10.75 +SUMMARY:R
   10.76 +PERCENT-COMPLETE:0
   10.77 +X-NETBEANS-EFFORT:60
   10.78 +X-NETBEANS-SPENT-TIME:0
   10.79 +LAST-MODIFIED:20040921T113219Z
   10.80 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   10.81 +END:VTODO
   10.82 +
   10.83 +BEGIN:VTODO
   10.84 +UID:nb1095505689522.164@timpc/127.0.0.1
   10.85 +CREATED:20040918T110809Z
   10.86 +SUMMARY:B
   10.87 +PERCENT-COMPLETE:100
   10.88 +X-NETBEANS-EFFORT:60
   10.89 +X-NETBEANS-SPENT-TIME:0
   10.90 +LAST-MODIFIED:20040920T103843Z
   10.91 +X-NETBEANS-LINE:173
   10.92 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   10.93 +END:VTODO
   10.94 +
   10.95 +END:VCALENDAR
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test7.ics	Sat Oct 09 12:09:26 2004 +0000
    11.3 @@ -0,0 +1,102 @@
    11.4 +BEGIN:VCALENDAR
    11.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
    11.6 +VERSION:2.0
    11.7 +
    11.8 +BEGIN:VTODO
    11.9 +UID:nb1095505693929.165@timpc/127.0.0.1
   11.10 +CREATED:20040918T110813Z
   11.11 +SUMMARY:Test
   11.12 +PERCENT-COMPLETE:100
   11.13 +X-NETBEANS-PROGRESS-COMPUTED:yes
   11.14 +X-NETBEANS-EFFORT:120
   11.15 +X-NETBEANS-EFFORT-COMPUTED:yes
   11.16 +X-NETBEANS-SPENT-TIME:0
   11.17 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
   11.18 +LAST-MODIFIED:20040921T113747Z
   11.19 +END:VTODO
   11.20 +
   11.21 +BEGIN:VTODO
   11.22 +UID:nb1095676734745.133@timpc/145.254.141.101
   11.23 +CREATED:20040920T103854Z
   11.24 +SUMMARY:D
   11.25 +PERCENT-COMPLETE:100
   11.26 +X-NETBEANS-PROGRESS-COMPUTED:yes
   11.27 +X-NETBEANS-EFFORT:120
   11.28 +X-NETBEANS-EFFORT-COMPUTED:yes
   11.29 +X-NETBEANS-SPENT-TIME:0
   11.30 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
   11.31 +LAST-MODIFIED:20040921T113742Z
   11.32 +RELATED-TO:nb1095505693929.165@timpc/127.0.0.1
   11.33 +END:VTODO
   11.34 +
   11.35 +BEGIN:VTODO
   11.36 +UID:nb1095676921433.136@timpc/145.254.141.101
   11.37 +CREATED:20040920T104201Z
   11.38 +SUMMARY:H
   11.39 +PERCENT-COMPLETE:100
   11.40 +X-NETBEANS-EFFORT:60
   11.41 +X-NETBEANS-SPENT-TIME:0
   11.42 +LAST-MODIFIED:20040921T113737Z
   11.43 +RELATED-TO:nb1095676734745.133@timpc/145.254.141.101
   11.44 +END:VTODO
   11.45 +
   11.46 +BEGIN:VTODO
   11.47 +UID:nb1095676738981.134@timpc/145.254.141.101
   11.48 +CREATED:20040920T103858Z
   11.49 +SUMMARY:E
   11.50 +PERCENT-COMPLETE:100
   11.51 +X-NETBEANS-EFFORT:60
   11.52 +X-NETBEANS-SPENT-TIME:0
   11.53 +LAST-MODIFIED:20040920T103914Z
   11.54 +RELATED-TO:nb1095676734745.133@timpc/145.254.141.101
   11.55 +END:VTODO
   11.56 +
   11.57 +BEGIN:VTODO
   11.58 +UID:nb1095505683514.163@timpc/127.0.0.1
   11.59 +CREATED:20040918T110803Z
   11.60 +SUMMARY:Colors
   11.61 +PERCENT-COMPLETE:52
   11.62 +X-NETBEANS-PROGRESS-COMPUTED:yes
   11.63 +X-NETBEANS-EFFORT:180
   11.64 +X-NETBEANS-EFFORT-COMPUTED:yes
   11.65 +X-NETBEANS-SPENT-TIME:15
   11.66 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
   11.67 +LAST-MODIFIED:20040921T113714Z
   11.68 +END:VTODO
   11.69 +
   11.70 +BEGIN:VTODO
   11.71 +UID:nb1095766343623.138@timpc/127.0.0.1
   11.72 +CREATED:20040921T113223Z
   11.73 +SUMMARY:G
   11.74 +PERCENT-COMPLETE:25
   11.75 +X-NETBEANS-PROGRESS-COMPUTED:yes
   11.76 +X-NETBEANS-EFFORT:60
   11.77 +X-NETBEANS-SPENT-TIME:15
   11.78 +LAST-MODIFIED:20040921T113714Z
   11.79 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   11.80 +END:VTODO
   11.81 +
   11.82 +BEGIN:VTODO
   11.83 +UID:nb1095766338986.137@timpc/127.0.0.1
   11.84 +CREATED:20040921T113218Z
   11.85 +SUMMARY:R
   11.86 +PERCENT-COMPLETE:30
   11.87 +X-NETBEANS-EFFORT:60
   11.88 +X-NETBEANS-SPENT-TIME:0
   11.89 +LAST-MODIFIED:20040921T113649Z
   11.90 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   11.91 +END:VTODO
   11.92 +
   11.93 +BEGIN:VTODO
   11.94 +UID:nb1095505689522.164@timpc/127.0.0.1
   11.95 +CREATED:20040918T110809Z
   11.96 +SUMMARY:B
   11.97 +PERCENT-COMPLETE:100
   11.98 +X-NETBEANS-EFFORT:60
   11.99 +X-NETBEANS-SPENT-TIME:0
  11.100 +LAST-MODIFIED:20040920T103843Z
  11.101 +X-NETBEANS-LINE:173
  11.102 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
  11.103 +END:VTODO
  11.104 +
  11.105 +END:VCALENDAR
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test8.ics	Sat Oct 09 12:09:26 2004 +0000
    12.3 @@ -0,0 +1,53 @@
    12.4 +BEGIN:VCALENDAR
    12.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
    12.6 +VERSION:2.0
    12.7 +
    12.8 +BEGIN:VTODO
    12.9 +UID:nb1095505683514.163@timpc/127.0.0.1
   12.10 +CREATED:20040918T110803Z
   12.11 +SUMMARY:Colors
   12.12 +PERCENT-COMPLETE:52
   12.13 +X-NETBEANS-PROGRESS-COMPUTED:yes
   12.14 +X-NETBEANS-EFFORT:180
   12.15 +X-NETBEANS-EFFORT-COMPUTED:yes
   12.16 +X-NETBEANS-SPENT-TIME:15
   12.17 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
   12.18 +LAST-MODIFIED:20040923T112422Z
   12.19 +END:VTODO
   12.20 +
   12.21 +BEGIN:VTODO
   12.22 +UID:nb1095766343623.138@timpc/127.0.0.1
   12.23 +CREATED:20040921T113223Z
   12.24 +SUMMARY:G
   12.25 +PERCENT-COMPLETE:25
   12.26 +X-NETBEANS-PROGRESS-COMPUTED:yes
   12.27 +X-NETBEANS-EFFORT:60
   12.28 +X-NETBEANS-SPENT-TIME:15
   12.29 +LAST-MODIFIED:20040921T113714Z
   12.30 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   12.31 +END:VTODO
   12.32 +
   12.33 +BEGIN:VTODO
   12.34 +UID:nb1095766338986.137@timpc/127.0.0.1
   12.35 +CREATED:20040921T113218Z
   12.36 +SUMMARY:R
   12.37 +PERCENT-COMPLETE:30
   12.38 +X-NETBEANS-EFFORT:60
   12.39 +X-NETBEANS-SPENT-TIME:0
   12.40 +LAST-MODIFIED:20040921T113649Z
   12.41 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   12.42 +END:VTODO
   12.43 +
   12.44 +BEGIN:VTODO
   12.45 +UID:nb1095505689522.164@timpc/127.0.0.1
   12.46 +CREATED:20040918T110809Z
   12.47 +SUMMARY:B
   12.48 +PERCENT-COMPLETE:100
   12.49 +X-NETBEANS-EFFORT:60
   12.50 +X-NETBEANS-SPENT-TIME:0
   12.51 +LAST-MODIFIED:20040920T103843Z
   12.52 +X-NETBEANS-LINE:173
   12.53 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
   12.54 +END:VTODO
   12.55 +
   12.56 +END:VCALENDAR
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/tasklist.usertasks/test/qa-functional/data/SampleApp/ics/test9.ics	Sat Oct 09 12:09:26 2004 +0000
    13.3 @@ -0,0 +1,145 @@
    13.4 +BEGIN:VCALENDAR
    13.5 +PRODID:-//NetBeans tasklist//NONSGML 1.0//EN
    13.6 +VERSION:2.0
    13.7 +
    13.8 +BEGIN:VTODO
    13.9 +UID:nb1096053304335.216@timpc/127.0.0.1
   13.10 +CREATED:20040924T191504Z
   13.11 +SUMMARY:Music
   13.12 +PERCENT-COMPLETE:0
   13.13 +X-NETBEANS-PROGRESS-COMPUTED:yes
   13.14 +X-NETBEANS-EFFORT:180
   13.15 +X-NETBEANS-EFFORT-COMPUTED:yes
   13.16 +X-NETBEANS-SPENT-TIME:0
   13.17 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
   13.18 +LAST-MODIFIED:20040924T191607Z
   13.19 +END:VTODO
   13.20 +
   13.21 +BEGIN:VTODO
   13.22 +UID:nb1096053321790.219@timpc/127.0.0.1
   13.23 +CREATED:20040924T191521Z
   13.24 +SUMMARY:techno
   13.25 +PERCENT-COMPLETE:0
   13.26 +X-NETBEANS-EFFORT:60
   13.27 +X-NETBEANS-SPENT-TIME:0
   13.28 +LAST-MODIFIED:20040924T191523Z
   13.29 +RELATED-TO:nb1096053304335.216@timpc/127.0.0.1
   13.30 +END:VTODO
   13.31 +
   13.32 +BEGIN:VTODO
   13.33 +UID:nb1096053317845.218@timpc/127.0.0.1
   13.34 +CREATED:20040924T191517Z
   13.35 +SUMMARY:pop
   13.36 +PERCENT-COMPLETE:0
   13.37 +X-NETBEANS-EFFORT:60
   13.38 +X-NETBEANS-SPENT-TIME:0
   13.39 +LAST-MODIFIED:20040924T191519Z
   13.40 +RELATED-TO:nb1096053304335.216@timpc/127.0.0.1
   13.41 +END:VTODO
   13.42 +
   13.43 +BEGIN:VTODO
   13.44 +UID:nb1096053313639.217@timpc/127.0.0.1
   13.45 +CREATED:20040924T191513Z
   13.46 +SUMMARY:rock
   13.47 +PERCENT-COMPLETE:0
   13.48 +X-NETBEANS-EFFORT:60
   13.49 +X-NETBEANS-SPENT-TIME:0
   13.50 +LAST-MODIFIED:20040924T191515Z
   13.51 +RELATED-TO:nb1096053304335.216@timpc/127.0.0.1
   13.52 +END:VTODO
   13.53 +
   13.54 +BEGIN:VTODO
   13.55 +UID:nb1096053295202.215@timpc/127.0.0.1
   13.56 +CREATED:20040924T191455Z
   13.57 +SUMMARY:Lights
   13.58 +PERCENT-COMPLETE:0
   13.59 +X-NETBEANS-PROGRESS-COMPUTED:yes
   13.60 +X-NETBEANS-EFFORT:180
   13.61 +X-NETBEANS-EFFORT-COMPUTED:yes
   13.62 +X-NETBEANS-SPENT-TIME:0
   13.63 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
   13.64 +LAST-MODIFIED:20040924T191601Z
   13.65 +END:VTODO
   13.66 +
   13.67 +BEGIN:VTODO
   13.68 +UID:nb1096053335250.222@timpc/127.0.0.1
   13.69 +CREATED:20040924T191535Z
   13.70 +SUMMARY:yellow
   13.71 +PERCENT-COMPLETE:0
   13.72 +X-NETBEANS-EFFORT:60
   13.73 +X-NETBEANS-SPENT-TIME:0
   13.74 +LAST-MODIFIED:20040924T191537Z
   13.75 +RELATED-TO:nb1096053295202.215@timpc/127.0.0.1
   13.76 +END:VTODO
   13.77 +
   13.78 +BEGIN:VTODO
   13.79 +UID:nb1096053331444.221@timpc/127.0.0.1
   13.80 +CREATED:20040924T191531Z
   13.81 +SUMMARY:green
   13.82 +PERCENT-COMPLETE:0
   13.83 +X-NETBEANS-EFFORT:60
   13.84 +X-NETBEANS-SPENT-TIME:0
   13.85 +LAST-MODIFIED:20040924T191533Z
   13.86 +RELATED-TO:nb1096053295202.215@timpc/127.0.0.1
   13.87 +END:VTODO
   13.88 +
   13.89 +BEGIN:VTODO
   13.90 +UID:nb1096053327519.220@timpc/127.0.0.1
   13.91 +CREATED:20040924T191527Z
   13.92 +SUMMARY:red
   13.93 +PERCENT-COMPLETE:0
   13.94 +X-NETBEANS-EFFORT:60
   13.95 +X-NETBEANS-SPENT-TIME:0
   13.96 +LAST-MODIFIED:20040924T191529Z
   13.97 +RELATED-TO:nb1096053295202.215@timpc/127.0.0.1
   13.98 +END:VTODO
   13.99 +
  13.100 +BEGIN:VTODO
  13.101 +UID:nb1095505683514.163@timpc/127.0.0.1
  13.102 +CREATED:20040918T110803Z
  13.103 +SUMMARY:Colors
  13.104 +PERCENT-COMPLETE:18
  13.105 +X-NETBEANS-PROGRESS-COMPUTED:yes
  13.106 +X-NETBEANS-EFFORT:180
  13.107 +X-NETBEANS-EFFORT-COMPUTED:yes
  13.108 +X-NETBEANS-SPENT-TIME:15
  13.109 +X-NETBEANS-SPENT-TIME-COMPUTED:yes
  13.110 +LAST-MODIFIED:20040924T191557Z
  13.111 +END:VTODO
  13.112 +
  13.113 +BEGIN:VTODO
  13.114 +UID:nb1095766343623.138@timpc/127.0.0.1
  13.115 +CREATED:20040921T113223Z
  13.116 +SUMMARY:G
  13.117 +PERCENT-COMPLETE:25
  13.118 +X-NETBEANS-PROGRESS-COMPUTED:yes
  13.119 +X-NETBEANS-EFFORT:60
  13.120 +X-NETBEANS-SPENT-TIME:15
  13.121 +LAST-MODIFIED:20040921T113714Z
  13.122 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
  13.123 +END:VTODO
  13.124 +
  13.125 +BEGIN:VTODO
  13.126 +UID:nb1095766338986.137@timpc/127.0.0.1
  13.127 +CREATED:20040921T113218Z
  13.128 +SUMMARY:R
  13.129 +PERCENT-COMPLETE:30
  13.130 +X-NETBEANS-EFFORT:60
  13.131 +X-NETBEANS-SPENT-TIME:0
  13.132 +LAST-MODIFIED:20040921T113649Z
  13.133 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
  13.134 +END:VTODO
  13.135 +
  13.136 +BEGIN:VTODO
  13.137 +UID:nb1095505689522.164@timpc/127.0.0.1
  13.138 +CREATED:20040918T110809Z
  13.139 +SUMMARY:B
  13.140 +PERCENT-COMPLETE:0
  13.141 +X-NETBEANS-EFFORT:60
  13.142 +X-NETBEANS-SPENT-TIME:0
  13.143 +LAST-MODIFIED:20040924T191557Z
  13.144 +X-NETBEANS-LINE:173
  13.145 +RELATED-TO:nb1095505683514.163@timpc/127.0.0.1
  13.146 +END:VTODO
  13.147 +
  13.148 +END:VCALENDAR
    14.1 --- a/tasklist.usertasks/test/qa-functional/testCases.html	Fri Oct 08 16:46:39 2004 +0000
    14.2 +++ b/tasklist.usertasks/test/qa-functional/testCases.html	Sat Oct 09 12:09:26 2004 +0000
    14.3 @@ -96,12 +96,17 @@
    14.4      <li>"Music/Pop" still selected.</li>
    14.5    </ol>
    14.6    <li>-</li>
    14.7 -  <li>Expanded nodes should be restored after NB restart.</li>
    14.8 +  <li>Expanded nodes/selection/started task should be restored after NB
    14.9 +restart.</li>
   14.10    <ol>
   14.11      <li>Open test11.ics.</li>
   14.12      <li>Expand "Lights" and "Music".</li>
   14.13 +    <li>Start "Lights/Green"<br>
   14.14 +    </li>
   14.15 +    <li>Select "Colors"<br>
   14.16 +    </li>
   14.17      <li>Restart NB.</li>
   14.18 -    <li>"Lights" and "Music" should be expanded.<br>
   14.19 +    <li>Check selection, expanded nodes and started task.<br>
   14.20      </li>
   14.21    </ol>
   14.22  </ol>