File: checkdoc.js

package info (click to toggle)
eclipse-platform 4.30-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 71,112 kB
  • sloc: java: 528,935; xml: 64,472; javascript: 4,902; jsp: 4,211; ansic: 870; makefile: 38
file content (29 lines) | stat: -rw-r--r-- 1,281 bytes parent folder | download | duplicates (5)
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
/*******************************************************************************
 * Copyright (c) 2009 IBM Corporation and others.
 *
 * This program and the accompanying materials 
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
 
 function ua_test_doc_record_links() {
    liveAction('org.eclipse.ua.tests.doc', 'org.eclipse.ua.tests.doc.internal.actions.VisitPageAction' ,window.location); 
    var lnk = document.links;
    for (var i = 0; i != lnk.length; i++) {
        liveAction('org.eclipse.ua.tests.doc', 'org.eclipse.ua.tests.doc.internal.actions.CheckLinkAction' ,document.links[i].href); 
    }  
}
         
function ua_test_doc_complete() {  
    liveAction('org.eclipse.ua.tests.doc', 'org.eclipse.ua.tests.doc.internal.actions.CheckLinkAction', 'ALL_PAGES_LOADED' );
}   
     
function ua_test_doc_check_links() {  
    liveAction('org.eclipse.ua.tests.doc', 'org.eclipse.ua.tests.doc.internal.actions.CheckLinkAction', 'CHECK_LINKS' );
}