1 /**************************************************************
2  *
3  * Licensed to the Apache Software Foundation (ASF) under one
4  * or more contributor license agreements.  See the NOTICE file
5  * distributed with this work for additional information
6  * regarding copyright ownership.  The ASF licenses this file
7  * to you under the Apache License, Version 2.0 (the
8  * "License"); you may not use this file except in compliance
9  * with the License.  You may obtain a copy of the License at
10  *
11  *   http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing,
14  * software distributed under the License is distributed on an
15  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16  * KIND, either express or implied.  See the License for the
17  * specific language governing permissions and limitations
18  * under the License.
19  *
20  *************************************************************/
21 
22 
23 
24 package ifc.java;
25 
26 import lib.MultiMethodTest;
27 import lib.Status;
28 import lib.StatusException;
29 
30 import com.sun.star.java.XJavaThreadRegister_11;
31 
32 /**
33 * Testing <code>com.sun.star.java.XJavaThreadRegister_11</code>
34 * interface methods :
35 * <ul>
36 *  <li><code> isThreadAttached()</code></li>
37 *  <li><code> registerThread()</code></li>
38 *  <li><code> revokeThread()</code></li>
39 * </ul> <p>
40 * <b> Nothing tested here. </b>
41 * @see com.sun.star.java.XJavaThreadRegister_11
42 */
43 public class _XJavaThreadRegister_11 extends MultiMethodTest {
44     public XJavaThreadRegister_11 oObj;
45 
after()46     protected void after() {
47         log.println("Skipping all XJavaThreadRegister_11 methods, since they"
48                 + " can't be tested in the context");
49         throw new StatusException(Status.skipped(true));
50     }
51 
_isThreadAttached()52     public void _isThreadAttached() {
53         // skipping the test
54         tRes.tested("isThreadAttached()", true);
55     }
56 
_registerThread()57     public void _registerThread() {
58         // skipping the test
59         tRes.tested("registerThread()", true);
60     }
61 
_revokeThread()62     public void _revokeThread() {
63         // skipping the test
64         tRes.tested("revokeThread()", true);
65     }
66 }
67